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 XMPPException
accept
in interface BytestreamRequest
XMPPException
- if stream is invalid.public void reject()
reject
in interface BytestreamRequest
Copyright © 2003-2007 Jive Software.