twcsckernel.projectbase.rmi.registry
Class RegistryImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
twcsckernel.projectbase.rmi.registry.RegistryImpl
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, Registry
public class RegistryImpl
- extends java.rmi.server.RemoteServer
- implements Registry
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
RegistryImpl(int i)
|
RegistryImpl(int i,
java.rmi.server.RMIClientSocketFactory rmiclientsocketfactory,
java.rmi.server.RMIServerSocketFactory rmiserversocketfactory)
|
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RegistryImpl
public RegistryImpl(int i)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
RegistryImpl
public RegistryImpl(int i,
java.rmi.server.RMIClientSocketFactory rmiclientsocketfactory,
java.rmi.server.RMIServerSocketFactory rmiserversocketfactory)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getID
public static java.rmi.server.ObjID getID()
getRemoteServer
public java.rmi.Remote getRemoteServer()
throws java.rmi.RemoteException,
java.rmi.NotBoundException
- Specified by:
getRemoteServer
in interface Registry
- Throws:
java.rmi.RemoteException
java.rmi.NotBoundException
registerRemoteServer
public void registerRemoteServer(java.rmi.Remote server)
Copyright © 2005-2006 CS@PUT. All Rights Reserved.