Package nu.fw.jeti.jabber.elements

Examples of nu.fw.jeti.jabber.elements.PresenceBuilder


      if(loginInfo == null) return;
      new LoginStatusWindow(loginInfo,backend,1);
    }
    else
    {
      PresenceBuilder pb = new PresenceBuilder();
      pb.show = show;
      pb.status = status;
      pb.priority = loginInfo.getPriority();
      Avatars avatars = getAvatarInterface();
      //pb.addExtension(capabilities.getCaps());
      if(avatars!=null)
      {
        pb.addExtension(avatars.addHash());
      }
      if(show!=Presence.UNAVAILABLE && openPGP!=null)
      {
        pb.addExtension(openPGP.signPresence(status));
      }
      try
      {
        send(pb.build());
      } catch (InstantiationException e)
      {
        e.printStackTrace();
      }
      for(Iterator<JETIListener> j = backend.getListeners(nu.fw.jeti.events.StatusChangeListener.class);j.hasNext();)
View Full Code Here

TOP

Related Classes of nu.fw.jeti.jabber.elements.PresenceBuilder

Copyright © 2018 www.massapicom. 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.