org.jivesoftware.smack.util
Class SyncPacketSend
java.lang.Object
org.jivesoftware.smack.util.SyncPacketSend
public final class SyncPacketSend
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getReply
public static Packet getReply(Connection connection,
Packet packet,
long timeout)
throws XMPPException
- Throws:
XMPPException
getReply
public static Packet getReply(Connection connection,
Packet packet)
throws XMPPException
- Throws:
XMPPException
Copyright © 2003-2007 Jive Software.