public abstract class ByteStreamEvent
extends java.util.EventObject
A byte stream event, which notifies a listener about inbound byte stream requests.
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.
|
java.lang.String |
getSessionId()
Gets the session id.
|
abstract void |
reject()
Rejects the session.
|
public final java.lang.String getSessionId()
Gets the session id.
public abstract AsyncResult<ByteStreamSession> accept()
Accepts the session.
public abstract void reject()
Rejects the session.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.