org.jivesoftware.multiplexer
Interface PacketRouter
- All Known Implementing Classes:
- ServerRouter
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.
- Author:
- Gaston Dombiak
Method Summary |
void |
route(java.lang.String stanza,
java.lang.String streamID)
Routes the given packet based on its type. |
route
void route(java.lang.String stanza,
java.lang.String streamID)
- Routes the given packet based on its type.
- Parameters:
stanza
- The stanza to route.streamID
- The ID of the client's stream.
Copyright © 2003-2006 Jive Software.