Enum Class Message.MessageType

java.lang.Object
java.lang.Enum<Message.MessageType>
marauroa.common.net.message.Message.MessageType
All Implemented Interfaces:
Serializable, Comparable<Message.MessageType>, Constable
Enclosing class:
Message

public static enum Message.MessageType extends Enum<Message.MessageType>
Type of message
  • Enum Constant Details

    • C2S_ACTION

      public static final Message.MessageType C2S_ACTION
      client to server: player action
    • C2S_CHOOSECHARACTER

      public static final Message.MessageType C2S_CHOOSECHARACTER
      client to server: character pick
    • C2S_LOGIN_REQUESTKEY

      public static final Message.MessageType C2S_LOGIN_REQUESTKEY
      client to server: request key to start login
    • C2S_LOGIN_SENDNONCENAMEANDPASSWORD

      public static final Message.MessageType C2S_LOGIN_SENDNONCENAMEANDPASSWORD
      client to server: send nonce, username and encrypted password
    • C2S_LOGIN_SENDPROMISE

      public static final Message.MessageType C2S_LOGIN_SENDPROMISE
      client to server: sends a promise to the server which is used to setup encryption of the passwrd
    • C2S_LOGOUT

      public static final Message.MessageType C2S_LOGOUT
      client to server: requests a logout
    • C2S_OUTOFSYNC

      public static final Message.MessageType C2S_OUTOFSYNC
      client to server: requests a full permission
    • C2S_TRANSFER_ACK

      public static final Message.MessageType C2S_TRANSFER_ACK
      client to server: acknowledge transfer of binary data (e. g. map information)
    • C2S_KEEPALIVE

      public static final Message.MessageType C2S_KEEPALIVE
      client to server: tell the server, that we are still alive
    • S2C_CHARACTERLIST

      public static final Message.MessageType S2C_CHARACTERLIST
      server to client: sends the character list
    • S2C_CHOOSECHARACTER_ACK

      public static final Message.MessageType S2C_CHOOSECHARACTER_ACK
      server to client: confirms a successful character choice
    • S2C_CHOOSECHARACTER_NACK

      public static final Message.MessageType S2C_CHOOSECHARACTER_NACK
      server to client: rejects a character choice
    • S2C_INVALIDMESSAGE

      public static final Message.MessageType S2C_INVALIDMESSAGE
      server to client: rejects the last message
    • S2C_LOGIN_ACK

      public static final Message.MessageType S2C_LOGIN_ACK
      server to client: confirms a successful login
    • S2C_LOGIN_NACK

      public static final Message.MessageType S2C_LOGIN_NACK
      server to client: rejects a login attempt
    • S2C_LOGIN_SENDKEY

      public static final Message.MessageType S2C_LOGIN_SENDKEY
      server to client: sends the public key
    • S2C_LOGIN_SENDNONCE

      public static final Message.MessageType S2C_LOGIN_SENDNONCE
      server to client: sends a nonce as part of the encryption handshake
    • S2C_LOGOUT_ACK

      public static final Message.MessageType S2C_LOGOUT_ACK
      server to client: confirms a logout attempt
    • S2C_LOGOUT_NACK

      public static final Message.MessageType S2C_LOGOUT_NACK
      server to client: rejects a logout attempt
    • S2C_PERCEPTION

      public static final Message.MessageType S2C_PERCEPTION
      server to client: updates the client view of the world around it
    • S2C_SERVERINFO

      public static final Message.MessageType S2C_SERVERINFO
      server to client: submits server and RPClass information to the client
    • S2C_TRANSFER

      public static final Message.MessageType S2C_TRANSFER
      server to client: transfers content to the client
    • S2C_TRANSFER_REQ

      public static final Message.MessageType S2C_TRANSFER_REQ
      server to client: offers content to the client
    • C2S_CREATEACCOUNT

      public static final Message.MessageType C2S_CREATEACCOUNT
      client to server: requests an account creation
    • S2C_CREATEACCOUNT_ACK

      public static final Message.MessageType S2C_CREATEACCOUNT_ACK
      server to client: confirms a successful character creation attempt
    • S2C_CREATEACCOUNT_NACK

      public static final Message.MessageType S2C_CREATEACCOUNT_NACK
      server to client: rejects an account cration attempt
    • C2S_CREATECHARACTER

      public static final Message.MessageType C2S_CREATECHARACTER
      client to server: requests a character creation
    • S2C_CREATECHARACTER_ACK

      public static final Message.MessageType S2C_CREATECHARACTER_ACK
      server to client: confirms a successful character creation attempt
    • S2C_CREATECHARACTER_NACK

      public static final Message.MessageType S2C_CREATECHARACTER_NACK
      server to client: rejects a character creation attempt
    • S2C_CONNECT_NACK

      public static final Message.MessageType S2C_CONNECT_NACK
      server to client: rejects a connection attempt
    • C2S_LOGIN_SENDNONCENAMEPASSWORDANDSEED

      public static final Message.MessageType C2S_LOGIN_SENDNONCENAMEPASSWORDANDSEED
      client to server: sends username, password and a seed (for single sign on)
    • S2C_LOGIN_MESSAGE_NACK

      public static final Message.MessageType S2C_LOGIN_MESSAGE_NACK
      server to client: reject a login attempt
    • P2S_CREATECHARACTER

      public static final Message.MessageType P2S_CREATECHARACTER
      proxy to server: creates a character on behalf of a user
    • P2S_CREATEACCOUNT

      public static final Message.MessageType P2S_CREATEACCOUNT
      proxy to server: creates an account on behalf of a user
    • C2S_LOGIN_SENDUSERNAMEANDPASSWORD

      public static final Message.MessageType C2S_LOGIN_SENDUSERNAMEANDPASSWORD
      client to server: sends the username and password
    • S2C_UPDATE

      public static final Message.MessageType S2C_UPDATE
      send a software update
    • C2S_UPDATE_RESPONSE

      public static final Message.MessageType C2S_UPDATE_RESPONSE
      update response
    • C2S_LOGIN_WITH_TOKEN

      public static final Message.MessageType C2S_LOGIN_WITH_TOKEN
      Login with token
    • C2S_CREATE_ACCOUNT_WITH_TOKEN

      public static final Message.MessageType C2S_CREATE_ACCOUNT_WITH_TOKEN
      client to server: requests an account creation without password required (e.g. 3rd party auth provider)
  • Method Details

    • values

      public static Message.MessageType[] 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 Message.MessageType 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