public final class InBandByteStreamManager extends ByteStreamManager
To initiate an IBB session with another entity, use initiateSession(rocks.xmpp.core.Jid, String, int).
This class is thread-safe.
| Modifier and Type | Method and Description |
|---|---|
ByteStreamSession |
initiateSession(Jid receiver,
String sessionId,
int blockSize)
Initiates an in-band byte stream session.
|
addByteStreamListener, removeByteStreamListenerisEnabled, setEnabledpublic final ByteStreamSession initiateSession(Jid receiver, String sessionId, int blockSize) throws XmppException
receiver - The receiver.sessionId - The session id.blockSize - The block size.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionCopyright © 2014–2015 XMPP.rocks. All rights reserved.