Uses of Class
marauroa.common.net.message.Message
Package
Description
This package contains the client network interface.
This package stores all the serializers to build Messages from a stream of bytes and
from a Message create a stream of bytes representing it.
Stores all the messages classes.
This is possibly the most complex part of all the middleware that makes up Arianne.
Role Playing Design is the determining factor on how easy is to create a new game for Arianne.
Role Playing Design is the determining factor on how easy is to create a new game for Arianne.
Network communication.
The package stores the TCP implementation of a network server manager.
-
Uses of Message in marauroa.client.net
Modifier and TypeMethodDescriptionINetworkClientManagerInterface.getMessage(int timeout)
This method returns a Message from the list or block for timeout milliseconds until a message is available or null if timeout happens.TCPNetworkClientManager.getMessage(int timeout)
Modifier and TypeMethodDescriptionvoid
INetworkClientManagerInterface.addMessage(Message msg)
This method add a message to be delivered to the client the message is pointed to.void
TCPNetworkClientManager.addMessage(Message msg)
Modifier and TypeMethodDescriptionvoid
TCPNetworkClientManager.retrieveMessages(Collection<? super Message> drainTo)
gets all messages received so far and removes them from the queue. -
Uses of Message in marauroa.common.net
Modifier and TypeMethodDescriptionMessageFactory.getMessage(byte[] data)
Returns a object of the right class from a stream of serialized data.MessageFactory.getMessage(byte[] data, int offset)
Returns a object of the right class from a stream of serialized data.MessageFactory.getMessage(Map<String,Object> in)
Returns a object of the right class from a stream of serialized data.Modifier and TypeMethodDescriptionDecodes a message from a stream of bytes received from channel -
Uses of Message in marauroa.common.net.message
Modifier and TypeClassDescriptionclass
This message indicate the server the action the player's avatar wants to perform.class
This message indicate the server what of the available characters is chosen for the session to play.class
This message indicate the server to create an account.class
This message indicate the server to create an account with token.class
This message indicate the server to create a character.class
This message is sent from client to server to indicate that he is still there and that wants to be considered connected.class
This message indicate the client want the server to send his public RSA key.class
This message indicate the server that the client wants to login and send the needed info: username and password to login to server.class
This message indicate the server that the client wants to login and send the needed info: username, password and seed to the server.class
This message indicate the server that the client wants to login and send the needed info: Hash of a random byte array (N1).class
This message indicate the server that the client wants to login.class
This message indicate the server that the client wants to login and send the needed info: username, password and seed to the server.class
The Logout Message is sent from client to server to indicate that it wants to finish the session.class
If client gets out of sync with server because of a problem in communications, it can request server to send a sync data frame to recover synchronization with server.class
This message is for confirming server the content we want to be transfered to us.class
Update responseclass
This message indicate the server to create an account.class
This message indicate the server to create a character for the specified userclass
The CharacterListMessage is sent from server to client to inform client about the possible election of character to play with.class
This message indicate the client that the server has accepted its ChooseCharacter Messageclass
This message indicate the client that the server has rejected its ChooseCharacter Messageclass
This message indicate the client that the server has rejected its connection It will indicate that this client IP has been banned from server because: a) Bad behaviour b) Flooding server.class
This message indicate the client that the server has accepted its create account Messageclass
This message indicate the client that the server has reject its create account Messageclass
This message indicate the client that the server has accepted its create character Messageclass
This message indicate the client that the server has reject its create character Messageclass
This message indicates the client that it is running an incompatible version of marauroa.class
This message indicate the client that the server has accepted its login Messageclass
This message indicate the client that the server has reject its login Messageclass
This message indicate the client that the server has reject its login Messageclass
This message indicate the server that the client wants to login and send the needed info: server public keyclass
This message indicate the client the choosen server NONCE value by sending it a hash of it.class
This message indicate the client that the server has accepted its Logout Messageclass
This message indicate the client that the server has rejected its Logout Messageclass
This message indicate the client the objects that the server has determined that this client is able to see.class
The ServerInfo message is sent from server to client to inform client about any relevant info the server has to transmit.class
This message is used to transfer the client a list of contents that has already being approved by it.class
Prior to transfer we send client a transfer offer so it can decide whenever to ACK it and have it transfered or rejected it and use a local cache instead.class
Transfers an updateclass
This message is a generic message that send a byte array. -
Uses of Message in marauroa.server.game.messagehandler
Modifier and TypeMethodDescriptionvoid
MessageDispatcher.dispatchMessage(Message msg)
dispatches the message to the appropriate handler -
Uses of Message in marauroa.server.game.rp
-
Uses of Message in marauroa.server.net
Modifier and TypeMethodDescriptionINetworkServerManager.getMessage()
This method blocks until a message is availableNetworkServerManager.getMessage()
This method blocks until a message is availableModifier and TypeMethodDescriptionvoid
IServerManager.onMessage(ConnectionManager server, Object internalChannel, Message message)
This method is called when data is received from a socket channelvoid
NetworkServerManager.onMessage(ConnectionManager server, Object internalChannel, Message msg)
This method is called when data is received from a socket channelvoid
INetworkServerManager.sendMessage(Message msg)
This method add a message to be delivered to the client the message is pointed to.void
NetworkServerManager.sendMessage(Message msg)
This method add a message to be delivered to the client the message is pointed to. -
Uses of Message in marauroa.server.net.nio
-
Uses of Message in marauroa.server.net.web