Class ClientConnectionHandler

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public abstract class ClientConnectionHandler
    extends java.lang.Object
    implements java.lang.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 java.util.concurrent.CompletableFuture<java.lang.Integer> getConnectionClosedFuture()
        Returns:
        a future for syncing on Connection closed.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable