Class InBandBytestreamListener
java.lang.Object
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamListener
- All Implemented Interfaces:
BytestreamListener
InBandBytestreamListener are informed if a remote user wants to initiate an In-Band Bytestream.
Implement this interface to handle incoming In-Band Bytestream requests.
There are two ways to add this listener. See
InBandBytestreamManager.addIncomingBytestreamListener(BytestreamListener)
and
InBandBytestreamManager.addIncomingBytestreamListener(BytestreamListener, org.jxmpp.jid.Jid)
for
further details.
-
Constructor Summary
Constructors -
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 an In-Band Bytestream request from another user has been received.
-
Constructor Details
-
InBandBytestreamListener
public InBandBytestreamListener()
-
-
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 an In-Band Bytestream request from another user has been received.- Parameters:
request
- the incoming In-Band Bytestream request
-