|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.SessionPacketRouter
public class SessionPacketRouter
Handles the routing of packets to a particular session. It will invoke all of the appropriate interceptors, before and after having the server process the message.
Constructor Summary | |
---|---|
SessionPacketRouter(LocalClientSession session)
|
Method Summary | |
---|---|
void |
route(org.dom4j.Element wrappedElement)
|
void |
route(IQ packet)
Routes the given IQ packet. |
void |
route(Message packet)
Routes the given Message packet. |
void |
route(Packet packet)
Routes the given packet based on its type. |
void |
route(Presence packet)
Routes the given Presence packet. |
void |
setSkipJIDValidation(boolean skipJIDValidation)
Sets if TO addresses of Elements being routed should be validated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionPacketRouter(LocalClientSession session)
Method Detail |
---|
public void setSkipJIDValidation(boolean skipJIDValidation)
By default validation is enabled.
skipJIDValidation
- true if validation of TO address is enabled.public void route(org.dom4j.Element wrappedElement) throws UnsupportedEncodingException, UnknownStanzaException
UnsupportedEncodingException
UnknownStanzaException
public void route(Packet packet)
PacketRouter
route
in interface PacketRouter
packet
- The packet to route.public void route(IQ packet)
PacketRouter
route
in interface PacketRouter
packet
- The packet to route.public void route(Message packet)
PacketRouter
route
in interface PacketRouter
packet
- The packet to route.public void route(Presence packet)
PacketRouter
route
in interface PacketRouter
packet
- The packet to route.
|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |