| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BytestreamRequest
BytestreamRequest provides an interface to handle incoming bytestream requests.
 There are two implementations of the interface. See Socks5BytestreamRequest and
 InBandBytestreamRequest.
| Method Summary | |
|---|---|
|  BytestreamSession | accept()Accepts the bytestream open request and returns the session to send/receive data. | 
|  String | getFrom()Returns the sender of the bytestream open request. | 
|  String | getSessionID()Returns the session ID of the bytestream open request. | 
|  void | reject()Rejects the bytestream request by sending a reject error to the initiator. | 
| Method Detail | 
|---|
String getFrom()
String getSessionID()
BytestreamSession accept()
                         throws XMPPException,
                                InterruptedException
XMPPException - if an error occurred while accepting the bytestream request
InterruptedException - if the thread was interrupted while waiting in a blocking
         operationvoid reject()
| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||