public final class InBandByteStreamManager extends ByteStreamManager
To initiate an IBB session with another entity, use initiateSession(Jid, String, int).
This class is thread-safe.
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<ByteStreamSession> |
initiateSession(rocks.xmpp.addr.Jid receiver,
String sessionId,
int blockSize)
Initiates an in-band byte stream session.
|
addByteStreamListener, removeByteStreamListenerisEnabled, setEnabledpublic final AsyncResult<ByteStreamSession> initiateSession(rocks.xmpp.addr.Jid receiver, String sessionId, int blockSize)
receiver - The receiver.sessionId - The session id.blockSize - The block size.Copyright © 2014–2017 XMPP.rocks. All rights reserved.