To receive action request messages from a client for the server and put those
requests in a shared queue which stores all the action requests from all the
clients.
Each ClientManager has a MessageReceiver. A
MessageReceiver is a thread getting messages from a specified DataInputStream. The
specified DataInputStream in this project is a socket connecting a client and the
server. Once a message string arrives, the MessageParser
in the MessageReceiver will parse the string and convert it to the certain message
format and put it into the messageQueue.
A MessageReceiver has a MessageParser to parse the
incoming message string and converts it to the message format.