|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(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. |
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
UnknownStanzaExceptionpublic void route(org.xmpp.packet.Packet packet)
PacketRouter
route in interface PacketRouterpacket - The packet to route.public void route(org.xmpp.packet.IQ packet)
PacketRouter
route in interface PacketRouterpacket - The packet to route.public void route(org.xmpp.packet.Message packet)
PacketRouter
route in interface PacketRouterpacket - The packet to route.public void route(org.xmpp.packet.Presence packet)
PacketRouter
route in interface PacketRouterpacket - The packet to route.
|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||