public class OutgoingSessionPromise extends Object implements RoutableChannelHandler
Modifier and Type | Method and Description |
---|---|
org.xmpp.packet.JID |
getAddress()
Returns the XMPP address.
|
static OutgoingSessionPromise |
getInstance() |
void |
process(org.xmpp.packet.Packet packet)
Process an XMPP packet.
|
void |
shutdown()
Shuts down the thread that consumes the queued packets and also stops the pool
of threads that actually send the packets to the remote servers.
|
public static OutgoingSessionPromise getInstance()
public void shutdown()
public org.xmpp.packet.JID getAddress()
RoutableChannelHandler
getAddress
in interface RoutableChannelHandler
public void process(org.xmpp.packet.Packet packet)
ChannelHandler
process
in interface ChannelHandler<org.xmpp.packet.Packet>
packet
- a packet to process.Copyright © 2003-2008 Jive Software.