Index of all Fields and Methods
All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- addConnection(Connection).
Method in class COM.roguewave.jchat.Dispatcher
- Add a Connection to the Dispatcher.
- addConnection(Connection).
Method in class COM.roguewave.jchat.Forum
- Adds a Connection.
- addConnection(Connection).
Method in class COM.roguewave.jchat.ForumDispatcher
- Add initialization functionality when adding new Connections.
- addObjectToNotify(String, Object).
Method in class COM.roguewave.jchat.Dispatcher
- Add a notifier object to the dispatcher.
- addObjectToNotify(String, Object).
Method in class COM.roguewave.jchat.ForumDispatcher
- Adds a new Forum object that should be notified when the "post" command is
processed.
- addObjectToNotify(String, Object).
Method in class COM.roguewave.jchat.ForumViewDispatcher
- Adds an object that should be notified when the "update" or "add" command
is processed.
- close().
Method in class COM.roguewave.jchat.Connection
- Safely close the Connection.
- Connection(Socket, Dispatcher).
Constructor for class COM.roguewave.jchat.Connection
- Creates a Connection on the specified socket.
- connections_.
Variable in class COM.roguewave.jchat.Dispatcher
-
- Dispatcher().
Constructor for class COM.roguewave.jchat.Dispatcher
- Creates a Dispatcher.
- Forum(String).
Constructor for class COM.roguewave.jchat.Forum
- Creates a new Forumm with the specified forum name.
- ForumDispatcher().
Constructor for class COM.roguewave.jchat.ForumDispatcher
- Creates a ForumDispatcher.
- ForumViewDispatcher().
Constructor for class COM.roguewave.jchat.ForumViewDispatcher
- Creates a ForumViewDispatcher.
- getUser().
Method in class COM.roguewave.jchat.Connection
- Return the user of this connection.
- processCommand(String[]).
Method in class COM.roguewave.jchat.Dispatcher
- Process a command This method must be overridden and implemented by a subclass.
- processCommand(String[]).
Method in class COM.roguewave.jchat.ForumDispatcher
- Process a command request.
- processCommand(String[]).
Method in class COM.roguewave.jchat.ForumViewDispatcher
- Process a command request.
- readData().
Method in class COM.roguewave.jchat.Reader
-
Helper method for reading data from the input stream.
- Reader(DataInputStream, int, Dispatcher).
Constructor for class COM.roguewave.jchat.Reader
-
Creates a Reader.
- Receptionist(int, Dispatcher).
Constructor for class COM.roguewave.jchat.Receptionist
- Creates a Receptionist.
- removeConnection(Connection).
Method in class COM.roguewave.jchat.Forum
- Removes a Connection.
- run().
Method in class COM.roguewave.jchat.Reader
- The body of the Reader.
- run().
Method in class COM.roguewave.jchat.Receptionist
- The body of the receptionist.
- send(String).
Method in class COM.roguewave.jchat.Connection
- Send a String across the socket.
- send(String[]).
Method in class COM.roguewave.jchat.Connection
- Send an array of strings across the socket.
- send(String[]).
Method in class COM.roguewave.jchat.Forum
- Delivers the specified message to all the Connections that are currently
listening in on this Forum.
- sendForumNames(Connection).
Method in class COM.roguewave.jchat.ForumDispatcher
- Sends the current collection of Forum names to the specified Connection.
- setClient(String).
Method in class COM.roguewave.jchat.Connection
- Specify that this instance of the Connection is for the client.
- setServer().
Method in class COM.roguewave.jchat.Connection
- Specify that this instance of the Connection is for the server.