Package com.calclab.emite.core.client.xmpp.stanzas

Examples of com.calclab.emite.core.client.xmpp.stanzas.IQ.Includes()


    public void requestSession(final XmppURI uri) {
  final IQ iq = new IQ(IQ.Type.set, uri.getHostURI());
  iq.setFrom(uri);
  iq.setAttribute("id", "im-session-request");
  iq.Includes("session", "urn:ietf:params:xml:ns:xmpp-session");

  connection.send(iq);
    }
}
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.