HomeSort by relevance Sort by last modified time
    Searched refs:IQ (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/smack/src/org/jivesoftware/smack/packet/
Session.java 24 * IQ packet that will be sent to the server to establish a session.<p>
36 public class Session extends IQ {
39 setType(IQ.Type.SET);
IQ.java 26 * The base IQ (Info/Query) packet. IQ packets are used to get and set information
28 * accounts. Each IQ packet has a specific type that indicates what type of action
31 * IQ packets can contain a single child element that exists in a specific XML
33 * type of IQ packet it is. Some example IQ subpacket snippets:<ul>
35 * <li>&lt;query xmlns="jabber:iq:auth"&gt; -- an authentication IQ.
36 * <li>&lt;query xmlns="jabber:iq:private"&gt; -- a private storage IQ
    [all...]
Bind.java 24 * IQ packet used by Smack to bind a resource and to obtain the jid assigned by the server.
34 public class Bind extends IQ {
40 setType(IQ.Type.SET);
  /external/smack/src/org/jivesoftware/smack/filter/
IQTypeFilter.java 22 import org.jivesoftware.smack.packet.IQ;
26 * A filter for IQ packet types. Returns true only if the packet is an IQ packet
34 private IQ.Type type;
36 public IQTypeFilter(IQ.Type type) {
46 return (packet instanceof IQ && ((IQ) packet).getType().equals(type));
  /external/smack/src/org/jivesoftware/smack/provider/
IQProvider.java 23 import org.jivesoftware.smack.packet.IQ;
27 * An interface for parsing custom IQ packets. Each IQProvider must be registered with
36 * Parse the IQ sub-document and create an IQ instance. Each IQ must have a
38 * will be positioned at the opening tag of the IQ child element. At the end
43 * @return a new IQ instance.
46 public IQ parseIQ(XmlPullParser parser) throws Exception;
  /external/smack/src/org/jivesoftware/smackx/ping/packet/
Pong.java 19 import org.jivesoftware.smack.packet.IQ;
21 public class Pong extends IQ {
25 * the 'from' and 'to' attributes. And sets the IQ type to result.
30 setType(IQ.Type.RESULT);
Ping.java 19 import org.jivesoftware.smack.packet.IQ;
22 public class Ping extends IQ {
30 setType(IQ.Type.GET);
  /external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/packet/
Data.java 16 import org.jivesoftware.smack.packet.IQ;
20 * IQ stanza.
24 public class Data extends IQ {
42 * retrieved from IQ stanza and message stanza in the same way
45 setType(IQ.Type.SET);
Close.java 16 import org.jivesoftware.smack.packet.IQ;
24 public class Close extends IQ {
  /external/smack/src/org/jivesoftware/smackx/workgroup/packet/
DepartQueuePacket.java 22 import org.jivesoftware.smack.packet.IQ;
25 * A IQ packet used to depart a workgroup queue. There are two cases for issuing a depart
35 public class DepartQueuePacket extends IQ {
59 setType(IQ.Type.SET);
  /external/clang/test/CodeGenCXX/
nested-base-member-access.cpp 13 Q(int i){ iQ = i; }
14 int iQ;
15 void QPR() { printf("iQ = %d\n", iQ); }
18 struct IQ {
19 IQ(int i) { iIQ = i; }
24 struct L : IQ {
25 L(int i) : IQ(i+100) { iL = i; }
43 printf("iQ = %d\n", iQ);
    [all...]
  /external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/provider/
CloseIQProvider.java 16 import org.jivesoftware.smack.packet.IQ;
28 public IQ parseIQ(XmlPullParser parser) throws Exception {
OpenIQProvider.java 16 import org.jivesoftware.smack.packet.IQ;
29 public IQ parseIQ(XmlPullParser parser) throws Exception {
36 stanza = StanzaType.IQ;
  /external/smack/src/org/jivesoftware/smackx/ping/provider/
PingProvider.java 19 import org.jivesoftware.smack.packet.IQ;
26 public IQ parseIQ(XmlPullParser parser) throws Exception {
27 // No need to use the ping constructor with arguments. IQ will already
  /external/smack/src/org/jivesoftware/smack/
AccountManager.java 27 import org.jivesoftware.smack.packet.IQ;
53 * was advertised from the server then try sending an IQ packet to discover if In-Band
70 * then try sending an IQ packet to discover if In-Band Registration is available.
91 // indicating that it supports creating new accounts) so send an IQ packet as a way
96 accountCreationSupported = info.getType() != IQ.Type.ERROR;
227 reg.setType(IQ.Type.SET);
233 new PacketTypeFilter(IQ.class));
236 IQ result = (IQ)collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
242 else if (result.getType() == IQ.Type.ERROR)
    [all...]
NonSASLAuthentication.java 25 import org.jivesoftware.smack.packet.IQ;
63 discoveryAuth.setType(IQ.Type.GET);
71 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
76 else if (response.getType() == IQ.Type.ERROR) {
104 response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
108 else if (response.getType() == IQ.Type.ERROR) {
126 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
130 else if (response.getType() == IQ.Type.ERROR) {
    [all...]
RosterGroup.java 24 import org.jivesoftware.smack.packet.IQ;
78 packet.setType(IQ.Type.SET);
172 packet.setType(IQ.Type.SET);
183 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
189 else if (response.getType() == IQ.Type.ERROR) {
214 packet.setType(IQ.Type.SET);
225 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
231 else if (response.getType() == IQ.Type.ERROR)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/carbons/
CarbonManager.java 30 import org.jivesoftware.smack.packet.IQ;
86 private IQ carbonsEnabledIQ(final boolean new_state) {
87 IQ setIQ = new IQ() {
92 setIQ.setType(IQ.Type.SET);
121 IQ setIQ = carbonsEnabledIQ(new_state);
125 IQ result = (IQ)packet;
126 if (result.getType() == IQ.Type.RESULT) {
138 * some time until the server replies to the IQ and returns true o
    [all...]
  /external/smack/src/org/jivesoftware/smackx/
SharedGroupManager.java 27 import org.jivesoftware.smack.packet.IQ;
52 info.setType(IQ.Type.GET);
61 IQ result = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
67 if (result.getType() == IQ.Type.ERROR) {
PrivateDataManager.java 28 import org.jivesoftware.smack.packet.IQ;
74 * &lt;iq type='result' to='joe@example.com' from='mary@example.com' id='time_1'&gt;
75 * &lt;query xmlns='jabber:iq:private'&gt;
81 * &lt;/iq&gt;</pre>
181 // Create an IQ packet to get the private data.
182 IQ privateDataGet = new IQ() {
185 buf.append("<query xmlns=\"jabber:iq:private\">");
191 privateDataGet.setType(IQ.Type.GET);
205 IQ response = (IQ)collector.nextResult(SmackConfiguration.getPacketReplyTimeout())
    [all...]
  /external/smack/src/org/jivesoftware/smackx/packet/
PEPPubSub.java 23 import org.jivesoftware.smack.packet.IQ;
33 public class PEPPubSub extends IQ {
60 * (which is not to be confused with the 'jabber:iq:roster' namespace
Version.java 23 import org.jivesoftware.smack.packet.IQ;
26 * A Version IQ packet, which is used by XMPP clients to discover version information
33 * timeRequest.setType(IQ.Type.GET);
43 * IQ result = (IQ)collector.nextResult(5000);
44 * if (result != null && result.getType() == IQ.Type.RESULT) {
51 public class Version extends IQ {
119 buf.append("<query xmlns=\"jabber:iq:version\">");
  /external/smack/src/org/jivesoftware/smackx/workgroup/agent/
OfferConfirmation.java 23 import org.jivesoftware.smack.packet.IQ;
28 public class OfferConfirmation extends IQ {
63 public IQ parseIQ(XmlPullParser parser) throws Exception {
98 private class NotifyServicePacket extends IQ {
103 this.setType(IQ.Type.RESULT);
  /external/smack/src/org/jivesoftware/smackx/pubsub/packet/
PubSub.java 16 import org.jivesoftware.smack.packet.IQ;
21 * The standard PubSub extension of an {@link IQ} packet. This is the topmost
27 public class PubSub extends IQ
85 * The XML representation will be inside of an iq packet like
88 * &lt;iq type='set' id="MlIpV-4" to="pubsub.gato.home" from="gato3@gato.home/Smack"&gt;
94 * &lt;/iq&gt;
  /external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/
InBandBytestreamManager.java 28 import org.jivesoftware.smack.packet.IQ;
44 * There are two ways to send data over an In-Band Bytestream. It could either use IQ stanzas to
45 * send data packets or message stanzas. If IQ stanzas are used every data packet is acknowledged by
82 * IQ stanza.
84 IQ,
152 /* listener that handles all incoming In-Band Bytestream IQ data packets */
168 private StanzaType stanza = StanzaType.IQ;
358 * Default is {@link StanzaType#IQ}. See <a
370 * The use of {@link StanzaType#IQ} is recommended. See <a
426 * Responses to the given IQ packet's sender with an XMPP error that an In-Band Bytestream is
    [all...]

Completed in 2796 milliseconds

1 2 3 4 5