Interface Connection<V extends Value<V>>


public interface Connection<V extends Value<V>>
  • Method Details

    • process

      default void process(Server<V> server, ResponseConsumer<V> responseConsumer, Message<V>[] messages)
    • getId

      String getId()
    • getTransport

      Transport<V> getTransport()
    • createSession

      Session<V> createSession(Server<V> server)
    • validateSession

      boolean validateSession(Session<V> session)
    • updateSession

      void updateSession(Session<V> session)
    • hijackSession

      void hijackSession(Session<V> session)
    • onDisconnect

      void onDisconnect(Server<V> server, Session<V> session)
    • onCleanUp

      void onCleanUp()
    • deliver

      void deliver(Packet<V> packet)