org.jivesoftware.smack.packet
Class Session
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smack.packet.Session
public class Session
- extends IQ
IQ packet that will be sent to the server to establish a session.
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.
- Author:
- Gaston Dombiak
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Method Summary |
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one. |
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, deleteProperty, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, removeExtension, setError, setFrom, setPacketID, setProperty, setTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Session
public Session()
getChildElementXML
public String getChildElementXML()
- Description copied from class:
IQ
- Returns the sub-element XML section of the IQ packet, or null if there
isn't one. Packet extensions must be included, if any are defined.
Extensions of this class must override this method.
- Specified by:
getChildElementXML
in class IQ
- Returns:
- the child element section of the IQ XML.
Copyright © 2003-2007 Jive Software.