Contains the messages for the network communication protocol, and listeners.
Communication
The communication throughout the system is done by messages who all
extend {@link quest.global.net.Message}. This message is used as the
root of the hierarchy tree for ease of handling.
For the communication between the client and server a messagestream is setup.
This is done by the client and server daemon, who establish an input and output objectstream over which the messages are sent as objects.
This means all messages and the data exchanged have to be serializable.
Listeners
Every service, like login, chat and game, are considerred processes who
should register themselfs at the client and server daemons.
Each service registers a {@link quest.global.net.Proces} in which they
specify what type of messages they are prepared to handle and where their
listener for incoming messages is located.
These interface of these listeners is described in {@link quest.global.net.MessageClientListener} for clientside and {@link quest.global.net.MessageServerListener} for serveside.
{@link quest.global.net.MessageListener} is used a root listener for easy handling.
@author Merijn Evertse