Interface MessageManagerListener


public interface MessageManagerListener
Listener for message manager events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    compatiblePeerFound(Download download, Peer peer, Message message)
    Notify of new peer connection that supports the given message type.
    void
    peerRemoved(Download download, Peer peer)
    Notify of peer connection removal.
  • Method Details

    • compatiblePeerFound

      void compatiblePeerFound(Download download, Peer peer, Message message)
      Notify of new peer connection that supports the given message type.
      Parameters:
      download - containing the peer
      peer - that supports the message type
      message - that is supported
    • peerRemoved

      void peerRemoved(Download download, Peer peer)
      Notify of peer connection removal.
      Parameters:
      download - that contained the peer
      peer - that was dropped