Module AM37

Class MessageManagerParser

java.lang.Object
it.polimi.ingsw.controller.MessageManagerParser
All Implemented Interfaces:
ServerMessageManagerVisitor

public class MessageManagerParser
extends java.lang.Object
implements ServerMessageManagerVisitor
Handles incoming messages from the client and their respective responses

In particular, this class' objects handle all the messages regarding the actual game, from the choice of the gods to the winner declaration.
It also provides the only contact point between the game controller and the outside world, via the parseMessageFromServerToClient(Message) method.