Enum Class ServerEvent

java.lang.Object
java.lang.Enum<ServerEvent>
com.tenio.core.configuration.define.ServerEvent
All Implemented Interfaces:
Serializable, Comparable<ServerEvent>, Constable

public enum ServerEvent extends Enum<ServerEvent>
All events could be emitted in the server.
  • Enum Constant Details

    • SESSION_CREATED

      public static final ServerEvent SESSION_CREATED
    • SESSION_REQUEST_CONNECTION

      public static final ServerEvent SESSION_REQUEST_CONNECTION
    • SESSION_OCCURRED_EXCEPTION

      public static final ServerEvent SESSION_OCCURRED_EXCEPTION
    • SESSION_WILL_BE_CLOSED

      public static final ServerEvent SESSION_WILL_BE_CLOSED
    • SESSION_READ_MESSAGE

      public static final ServerEvent SESSION_READ_MESSAGE
    • DATAGRAM_CHANNEL_READ_MESSAGE

      public static final ServerEvent DATAGRAM_CHANNEL_READ_MESSAGE
    • SERVER_INITIALIZATION

      public static final ServerEvent SERVER_INITIALIZATION
    • CONNECTION_ESTABLISHED_RESULT

      public static final ServerEvent CONNECTION_ESTABLISHED_RESULT
    • PLAYER_LOGGEDIN_RESULT

      public static final ServerEvent PLAYER_LOGGEDIN_RESULT
    • PLAYER_RECONNECT_REQUEST_HANDLE

      public static final ServerEvent PLAYER_RECONNECT_REQUEST_HANDLE
    • PLAYER_RECONNECTED_RESULT

      public static final ServerEvent PLAYER_RECONNECTED_RESULT
    • SEND_MESSAGE_TO_PLAYER

      public static final ServerEvent SEND_MESSAGE_TO_PLAYER
    • RECEIVED_MESSAGE_FROM_PLAYER

      public static final ServerEvent RECEIVED_MESSAGE_FROM_PLAYER
    • ROOM_CREATED_RESULT

      public static final ServerEvent ROOM_CREATED_RESULT
    • ROOM_WILL_BE_REMOVED

      public static final ServerEvent ROOM_WILL_BE_REMOVED
    • PLAYER_JOINED_ROOM_RESULT

      public static final ServerEvent PLAYER_JOINED_ROOM_RESULT
    • PLAYER_BEFORE_LEAVE_ROOM

      public static final ServerEvent PLAYER_BEFORE_LEAVE_ROOM
    • PLAYER_AFTER_LEFT_ROOM

      public static final ServerEvent PLAYER_AFTER_LEFT_ROOM
    • SWITCH_PLAYER_TO_SPECTATOR

      public static final ServerEvent SWITCH_PLAYER_TO_SPECTATOR
    • SWITCH_SPECTATOR_TO_PLAYER

      public static final ServerEvent SWITCH_SPECTATOR_TO_PLAYER
    • DISCONNECT_PLAYER

      public static final ServerEvent DISCONNECT_PLAYER
    • DISCONNECT_CONNECTION

      public static final ServerEvent DISCONNECT_CONNECTION
    • ATTACH_CONNECTION_REQUEST_VALIDATION

      public static final ServerEvent ATTACH_CONNECTION_REQUEST_VALIDATION
    • ATTACHED_CONNECTION_RESULT

      public static final ServerEvent ATTACHED_CONNECTION_RESULT
    • FETCHED_CCU_INFO

      public static final ServerEvent FETCHED_CCU_INFO
    • FETCHED_BANDWIDTH_INFO

      public static final ServerEvent FETCHED_BANDWIDTH_INFO
    • SYSTEM_MONITORING

      public static final ServerEvent SYSTEM_MONITORING
    • HTTP_REQUEST_VALIDATION

      public static final ServerEvent HTTP_REQUEST_VALIDATION
    • HTTP_REQUEST_HANDLE

      public static final ServerEvent HTTP_REQUEST_HANDLE
    • SERVER_EXCEPTION

      public static final ServerEvent SERVER_EXCEPTION
    • SERVER_TEARDOWN

      public static final ServerEvent SERVER_TEARDOWN
  • Method Details

    • values

      public static ServerEvent[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServerEvent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ServerEvent>