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.
| Modifier and Type | Method and Description |
|---|---|
abstract AsyncResult<ByteStreamSession> |
accept()
Accepts the session.
|
String |
getSessionId()
Gets the session id.
|
abstract void |
reject()
Rejects the session.
|
getSource, toStringpublic final String getSessionId()
public abstract AsyncResult<ByteStreamSession> accept()
public abstract void reject()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.