Class Socks5BytestreamListener
java.lang.Object
org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamListener
- All Implemented Interfaces:
BytestreamListener
Socks5BytestreamListener are informed if a remote user wants to initiate a SOCKS5 Bytestream.
Implement this interface to handle incoming SOCKS5 Bytestream requests.
There are two ways to add this listener. See
Socks5BytestreamManager.addIncomingBytestreamListener(BytestreamListener)
and
Socks5BytestreamManager.addIncomingBytestreamListener(BytestreamListener, org.jxmpp.jid.Jid)
for
further details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This listener is notified if a bytestream request from another user has been received.abstract void
This listener is notified if a SOCKS5 Bytestream request from another user has been received.
-
Constructor Details
-
Socks5BytestreamListener
public Socks5BytestreamListener()
-
-
Method Details
-
incomingBytestreamRequest
Description copied from interface:BytestreamListener
This listener is notified if a bytestream request from another user has been received.- Specified by:
incomingBytestreamRequest
in interfaceBytestreamListener
- Parameters:
request
- the incoming bytestream request
-
incomingBytestreamRequest
This listener is notified if a SOCKS5 Bytestream request from another user has been received.- Parameters:
request
- the incoming SOCKS5 Bytestream request
-