public static final class InBandByteStream.Open extends InBandByteStream
The implementation of the <open/>
element in the http://jabber.org/protocol/ibb
namespace.
This class is immutable.
Modifier and Type | Class and Description |
---|---|
static class |
InBandByteStream.Open.StanzaType
The stanza type to be used for IBB.
|
InBandByteStream.Close, InBandByteStream.Data, InBandByteStream.Open
NAMESPACE
Constructor and Description |
---|
Open(int blockSize,
java.lang.String sessionId)
Creates the
<open/> element. |
Open(int blockSize,
java.lang.String sessionId,
InBandByteStream.Open.StanzaType stanzaType)
Creates the
<open/> element. |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize()
Gets the block size;
|
InBandByteStream.Open.StanzaType |
getStanzaType()
Gets the stanza type.
|
java.lang.String |
toString() |
getSessionId
public Open(int blockSize, java.lang.String sessionId)
Creates the <open/>
element.
blockSize
- The block size.sessionId
- The session id.public Open(int blockSize, java.lang.String sessionId, InBandByteStream.Open.StanzaType stanzaType)
Creates the <open/>
element.
blockSize
- The block size.sessionId
- The session id.stanzaType
- The stanza type.public final int getBlockSize()
Gets the block size;
public final InBandByteStream.Open.StanzaType getStanzaType()
Gets the stanza type.
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2019 XMPP.rocks. All rights reserved.