org.jivesoftware.smackx.bytestreams.ibb.packet
Class Close
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.bytestreams.ibb.packet.Close
public class Close
- extends IQ
Represents a request to close an In-Band Bytestream.
- Author:
- Henning Staib
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
|
Constructor Summary |
Close(java.lang.String sessionID)
Creates a new In-Band Bytestream close request packet. |
|
Method Summary |
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one. |
java.lang.String |
getSessionID()
Returns the unique session ID identifying this In-Band Bytestream. |
| Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Close
public Close(java.lang.String sessionID)
- Creates a new In-Band Bytestream close request packet.
- Parameters:
sessionID - unique session ID identifying this In-Band Bytestream
getSessionID
public java.lang.String getSessionID()
- Returns the unique session ID identifying this In-Band Bytestream.
- Returns:
- the unique session ID identifying this In-Band Bytestream
getChildElementXML
public java.lang.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.