All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----prominence.chat.Chat
The Chat class is a standalone Frame that contains a Whiteboard whiteboard and a Chatboard text-based chat.
The chat system supports a Registry naming registry, with the current users displayed in a list. Messages are sent to just those clients that are currently selected in the list, or are broadcast if no clients are selected.
protected ChatSystemClient c
public Chat(String name,
ChatSystemClient c)
Creates and lays out a Whiteboard, Chatboard and Registry.
public boolean handleEvent(Event e)
public static void main(String args[]) throws IOException
Syntax:
java prominence.chat.Chat <host> <port> <name>
All Packages Class Hierarchy This Package Previous Next Index