Class ClientConnectionHandler

  • All Implemented Interfaces:
    AutoCloseable

    public abstract class ClientConnectionHandler
    extends Object
    implements AutoCloseable
    Handler for EventStream ClientConnections. It's marked AutoClosable. By default onConnectionClosed, calls the close() function on this object.
    • Constructor Detail

      • ClientConnectionHandler

        public ClientConnectionHandler()
    • Method Detail

      • getConnectionClosedFuture

        public CompletableFuture<Integer> getConnectionClosedFuture()
        Returns:
        a future for syncing on Connection closed.