Examples of presenceChanged()


Examples of nu.fw.jeti.events.PresenceListener.presenceChanged()

  {
    //presence for groupchat eg
    PresenceListener presenceListener = backend.getPresenceListener(presence.getFrom());
    if(presenceListener != null)
    {
      presenceListener.presenceChanged(presence);
       return;
    }
   
    String type = presence.getType();
    if(!"error".equals(type))
View Full Code Here

Examples of nu.fw.jeti.plugins.groupchat.GroupchatWindow.presenceChanged()

            monitoring = false;
            awake =false;
            if(gcw==null)return;
            for(Iterator i = presences.values().iterator();i.hasNext();)
            {
              gcw.presenceChanged((Presence)i.next());
            }
            if(subject!=null)gcw.appendMessage(subject);
            messages.releaseMessages(gcw);
            groupchatWindow = gcw;
            deIconify();
View Full Code Here

Examples of nu.fw.jeti.plugins.groupchat.GroupchatWindow.presenceChanged()

    }
    else if(presence.getType().equals("error") && !monitoring)
    {
      GroupchatWindow gcw = Plugin.getGroupchat(jid);
      monitoring = false;
      gcw.presenceChanged(presence);
      return;
    }
    if(presence.getFrom().getResource()==null);//do nothing server presence
    else if(presence.getShow()==Presence.UNAVAILABLE)
    {
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.