public class InBandBytestreamRequest extends 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.
|
String |
getFrom()
Returns the sender of the In-Band Bytestream open request.
|
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 String getFrom()
getFrom in interface BytestreamRequestpublic String getSessionID()
getSessionID in interface BytestreamRequestpublic InBandBytestreamSession accept() throws SmackException.NotConnectedException
accept in interface BytestreamRequestSmackException.NotConnectedExceptionpublic void reject() throws SmackException.NotConnectedException
reject in interface BytestreamRequestSmackException.NotConnectedException