Package 

Enum ConnectionState

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum ConnectionState
    extends Enum<ConnectionState>
                        

    Represents possible states of the WebSocket connection.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      OFFLINE

      The client is permanently disconnected from the WebSocket.

      CONNECTING

      The client is trying to connect to the WebSocket.

      CONNECTED

      The client is connected to the WebSocket.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait