Enum SFSEventType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SFSEventType>

    public enum SFSEventType
    extends java.lang.Enum<SFSEventType>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      __CLUSTER_READY  
      __TRACE_MESSAGE  
      BUDDY_ADD
      This event is fired when a User is added in the Buddy List of another client.
      BUDDY_BLOCK
      This event is fired when a Buddy is blocked in User's Buddy List.
      BUDDY_LIST_INIT
      This event is fired when a User initializes his Buddy List.
      BUDDY_MESSAGE
      This event is fired when a Buddy Message is sent between two Buddies.
      BUDDY_ONLINE_STATE_UPDATE
      This event is fired when a Buddy changes his online state.
      BUDDY_REMOVE
      This event is fired when a User is removed in the Buddy List of another client.
      BUDDY_VARIABLES_UPDATE
      This event is fired when a Buddy Variables are set by a User.
      FILE_UPLOAD
      This event is fired when one or more files have been uploaded by a User connected in the current Zone.
      GAME_INVITATION_FAILURE
      This event is fired after a private SFSGame has finished the cycle of invitations.
      GAME_INVITATION_SUCCESS
      This event is fired after a private SFSGame has finished the cycle of invitations.
      GAME_NODE_EVENT
      Overcast Cluster Only
      PLAYER_TO_SPECTATOR
      This event is fired when a User joined in a Game Room as player changes turns into a Spectator.
      PRIVATE_MESSAGE
      This event is fired when a private message is sent by a client.
      PUBLIC_MESSAGE
      This event is fired when a public message is sent by a client.
      ROOM_ADDED
      This event is fired after a new Room was created in the current Zone
      ROOM_REMOVED
      This event is fired after a Room was removed from the current Zone
      ROOM_VARIABLES_UPDATE
      This event is fired when a one or more Room Variables are set.
      SERVER_READY
      The event is fired by SmartFox when the server engine has completed the boot phase.
      SPECTATOR_TO_PLAYER
      This event is fired when a User joined in a Game Room as spectator changes turns into a Player.
      USER_DISCONNECT
      The event is fired after a User disconnects or is disconnected.
      USER_JOIN_ROOM
      The event is fired after a User has joined a Room.
      USER_JOIN_ZONE
      The event is fired after a successful User login.
      USER_LEAVE_ROOM
      The event is fired after a User has left a Room.
      USER_LOGIN
      The event is fired when a User sends a login request.
      USER_LOGOUT
      The event is fired after a User logout.
      USER_RECONNECTION_SUCCESS
      The event is fired when the HRC (highly resilient connection) feature is turned on and a User was successfully reconnected.
      USER_RECONNECTION_TRY
      The event is fired when the HRC (highly resilient connection) feature is turned on and a User is trying to reconnect.
      USER_VARIABLES_UPDATE
      This event is fired when a one or more User Variables are set.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SFSEventType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SFSEventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait