Package nu.fw.jeti.jabber.elements

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


        }
      }
      public void discoveryInfoResult(JID jid, DiscoveryInfo info) {}
    });
    output.send(new InfoQuery("get",new IQPrivate(new JetiPrivateExtension())));
    output.send(new InfoQuery("get",new IQXRoster()));
    if(show == Presence.NONE)
    {
      show = Presence.AVAILABLE;
      //status = Presence.toLongShow(show);
    }
View Full Code Here


      if (currentGroup != null)
      {
        //backend.changeGroup(jidStatus,currentGroup,group);
        groups.remove(currentGroup);
        groups.add(group);
        IQXRoster roster = new IQXRoster(new RosterItem(jidStatus.getJID(), jidStatus.getNick(), null, null, groups));
        backend.send(new InfoQuery("set", roster));
      } else
      {
        if (!jidStatus.isGroupPresent(group))
        {
          groups.add(group);
          IQXRoster roster = new IQXRoster(new RosterItem(jidStatus.getJID(), jidStatus.getNick(), null, null, groups));
          backend.send(new InfoQuery("set", roster));
          //backend.addGroup(jidStatus,group);
        }
      }
    }
View Full Code Here

TOP

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

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.