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 Socks5BytestreamManager or the InBandBytestreamManager.

There are two ways to add this listener. See BytestreamManager.addIncomingBytestreamListener(BytestreamListener) and BytestreamManager.addIncomingBytestreamListener(BytestreamListener, org.jxmpp.jid.Jid) for further details.

Socks5BytestreamListener or InBandBytestreamListener provide a more specific interface of the BytestreamListener.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This listener is notified if a bytestream request from another user has been received.
  • Method Details

    • 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