Interface IConnectionListener


  • public interface IConnectionListener
    Listener for new connections.
    • Method Detail

      • peerConnected

        void peerConnected​(Connection connection)
        Called when a new connection is established.
        Parameters:
        connection - The new connection.
      • peerDisconnected

        void peerDisconnected​(Connection connection)
        Called when a connection is disconnected.
        Parameters:
        connection - The disconnected connection.