Interface ClientListenerConnectionContext

    • Method Detail

      • clientType

        byte clientType()
        Returns:
        Client type.
      • connectionId

        long connectionId()
        Returns:
        Current connection id.
      • isVersionSupported

        boolean isVersionSupported​(ClientListenerProtocolVersion ver)
        Parameters:
        ver - Version to check.
        Returns:
        true if version is supported.
      • onDisconnected

        void onDisconnected()
        Called whenever client is disconnected due to correct connection close or due to IOException during network operations.
      • securityContext

        @Nullable
        @Nullable SecurityContext securityContext()
        Returns:
        Security context.