|
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.xmpp.packet.Packet org.jivesoftware.openfire.multiplex.Route
public class Route
Route packets identify target sessions by their stream ID and contain a single wrapped stanza that should be processed by the target session.
Field Summary |
---|
Fields inherited from class org.xmpp.packet.Packet |
---|
docFactory, element, fromJID, toJID |
Constructor Summary | |
---|---|
Route(org.dom4j.Element element)
Constructs a new Route using an existing Element. |
|
Route(Route route)
|
|
Route(String streamID)
Constructs a new Route. |
Method Summary | |
---|---|
Route |
createCopy()
Returns a deep copy of this route packet. |
org.dom4j.Element |
getChildElement()
Returns the wrapped stanza that is being routed. |
String |
getStreamID()
Return the stream ID that identifies the connection that is actually sending the wrapped stanza. |
void |
setChildElement(org.dom4j.Element childElement)
Sets the wrapped stanza by this Route packet. |
Methods inherited from class org.xmpp.packet.Packet |
---|
addExtension, deleteExtension, getElement, getError, getExtension, getFrom, getID, getTo, setError, setError, setFrom, setFrom, setID, setTo, setTo, toString, toXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Route(String streamID)
streamID
- the stream ID that identifies the connection that is actually sending
the wrapped stanza.public Route(org.dom4j.Element element)
element
- the route Element.public Route(Route route)
Method Detail |
---|
public org.dom4j.Element getChildElement()
public void setChildElement(org.dom4j.Element childElement)
childElement
- the child element.public String getStreamID()
public Route createCopy()
createCopy
in class Packet
|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |