Interface BytestreamListener
-
- All Known Implementing Classes:
InBandBytestreamListener,Socks5BytestreamListener
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
Socks5BytestreamManageror theInBandBytestreamManager.There are two ways to add this listener. See
BytestreamManager.addIncomingBytestreamListener(BytestreamListener)andBytestreamManager.addIncomingBytestreamListener(BytestreamListener, org.jxmpp.jid.Jid)for further details.Socks5BytestreamListenerorInBandBytestreamListenerprovide a more specific interface of the BytestreamListener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidincomingBytestreamRequest(BytestreamRequest request)This listener is notified if a bytestream request from another user has been received.
-
-
-
Method Detail
-
incomingBytestreamRequest
void incomingBytestreamRequest(BytestreamRequest request)
This listener is notified if a bytestream request from another user has been received.- Parameters:
request- the incoming bytestream request
-
-