Interfaces

RemoteRef

The RemoteRef interface represents a handle to a remote object. Through the RemoteRef, you can invoke methods on a remote object. Stubs use this class to invoke remote methods, but you can use it directly as well.

getRefClass
public String getRefClass(ObjectOutput out)

Returns the implementation class name of the reference type that would be serialized to the specified output stream.

invoke
public Object invoke(Remote remoteOb, Method method, Object[] params,
    long opnum) throws Exception

Invokes a remote method on a remote object using the specified parameters. The opnum parameter is an optional hash value that can represent the method. Stubs can use the opnum value to speed the method lookup on the remote server.

 remoteEquals ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.