public class Open
extends org.jivesoftware.smack.packet.IQ
| Constructor and Description |
|---|
Open(java.lang.String sessionID,
int blockSize)
Creates a new In-Band Bytestream open request packet.
|
Open(java.lang.String sessionID,
int blockSize,
InBandBytestreamManager.StanzaType stanza)
Creates a new In-Band Bytestream open request packet.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize()
Returns the block size in which the data will be fragmented.
|
java.lang.String |
getChildElementXML() |
java.lang.String |
getSessionID()
Returns the unique session ID identifying this In-Band Bytestream.
|
InBandBytestreamManager.StanzaType |
getStanza()
Returns the stanza type used to encapsulate the data.
|
createErrorResponse, createResultIQ, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toStringpublic Open(java.lang.String sessionID,
int blockSize,
InBandBytestreamManager.StanzaType stanza)
The data sent over this In-Band Bytestream will be fragmented in blocks with the given block size. The block size should not be greater than 65535. A recommended default value is 4096.
The data can be sent using IQ stanzas or message stanzas.
sessionID - unique session ID identifying this In-Band BytestreamblockSize - block size in which the data will be fragmentedstanza - stanza type used to encapsulate the datapublic Open(java.lang.String sessionID,
int blockSize)
The data sent over this In-Band Bytestream will be fragmented in blocks with the given block size. The block size should not be greater than 65535. A recommended default value is 4096.
The data will be sent using IQ stanzas.
sessionID - unique session ID identifying this In-Band BytestreamblockSize - block size in which the data will be fragmentedpublic java.lang.String getSessionID()
public int getBlockSize()
public InBandBytestreamManager.StanzaType getStanza()
public java.lang.String getChildElementXML()
getChildElementXML in class org.jivesoftware.smack.packet.IQ