Package nu.fw.jeti.jabber.elements

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


      features.add(attr.getValue("var"));
    }
    else if(name.equals("identity"))
    {
      if(identities==null)identities = new LinkedList<DiscoIdentity>();
      identities.add(new DiscoIdentity(attr.getValue("category"),attr.getValue("type"),attr.getValue("name")));
    }
  }
View Full Code Here


   * @param iq the Infoquery packet
   * @param info The disco#info packet
   */
  public void answerInfoRequest(InfoQuery iq, IQDiscoInfo info){
    List identities = new LinkedList();
    identities.add(new DiscoIdentity("client","pc",null));
    IQDiscoInfo returnInfo = null;
    String node = info.getNode();
    if(("http://jeti.jabberstudio.org/caps#"+Start.VERSION).equals(node)){
      returnInfo = new IQDiscoInfo(info.getNode(),identities,coreFeatures);
    }
View Full Code Here

TOP

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

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.