Searched refs:IQ (Results 1 - 25 of 121) sorted by relevance

12345

/external/smack/src/org/jivesoftware/smack/packet/
H A DSession.java24 * 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);
H A DIQ.java26 * 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.
37 * <li>&lt;pubsub xmlns="http://jabber.org/protocol/pubsub"&gt; -- a pubsub IQ.
42 public abstract class IQ extend class in inherits:Packet
46 public IQ() { method in class:IQ
50 public IQ(IQ iq) { method in class:IQ
[all...]
H A DBind.java24 * 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/
H A DIQTypeFilter.java22 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/
H A DIQProvider.java23 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/
H A DPong.java19 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);
H A DPing.java19 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/
H A DData.java16 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);
H A DClose.java16 import org.jivesoftware.smack.packet.IQ;
24 public class Close extends IQ {
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
H A DDepartQueuePacket.java22 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/
H A Dnested-base-member-access.cpp18 struct IQ { struct
19 IQ(int i) { iIQ = i; } function in struct:IQ
24 struct L : IQ {
25 L(int i) : IQ(i+100) { iL = i; }
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/provider/
H A DCloseIQProvider.java16 import org.jivesoftware.smack.packet.IQ;
28 public IQ parseIQ(XmlPullParser parser) throws Exception {
H A DOpenIQProvider.java16 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/
H A DPingProvider.java19 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/
H A DAccountManager.java27 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
[all...]
H A DNonSASLAuthentication.java25 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
[all...]
H A DRosterGroup.java24 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
[all...]
/external/smack/src/org/jivesoftware/smackx/carbons/
H A DCarbonManager.java30 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 an
[all...]
/external/smack/src/org/jivesoftware/smackx/
H A DSharedGroupManager.java27 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) {
H A DPrivateDataManager.java28 import org.jivesoftware.smack.packet.IQ;
181 // Create an IQ packet to get the private data.
182 IQ privateDataGet = new IQ() {
191 privateDataGet.setType(IQ.Type.GET);
205 IQ response = (IQ)collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
212 else if (response.getType() == IQ.Type.ERROR) {
227 // Create an IQ packet to set the private data.
228 IQ privateDataSe
[all...]
/external/smack/src/org/jivesoftware/smackx/packet/
H A DPEPPubSub.java23 import org.jivesoftware.smack.packet.IQ;
33 public class PEPPubSub extends IQ {
H A DVersion.java23 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 {
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
H A DOfferConfirmation.java23 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/
H A DPubSub.java16 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
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/
H A DInBandBytestreamManager.java28 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, enum constant in enum:InBandBytestreamManager.StanzaType
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 packe
[all...]

Completed in 268 milliseconds

12345