Interface EndpointListener


  • public interface EndpointListener
    Implement this listener to be notified about changes to an endpoints' connection state.
    Author:
    Rene Schneider - initial API and implementation
    • Method Detail

      • onConnectionLost

        void onConnectionLost​(Endpoint anEndpoint)
        The endpoint has unexpectedly lost the connection.
        Parameters:
        anEndpoint - the endpoint
      • onClosed

        void onClosed​(Endpoint anEndpoint)
        The endpoints' connection has been closed.
        Parameters:
        anEndpoint - the endpoint