doGet(): invoked by the client to read waiting messages
If called without params:
we assume this is a new connection
create a new ServletConnectionHandler with a unique ID
create a new ChatClient with the ServletConnectionHandler as its handler
FlashChatClient is like a regular ChatClient except that it uses a FlashConnectionHandler
which knows about the message format coming from Flash chat clients
Adaptation of a ReaderThread to accept messages coming from a
Flash client that uses a null byte as it's message delimiter and
wraps it's messages in simple XML.
flush() -
Method in class com.lyrisoft.chat.server.remote.Dispatcher
Reads the following applet parameters:
port - the port to connect to
guiFactory - the classname of a GUIFactory (defaults to awt102.AppletGUIFactory)
host is implicit.
Process a raw message from the client
The message is decomposed into a string array of arguments
Use the first argument to look up an ICommandProcessorRemote instance in the registry
If found, check the access level
Invoke process() on the ICommandProcessorRemote instance
If an ICommandProcessorRemote was not found, then use the UnknownCommandProcessor()
If the access level on the client is less than the required access, then send a
generalError() to the client.
A helper class that:
o loads Properties files from the CLASSPATH
o reads typesafe values from Properties files
o throws Exceptions when properties are not found
A wrapper around the com.lyrisoft.util.i18n.Translator object that
provides static methods that can be called from anywhere, and an
init() method that should be called once, early on.