Package com.anzsoft.client.XMPP

Examples of com.anzsoft.client.XMPP.XmppID.toStringNoResource()


      {
        XmppID id = packet.getFromID();
        XmppVCard vcard = new XmppVCard();
        if(vcard.formXml(packet.toXML()))
        {
          vcards.put(id.toStringNoResource(), vcard);
          if(listener != null)
            listener.onVCard(id,vcard);
          fireOnVCard(id,vcard);
        }
      }
View Full Code Here


      public void onPresenceReceived(XmppPresence presence)
      {
        try
        {
          XmppID id = presence.getFromID();
          String jid = id.toStringNoResource();
          String type = presence.getType();
          if(type != null&&(type.equals("subscribe")||type.equals("subscribed")||type.equals("unsubscribe")||type.equals("unsubscribed")))
          {
            onSubscription(id,type,presence.getNick());
            return;
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.