public class RemoteObject extends Object implements Remote
java.rmi.*
package.Modifier and Type | Method and Description |
---|---|
static Remote |
toStub(Remote obj)
Returns the stub for the remote object.
|
public static Remote toStub(Remote obj) throws NoSuchObjectException
obj
- the remote object.NoSuchObjectException
- if the stub for the
remote object could not be found.