|
Openfire 3.7.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PacketRouter
A router that handles incoming packets. Packets will be routed to their corresponding handler. A router is much like a forwarded with some logic to figute out who is the target for each packet.
Method Summary | |
---|---|
void |
route(org.xmpp.packet.IQ packet)
Routes the given IQ packet. |
void |
route(org.xmpp.packet.Message packet)
Routes the given Message packet. |
void |
route(org.xmpp.packet.Packet packet)
Routes the given packet based on its type. |
void |
route(org.xmpp.packet.Presence packet)
Routes the given Presence packet. |
Method Detail |
---|
void route(org.xmpp.packet.Packet packet)
packet
- The packet to route.void route(org.xmpp.packet.IQ packet)
packet
- The packet to route.void route(org.xmpp.packet.Message packet)
packet
- The packet to route.void route(org.xmpp.packet.Presence packet)
packet
- The packet to route.
|
Openfire 3.7.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |