Lines Matching refs:IQ
28 import org.jivesoftware.smack.packet.IQ;
74 * <iq type='result' to='joe@example.com' from='mary@example.com' id='time_1'>
75 * <query xmlns='jabber:iq:private'>
81 * </iq></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());
212 else if (response.getType() == IQ.Type.ERROR) {
227 // Create an IQ packet to set the private data.
228 IQ privateDataSet = new IQ() {
231 buf.append("<query xmlns=\"jabber:iq:private\">");
237 privateDataSet.setType(IQ.Type.SET);
251 IQ response = (IQ)collector.nextResult(5000);
258 else if (response.getType() == IQ.Type.ERROR) {
277 * An IQ provider to parse IQ results containing private data.
280 public IQ parseIQ(XmlPullParser parser) throws Exception {
335 * An IQ packet to hold PrivateData GET results.
337 private static class PrivateDataResult extends IQ {
351 buf.append("<query xmlns=\"jabber:iq:private\">");