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

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


    }

    public void bindResource(final String resource) {
  final IQ iq = new IQ(IQ.Type.set);
  iq.setId("bind-resource");
  iq.addChild("bind", "urn:ietf:params:xml:ns:xmpp-bind").addChild("resource", null).setText(resource);

  connection.send(iq);
    }

    public void onBinded(final Listener<XmppURI> listener) {
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.