Examples of toStringNoResource()


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

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

      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

Examples of nu.fw.jeti.jabber.JID.toStringNoResource()

      }
      else
      {
        JIDStatus j = backend.getJIDStatus(jid);
        if(j!=null) nick = j.getNick();
        else nick = jid.toStringNoResource();
        new VCardDisplay(personal,business,homeTels,workTels,nick);
      }
    }
    else if (iq.getType().equals("error"))
    {
View Full Code Here

Examples of nu.fw.jeti.jabber.JID.toStringNoResource()

        JID jid = log.getFrom();
        String name = null;
        JIDStatus jidStatus = Backend.getJIDStatus(jid);
        if (jidStatus != null)
        {
          if(jidStatus.getType().equals("unknown") || jidStatus.getType().equals("jabber"))name = jid.toStringNoResource();
          else name = jid.getUser() + "." + jidStatus.getType();
        }
        else name = jid.toStringNoResource();

        BufferedWriter writer = null;
View Full Code Here

Examples of nu.fw.jeti.jabber.JID.toStringNoResource()

        if (jidStatus != null)
        {
          if(jidStatus.getType().equals("unknown") || jidStatus.getType().equals("jabber"))name = jid.toStringNoResource();
          else name = jid.getUser() + "." + jidStatus.getType();
        }
        else name = jid.toStringNoResource();

        BufferedWriter writer = null;
        String file = Start.path + "newlogs" + File.separator + name + ".txt";
        try
        {
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.