Smack

org.jivesoftware.smackx.pubsub.packet
Class SyncPacketSend

java.lang.Object
  extended by org.jivesoftware.smackx.pubsub.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 Packet getReply(Connection connection, Packet packet)
           
static Packet getReply(Connection connection, Packet packet, long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Smack

Copyright © 2003-2007 Jive Software.