Interface Connection.CloseListener

  • Enclosing interface:
    Connection

    public static interface Connection.CloseListener
    Transport close listener that receives connection close notifications from Tyrus.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close​(jakarta.websocket.CloseReason reason)
      Tyrus notifies that logical connection is closed.
    • Method Detail

      • close

        void close​(jakarta.websocket.CloseReason reason)
        Tyrus notifies that logical connection is closed.
        Parameters:
        reason - for closing the connection.