| chat.ChatApplication
ChatApplication | public class ChatApplication extends StandardApplication (Code) | | The application object.
Reads all the settings from the config file.
|
getBgColor | public String getBgColor()(Code) | | What color should the pages be? This is used by both the entry frame
and the contents frame.
|
getClearCommand | public String getClearCommand()(Code) | | What's the clear command? This will be "" if there is no command.
If this string is sent in (in a message), then delete all the
messages currently in the queue.
|
getRoomName | public String getRoomName()(Code) | | The title of this chat room.
|
shutdown | public void shutdown()(Code) | | |
startup | public void startup(Config appConfig) throws ApplicationException(Code) | | Read all the chat room settings at startup time. Some of the
settings are saved, and the other classes refer to this class when
they need the values. Some of the settings are only used once to
initialize parts of the program.
|
toHtml | public String toHtml()(Code) | | This is only called if this application is being run in the
Enhydra Multiserver.
Displays usage stats that an administrator would care about.
The number of listeners is the number of requets blocked
on a read, waiting for messages to appear or be deleted (often
web browsers do "keep alive" behind the scenes, even if the users
hit "stop", this might not go to zero immediatly).
HTML that is displayed in the status page of the Multiserver. |
|
|