public class Session extends IQ
If a server supports sessions, it MUST include a session element in the stream features it advertises to a client after the completion of stream authentication. Upon being informed that session establishment is required by the server the client MUST establish a session if it desires to engage in instant messaging and presence functionality.
For more information refer to the following link.
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public java.lang.CharSequence getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ