DISCONNECTED

(initial state) Chat room is not connected and will not try to establish connection by itself. Besides it being an initial state, chat room can transition to this state when:

  • client calls disconnect triggering graceful closure of socket connection

  • server gracefully closes the socket connection

  • room reached the allowed number of reconnection attempts but still failed to establish socket connection

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int