Class InBandByteStream.Open
- java.lang.Object
-
- rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream
-
- rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream.Open
-
- Enclosing class:
- InBandByteStream
public static final class InBandByteStream.Open extends InBandByteStream
The implementation of the<open/>element in thehttp://jabber.org/protocol/ibbnamespace.This class is immutable.
- See Also:
- XEP-0047: In-Band Bytestreams, XML Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInBandByteStream.Open.StanzaTypeThe stanza type to be used for IBB.-
Nested classes/interfaces inherited from class rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream
InBandByteStream.Close, InBandByteStream.Data, InBandByteStream.Open
-
-
Field Summary
-
Fields inherited from class rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream
NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Open(int blockSize, String sessionId)Creates the<open/>element.Open(int blockSize, String sessionId, InBandByteStream.Open.StanzaType stanzaType)Creates the<open/>element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBlockSize()Gets the block size;InBandByteStream.Open.StanzaTypegetStanzaType()Gets the stanza type.StringtoString()-
Methods inherited from class rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream
getSessionId
-
-
-
-
Constructor Detail
-
Open
public Open(int blockSize, String sessionId)Creates the<open/>element.- Parameters:
blockSize- The block size.sessionId- The session id.
-
Open
public Open(int blockSize, String sessionId, InBandByteStream.Open.StanzaType stanzaType)Creates the<open/>element.- Parameters:
blockSize- The block size.sessionId- The session id.stanzaType- The stanza type.
-
-
Method Detail
-
getBlockSize
public final int getBlockSize()
Gets the block size;- Returns:
- The block size.
-
getStanzaType
public final InBandByteStream.Open.StanzaType getStanzaType()
Gets the stanza type.- Returns:
- The stanza type.
-
-