
Returns a locally created remote reference to the remote object
Registry on the specified
host and
port. Communication with this remote registry will
use the supplied
RMIClientSocketFactory csf to create
Socket connections to the registry on the
remote
host and
port.
Returns:
reference (a stub) to the remote registry
Parameters:
-
host - host for the remote registry
-
port - port on which the registry accepts requests
-
csf - client-side
Socket factory used to
make connections to the registry. If
csf
is null, then the default client-side
Socket
factory will be used in the registry stub.
Throws:
-
RemoteException - if the reference could not be created
Since:
1.2