org.cougaar.tools.server.rmi
Class RMIRegistry

java.lang.Object
  |
  +--org.cougaar.tools.server.RemoteHostRegistry
        |
        +--org.cougaar.tools.server.rmi.RMIRegistry

public class RMIRegistry
extends RemoteHostRegistry

RMI-specific implementation of a RemoteHost registry.

Note that this is the only public class in this package.


Constructor Summary
RMIRegistry()
           
 
Method Summary
 void bindRemoteHost(RemoteHost rh, int port, boolean verbose)
          Server method for registering itself.
 RemoteHost lookupRemoteHost(java.lang.String hostName, int hostPort, boolean verbose)
          Client method for contacting a remote host.
 
Methods inherited from class org.cougaar.tools.server.RemoteHostRegistry
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIRegistry

public RMIRegistry()
Method Detail

lookupRemoteHost

public RemoteHost lookupRemoteHost(java.lang.String hostName,
                                   int hostPort,
                                   boolean verbose)
                            throws java.lang.Exception
Description copied from class: RemoteHostRegistry
Client method for contacting a remote host.

Specified by:
lookupRemoteHost in class RemoteHostRegistry
java.lang.Exception

bindRemoteHost

public void bindRemoteHost(RemoteHost rh,
                           int port,
                           boolean verbose)
                    throws java.lang.Exception
Description copied from class: RemoteHostRegistry
Server method for registering itself.

Specified by:
bindRemoteHost in class RemoteHostRegistry
java.lang.Exception