public interface RemotePacketRouter
Modifier and Type | Method and Description |
---|---|
void |
broadcastPacket(org.xmpp.packet.Message packet)
Brodcasts the specified message to all local client sessions of each cluster node.
|
boolean |
routePacket(byte[] nodeID,
org.xmpp.packet.JID receipient,
org.xmpp.packet.Packet packet)
Routes packet to specified receipient hosted in the specified node.
|
boolean routePacket(byte[] nodeID, org.xmpp.packet.JID receipient, org.xmpp.packet.Packet packet)
nodeID
- the ID of the node hosting the receipient.receipient
- the target entity that will get the packet.packet
- the packet to send.void broadcastPacket(org.xmpp.packet.Message packet)
packet
- the message to broadcast.Copyright © 2003-2008 Jive Software.