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/ibb
namespace.This class is immutable.
- See Also:
- XEP-0047: In-Band Bytestreams, XML Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InBandByteStream.Open.StanzaType
The 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 int
getBlockSize()
Gets the block size;InBandByteStream.Open.StanzaType
getStanzaType()
Gets the stanza type.String
toString()
-
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.
-
-