public abstract class ByteStreamEvent extends EventObject
source| Modifier | Constructor and Description |
|---|---|
protected |
ByteStreamEvent(Object source,
String sessionId)
Constructs a byte stream event.
|
| 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, toStringprotected ByteStreamEvent(Object source, String sessionId)
source - The object on which the Event initially occurred.sessionId - The session id.IllegalArgumentException - if source is null.public 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 XMPP.rocks. All rights reserved.