Class InBandBytestreamListener
- java.lang.Object
-
- org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamListener
-
- All Implemented Interfaces:
BytestreamListener
public abstract class InBandBytestreamListener extends Object implements 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)
andInBandBytestreamManager.addIncomingBytestreamListener(BytestreamListener, org.jxmpp.jid.Jid)
for further details.
-
-
Constructor Summary
Constructors Constructor Description InBandBytestreamListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
incomingBytestreamRequest(BytestreamRequest request)
This listener is notified if a bytestream request from another user has been received.abstract void
incomingBytestreamRequest(InBandBytestreamRequest request)
This listener is notified if an In-Band Bytestream request from another user has been received.
-
-
-
Constructor Detail
-
InBandBytestreamListener
public InBandBytestreamListener()
-
-
Method Detail
-
incomingBytestreamRequest
public void incomingBytestreamRequest(BytestreamRequest request)
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
public abstract void incomingBytestreamRequest(InBandBytestreamRequest request)
This listener is notified if an In-Band Bytestream request from another user has been received.- Parameters:
request
- the incoming In-Band Bytestream request
-
-