get
public static java.rmi.Remote get(java.lang.String host,
java.lang.String remoteName)
throws java.net.MalformedURLException,
java.rmi.RemoteException,
java.rmi.NotBoundException
Connects to a remote object over RMI. Cast this into the appropriate
interface.
- Parameters:
host
- the host to connect to
remoteName
- the exported name of the remote object
- Returns:
- the remote object
- Throws:
java.net.MalformedURLException
- if the hostname or remotename is illegal
java.rmi.RemoteException
- if no connection could be made
java.rmi.NotBoundException
- if the requested item doesn't exist