Examples of XmppInfoQueryListener


Examples of com.anzsoft.client.XMPP.XmppInfoQueryListener

  public Map<String,Element> disco = new HashMap<String,Element>();
  private int info_id = 0;
  public ServiceDiscovery(final XmppSession session)
  {
    this.session = session;
    discoListener = new XmppInfoQueryListener()
    {
      public void onInfoQueryReceived(XmppPacket packet)
      {
        if(packet.getType().equals("result"))
        {
View Full Code Here

Examples of com.anzsoft.client.XMPP.XmppInfoQueryListener

    public Map<String,XmppContact> contacts = new HashMap<String, XmppContact>();
    private final HandlerCollection /* <RosterEventHandler> */rosterListeners = new HandlerCollection();
    public XmppRoster(final XmppSession session)
    {
      this.session = session;
      rosterListener = new XmppInfoQueryListener(){
      public void onInfoQueryReceived(XmppPacket packet)
      {
        if(!packet.getID().equalsIgnoreCase("roster_1")||!packet.getType().equalsIgnoreCase("result"))
        {
          return;
View Full Code Here

Examples of com.anzsoft.client.XMPP.XmppInfoQueryListener

    public Map<String,XmppContact> contacts = new HashMap<String, XmppContact>();
   
    public XmppPushRoster(final XmppSession session)
    {
      this.session = session;
      rosterListener = new XmppInfoQueryListener()
      {

      public void onInfoQueryReceived(XmppPacket packet)
      {
        if(!packet.getType().equals("set")||packet.getID().equals("roster_1"))
View Full Code Here

Examples of com.anzsoft.client.XMPP.XmppInfoQueryListener

  protected final String m_id;
  public XmppTask(final XmppSession session)
  {
    this.session = session;
    this.m_id = TextUtils.genUniqueId();
    queryListener = new XmppInfoQueryListener()
    {
      public void onInfoQueryReceived(XmppPacket packet)
      {
        take(packet);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.