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