org.jivesoftware.smackx.packet
Class SyncPacketSend
java.lang.Object
org.jivesoftware.smackx.packet.SyncPacketSend
public final class SyncPacketSend
- extends java.lang.Object
Utility class for doing synchronous calls to the server. Provides several
methods for sending a packet to the server and waiting for the reply.
- Author:
- Robin Collier
Method Summary |
static org.jivesoftware.smack.packet.Packet |
getReply(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smack.packet.Packet packet)
|
static org.jivesoftware.smack.packet.Packet |
getReply(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smack.packet.Packet packet,
long timeout)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getReply
public static org.jivesoftware.smack.packet.Packet getReply(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smack.packet.Packet packet,
long timeout)
throws org.jivesoftware.smack.XMPPException
- Throws:
org.jivesoftware.smack.XMPPException
getReply
public static org.jivesoftware.smack.packet.Packet getReply(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smack.packet.Packet packet)
throws org.jivesoftware.smack.XMPPException
- Throws:
org.jivesoftware.smack.XMPPException