| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamRequest
public class InBandBytestreamRequest
InBandBytestreamRequest class handles incoming In-Band Bytestream requests.
| Constructor Summary | |
|---|---|
| protected  | InBandBytestreamRequest(InBandBytestreamManager manager,
                        Open byteStreamRequest) | 
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected InBandBytestreamRequest(InBandBytestreamManager manager,
                                  Open byteStreamRequest)
| Method Detail | 
|---|
public String getFrom()
getFrom in interface BytestreamRequestpublic String getSessionID()
getSessionID in interface BytestreamRequest
public InBandBytestreamSession accept()
                               throws XMPPException
accept in interface BytestreamRequestXMPPException - if stream is invalid.public void reject()
reject in interface BytestreamRequest| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||