Class COM.roguewave.jchat.Receptionist
All Packages Class Hierarchy This Package Previous Next Index
Class COM.roguewave.jchat.Receptionist
java.lang.Object
|
+----java.lang.Thread
|
+----COM.roguewave.jchat.Receptionist
- public class Receptionist
- extends Thread
The Receptionist class.
The Receptionist is a specialized Thread which creates and monitors a ServerSocket
for incoming connection requests. When a Connection is successfully made,
it is added to a Dispatcher.
- See Also:
- ServerSocket, Connection, Dispatcher
-
Receptionist(int, Dispatcher)
- Creates a Receptionist.
-
run()
- The body of the receptionist.
Receptionist
public Receptionist(int portNumber,
Dispatcher aDispatcher)
- Creates a Receptionist. The Receptionist monitors a ServerSocket on the specified
port number. The specified Dispatcher will be notified when a successful connection
is established.
run
public void run()
- The body of the receptionist. Continually listens for socket connection requests,
notifying a Dispatcher when one is successfully established.
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index