edu.berkeley.guir.lib.net
Class ClientRegistryServer
java.lang.Object
|
+--java.net.ServerSocket
|
+--edu.berkeley.guir.lib.net.ClientRegistryServer
- public class ClientRegistryServer
- extends ServerSocket
Server for the registry. Accepts connections, forwards them to the registry
for storage, maintenance, and I/O.
Revisions: - GUIRLib-v1.2-1.0.0, Jul 19 2000, JH
Created class
- GUIRLib-v1.3-1.0.0, Aug 11 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.4-1.0.0, Aug 31 2000, JH
Touched for GUIRLib release
- Since:
- JDK 1.3
- Version:
- GUIRLib-v1.4-1.0.0, Aug 31 2000
- Author:
- Jason Hong (
jasonh@cs.berkeley.edu )
ClientRegistryServer
public ClientRegistryServer(int port)
throws IOException
getRegistry
public ClientRegistry getRegistry()
- Get a reference to this server's registry.
accept
public Socket accept()
throws IOException
- Accepts the connection, also puts into the registry.
- Overrides:
accept
in class ServerSocket
main
public static void main(String[] argv)
throws Exception