Class InBandByteStream.Data
- java.lang.Object
-
- rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream
-
- rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream.Data
-
- Enclosing class:
- InBandByteStream
public static final class InBandByteStream.Data extends InBandByteStream
The implementation of the<data/>
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/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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Gets the bytes.int
getSequence()
Gets the sequence number.String
toString()
-
Methods inherited from class rocks.xmpp.extensions.bytestreams.ibb.model.InBandByteStream
getSessionId
-
-
-
-
Constructor Detail
-
Data
public Data(byte[] bytes, String sid, int seq)
Creates the<data/>
element.- Parameters:
bytes
- The bytes.sid
- The session id.seq
- The sequence number.
-
-