| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.bytestreams.ibb.packet.Open
public class Open
Represents a request to open an In-Band Bytestream.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ | 
|---|
| IQ.Type | 
| Field Summary | 
|---|
| Fields inherited from class org.jivesoftware.smack.packet.Packet | 
|---|
| DEFAULT_LANGUAGE, ID_NOT_AVAILABLE | 
| Constructor Summary | |
|---|---|
| Open(String sessionID,
     int blockSize)Creates a new In-Band Bytestream open request packet. | |
| Open(String sessionID,
     int blockSize,
     InBandBytestreamManager.StanzaType stanza)Creates a new In-Band Bytestream open request packet. | |
| Method Summary | |
|---|---|
|  int | getBlockSize()Returns the block size in which the data will be fragmented. | 
|  String | getChildElementXML()Returns the sub-element XML section of the IQ packet, or null if there isn't one. | 
|  String | getSessionID()Returns the unique session ID identifying this In-Band Bytestream. | 
|  InBandBytestreamManager.StanzaType | getStanza()Returns the stanza type used to encapsulate the data. | 
| Methods inherited from class org.jivesoftware.smack.packet.IQ | 
|---|
| createErrorResponse, createResultIQ, getType, setType, toXML | 
| Methods inherited from class org.jivesoftware.smack.packet.Packet | 
|---|
| addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Open(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 data
public Open(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 fragmented| Method Detail | 
|---|
public String getSessionID()
public int getBlockSize()
public InBandBytestreamManager.StanzaType getStanza()
public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||