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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMIRegistry
public RMIRegistry()
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