UC Berkeley Group for User Interface Research
Updated November 17, 2000

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 )

Constructor Summary
ClientRegistryServer(int port)
           
 
Method Summary
 Socket accept()
          Accepts the connection, also puts into the registry.
 ClientRegistry getRegistry()
          Get a reference to this server's registry.
static void main(String[] argv)
           
 
Methods inherited from class java.net.ServerSocket
close, getInetAddress, getLocalPort, getSoTimeout, implAccept, setSocketFactory, setSoTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientRegistryServer

public ClientRegistryServer(int port)
                     throws IOException
Method Detail

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

Copyright Information