Interface ClientStateListener

All Known Implementing Classes:
ObjectStore.ClientEventHandler

public interface ClientStateListener
Listener that is notified about the connection state of a Client.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Provided with the clientDisconnected() notification to include additional information about the disconnect.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the specified client is fully connected to the remote server.
    void
    Called when the client has disconnected from the remote server.
  • Method Details

    • clientConnected

      void clientConnected(Client c)
      Called when the specified client is fully connected to the remote server.
    • clientDisconnected

      void clientDisconnected(Client c, ClientStateListener.DisconnectInfo info)
      Called when the client has disconnected from the remote server. If info is null then the client shut down the connection normally, otherwise the info object contains additional information about the disconnect.