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 BytestreamRequest
public String getSessionID()
getSessionID
in interface BytestreamRequest
public InBandBytestreamSession accept() throws SmackException.NotConnectedException
accept
in interface BytestreamRequest
SmackException.NotConnectedException
public void reject() throws SmackException.NotConnectedException
reject
in interface BytestreamRequest
SmackException.NotConnectedException