public class InBandBytestreamRequest extends java.lang.Object implements BytestreamRequest
| Modifier | Constructor and Description |
|---|---|
protected |
InBandBytestreamRequest(InBandBytestreamManager manager,
Open byteStreamRequest) |
| Modifier and Type | Method and Description |
|---|---|
InBandBytestreamSession |
accept()
Accepts the In-Band Bytestream open request and returns the session to
send/receive data.
|
org.jxmpp.jid.Jid |
getFrom()
Returns the sender of the In-Band Bytestream open request.
|
java.lang.String |
getSessionID()
Returns the session ID of the In-Band Bytestream open request.
|
void |
reject()
Rejects the In-Band Bytestream request by sending a reject error to the
initiator.
|
protected InBandBytestreamRequest(InBandBytestreamManager manager, Open byteStreamRequest)
public org.jxmpp.jid.Jid getFrom()
getFrom in interface BytestreamRequestpublic java.lang.String getSessionID()
getSessionID in interface BytestreamRequestpublic InBandBytestreamSession accept() throws SmackException.NotConnectedException, java.lang.InterruptedException
accept in interface BytestreamRequestSmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic void reject() throws SmackException.NotConnectedException, java.lang.InterruptedException
reject in interface BytestreamRequestSmackException.NotConnectedExceptionjava.lang.InterruptedException