Uses of Class
gecco.communication.messages.Message

Packages that use Message
gecco.communication.client   
gecco.communication.messages   
gecco.communication.server   
gecco.server.log   
 

Uses of Message in gecco.communication.client
 

Methods in gecco.communication.client with parameters of type Message
 void DataOutputExchangeHandler.addMessageToQueue(Message message)
          Used by the ServerAmbassador to add messages to send
 

Uses of Message in gecco.communication.messages
 

Subclasses of Message in gecco.communication.messages
 class AbortActionMessage
          This class is put in the send queue, on the clients side of the communication, when the client calls abortAction()
 class AbortGameMessage
          This message is put in the send queue in the client part of the communication, when the client calls abortGame()
 class AcceptConnectionMessage
          This message is sent to the client when it is accepted by the server.
 class ActionBlockedMessage
          This message is put in the send queue on the server part of the communication, when the server calls unitActionBlocked
 class ActionCompletedMessage
          This message is put in the send queue on the server part of the communication, when the server calls actionCompleted
 class ActionFailedMessage
          This message is put in the send queue on the server part of the communication, when the server calls actionFailed
 class ActionMessage
          This is the superclass for all messages to be sent when the client calls doAction()
 class ActionOnPositionMessage
          this message is added to the send queue in the client part of the communication, when the client calls doAction, and the provided Action type is Action.POSITION
 class ActionOnUnitMessage
          this message is added to the send queue in the client part of the communication, when the client calls doAction, and the provided Action type is Action.PIECE
 class ActionOnVoidMessage
          this message is added to the send queue in the client part of the communication, when the client calls doAction, and the provided Action type is Action.VOID
 class AvailableRolesMessage
          This is a list of the currently available roles.
 class DisconnectMessage
          This message is sent by a client when it wishes to leave the game.
 class GetAvailableRolesMessage
          This message is sent by the client when it wants to know what roles are available.
 class GetMapMessage
          This message is sent by the client to request the map.
 class InvalidMessage
          This message is returned by Message.read() when the message id did not match any existing message.
 class JoinAsRoleMessage
          This message is sent by the client to tell the server what role it wants to play.
 class MapMessage
          This message contains the map and the icons.
 class MapPointInvisibleMessage
          This message is put in the send queue on the server part of the communication, when the server calls automatonInvisible
 class MapPointsInvisibleMessage
          This message is put in the send queue on the server part of the communication, when the server calls automatonsInvisible
 class MapUpdateMessage
          This message is put in the send queue on the server part of the communication, when the server calls automatonHasState
 class MapUpdatesMessage
          This message is put in the send queue on the server part of the communication, when the server calls automatonsHasState
 class PingMessage
          This message is sent by the server to make sure that the client is connected and working properly.
 class PingReplyMessage
          This message is put in the send queue on the client part of the communication, when the DataInputExchangeHandler gets a Ping message from the server
 class RejectConnectionMessage
          This message is sent to the client when the server refuses to accept a connection.
 class StartGameMessage
          This message is put in the send queue on the client part of the communication, when the client calls startGame
 class TimeUpdateMessage
          This message is put in the send queue on the server part of the communication when the clients are sent a time update.
 class UnitDeletedMessage
          This message is put in the send queue on the server part of the communication, when the server calls unitInvisible
 class UnitDestroyedMessage
          This message is put in the send queue on the server part of the communication, when the server calls unitDeleted
 class UnitMessageMessage
          This message is put in the send queue on the server part of the communication, when the server calls unitMessage
 class UnitPositionUpdateMessage
          This message is put in the send queue on the server part of the communication, when the server calls unitMoved
 class UnitPropertyUpdateMessage
          This message is put in the send queue on the server part of the communication when a unit property is updated.
 class UnitVisibleMessage
          This message is put in the send queue on the server part of the communication, when the server calls unitVisible
 

Methods in gecco.communication.messages that return Message
static Message Message.read(DataInput in)
          This factory method reads a message id from the input stream and calls the read() factory method of the corresponding subclass, which is responsible for reading the actual data.
static Message GetMapMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message TimeUpdateMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message UnitPositionUpdateMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message RejectConnectionMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message UnitPropertyUpdateMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message AbortGameMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message ActionOnPositionMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message AcceptConnectionMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message DisconnectMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message GetAvailableRolesMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message StartGameMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message UnitVisibleMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message PingMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message MapPointInvisibleMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message ActionFailedMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message PingReplyMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message AbortActionMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message ActionOnUnitMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message UnitDestroyedMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
 Message MessageQueue.get()
          Description of the Method
static Message InvalidMessage.read(DataInput in)
          This factory method reads a message, without an initial ID, from the input stream.
static Message MapPointsInvisibleMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message MapUpdatesMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message ActionCompletedMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message MapMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message AvailableRolesMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message JoinAsRoleMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message ActionOnVoidMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message MapUpdateMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message UnitDeletedMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message UnitMessageMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
static Message ActionBlockedMessage.read(DataInput in)
          This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
 

Methods in gecco.communication.messages with parameters of type Message
 void MessageQueue.add(Message mess)
          Description of the Method
 

Uses of Message in gecco.communication.server
 

Methods in gecco.communication.server with parameters of type Message
 void DataOutputExchangeHandler.addMessageToQueue(Message message)
          Adds a feature to the MessageToQueue attribute of the DataOutputExchangeHandler object
 void ClientConnectionHandler.sendMessage(Message m)
          called by RoleConnection, to send a message to the client represented by this ClientConnectionHandler
 void RoleConnection.sendMessage(Message m)
          called by ClientAmbassodor to send a message to this role This method then distributes this message to all clients connected as this role
 

Uses of Message in gecco.server.log
 

Methods in gecco.server.log with parameters of type Message
 void RoleState.update(Message m)