|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BytestreamListener
BytestreamListener are notified if a remote user wants to initiate a bytestream. Implement this interface to handle incoming bytestream requests.
BytestreamListener can be registered at the Socks5BytestreamManager
or the
InBandBytestreamManager
.
There are two ways to add this listener. See
BytestreamManager.addIncomingBytestreamListener(BytestreamListener)
and
BytestreamManager.addIncomingBytestreamListener(BytestreamListener, String)
for further
details.
Socks5BytestreamListener
or InBandBytestreamListener
provide a more specific
interface of the BytestreamListener.
Method Summary | |
---|---|
void |
incomingBytestreamRequest(BytestreamRequest request)
This listener is notified if a bytestream request from another user has been received. |
Method Detail |
---|
void incomingBytestreamRequest(BytestreamRequest request)
request
- the incoming bytestream request
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |