Package gnu.java.rmi.server

Examples of gnu.java.rmi.server.UnicastRef


public static Registry getRegistry(String host, int port) throws RemoteException {
  return (getRegistry(host, port, RMISocketFactory.getSocketFactory()));
}

public static Registry getRegistry(String host, int port, RMIClientSocketFactory csf) throws RemoteException {
  RemoteRef ref = new UnicastRef(new ObjID(ObjID.REGISTRY_ID), host, port, csf);
  return (new RegistryImpl_Stub(ref));
}
View Full Code Here

TOP

Related Classes of gnu.java.rmi.server.UnicastRef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.