public final class InBandByteStreamManager extends ByteStreamManager
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
ByteStreamSession |
initiateSession(rocks.xmpp.core.Jid receiver,
String sessionId,
int blockSize)
Initiates an in-band byte stream session.
|
addByteStreamListener, notifyByteStreamEvent, removeByteStreamListenersetEnabledpublic ByteStreamSession initiateSession(rocks.xmpp.core.Jid receiver, String sessionId, int blockSize) throws rocks.xmpp.core.XmppException
receiver - The receiver.sessionId - The session id.blockSize - The block size.rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionCopyright © 2014 XMPP.rocks. All rights reserved.