java.rmi.server
public interface RemoteRef extends Externalizable
Field Summary | |
---|---|
String | packagePrefix
For binary compatibility with the JDK, the string "sun.rmi.server".
|
long | serialVersionUID
Indicates compatibility with JDK 1.1.* |
Method Summary | |
---|---|
void | done(RemoteCall call) |
String | getRefClass(ObjectOutput out)
Returns the class name of the reference type that must be written to the
given stream. |
void | invoke(RemoteCall call) |
Object | invoke(Remote obj, Method method, Object[] params, long methodHash)
Invoke a method. |
RemoteCall | newCall(RemoteObject obj, Operation[] op, int opnum, long hash) |
boolean | remoteEquals(RemoteRef ref)
Compare two remote objects for equality. |
int | remoteHashCode()
Get the hashcode for a remote object. |
String | remoteToString()
Get the string representation of this remote reference.
|
Deprecated: use {@link #invoke(Remote, Method, Object[], long)} instead.
Parameters: out the stream, where the data must be written
Returns: the class name.
Deprecated: use {@link #invoke(Remote, Method, Object[], long)} instead.
Parameters: obj the object, containing the remote reference (for instance, remote stub, generated by rmic). method the method to invoke params the method parameters methodHash a persistent hash code that can be used to represent a method
Returns: the result of the remote invocation
Throws: RemoteException if the remote call has failed Exception if one is raised at the application level
Deprecated: use {@link #invoke(Remote, Method, Object[], long)} instead.
Parameters: ref the reference to compare.
Returns: true if this and passed references both point to the same remote object, false otherwise.
Returns: the hashcode of the remote object
Returns: the string representation.