Class InBandByteStreamsTransportMethod
- java.lang.Object
-
- rocks.xmpp.extensions.jingle.transports.model.TransportMethod
-
- rocks.xmpp.extensions.jingle.transports.ibb.model.InBandByteStreamsTransportMethod
-
public final class InBandByteStreamsTransportMethod extends TransportMethod
The implementation of the<transport/>
element in theurn:xmpp:jingle:transports:ibb:1
namespace.
-
-
Constructor Summary
Constructors Constructor Description InBandByteStreamsTransportMethod(int blockSize, String sessionId)
InBandByteStreamsTransportMethod(int blockSize, String sessionId, InBandByteStream.Open.StanzaType stanzaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBlockSize()
Gets the block size of a data chunk.String
getSessionId()
Gets the IBB session id.InBandByteStream.Open.StanzaType
getStanzaType()
Gets the stanza type used to transfer data.String
toString()
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
urn:xmpp:jingle:transports:ibb:1- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InBandByteStreamsTransportMethod
public InBandByteStreamsTransportMethod(int blockSize, String sessionId)
-
InBandByteStreamsTransportMethod
public InBandByteStreamsTransportMethod(int blockSize, String sessionId, InBandByteStream.Open.StanzaType stanzaType)
-
-
Method Detail
-
getBlockSize
public final int getBlockSize()
Gets the block size of a data chunk.- Returns:
- The block size.
-
getSessionId
public final String getSessionId()
Gets the IBB session id.- Returns:
- The session id.
-
getStanzaType
public final InBandByteStream.Open.StanzaType getStanzaType()
Gets the stanza type used to transfer data.- Returns:
- The stanza type or null (which means IQ stanzas are used).
-
-