public abstract class ByteStreamEvent extends EventObject
In order to accept an inbound byte stream, use accept(), which will return a ByteStreamSession.
To reject the byte stream, use reject(), which will return a <not-acceptable/> error to the sender.
ByteStreamListener,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
abstract ByteStreamSession |
accept()
Accepts the session.
|
String |
getSessionId()
Gets the session id.
|
abstract void |
reject()
Rejects the session.
|
getSource, toStringpublic final String getSessionId()
public abstract ByteStreamSession accept() throws IOException
IOException - If the byte stream session could not be established.public abstract void reject()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.