From class
sun.rmi.server.UnicastRef
void
|
done(RemoteCall call)
Done should only be called if the invoke returns successfully
(non-exceptionally) to the stub.
|
LiveRef
|
getLiveRef()
Returns the current value of this UnicastRef's underlying
LiveRef.
|
String
|
getRefClass(ObjectOutput out)
Returns the class of the ref type to be serialized
|
void
|
invoke(RemoteCall call)
Invoke makes the remote call present in the RemoteCall object.
|
Object
|
invoke(Remote obj, Method method, Object[] params, long opnum)
Invoke a method.
|
void
|
marshalCustomCallData(ObjectOutput out)
|
static
void
|
marshalValue(Class<?> type, Object value, ObjectOutput out)
Marshal value to an ObjectOutput sink using RMI's serialization
format for parameters or return values.
|
RemoteCall
|
newCall(RemoteObject obj, Operation[] ops, int opnum, long hash)
Create an appropriate call object for a new call on this object.
|
void
|
readExternal(ObjectInput in)
Read in external representation for remote ref.
|
boolean
|
remoteEquals(RemoteRef sub)
default implementation of equals for remote objects
|
int
|
remoteHashCode()
default implementation of hashCode for remote objects
|
String
|
remoteToString()
Method from object, forward from RemoteObject
|
static
Object
|
unmarshalValue(Class<?> type, ObjectInput in)
Unmarshal value from an ObjectInput source using RMI's serialization
format for parameters or return values.
|
void
|
writeExternal(ObjectOutput out)
Write out external representation for remote ref.
|
|
From interface
java.rmi.server.RemoteRef
abstract
void
|
done(RemoteCall call)
This method is deprecated.
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls to the remote reference
(newCall , invoke , and done ), a
stub uses a single method, invoke(Remote, Method, Object[],
int) , on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value.
|
abstract
String
|
getRefClass(ObjectOutput out)
Returns the class name of the ref type to be serialized onto
the stream 'out'.
|
abstract
void
|
invoke(RemoteCall call)
This method is deprecated.
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls to the remote reference
(newCall , invoke , and done ), a
stub uses a single method, invoke(Remote, Method, Object[],
int) , on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value.
|
abstract
Object
|
invoke(Remote obj, Method method, Object[] params, long opnum)
Invoke a method.
|
abstract
RemoteCall
|
newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
This method is deprecated.
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls on the stub's the remote reference
(newCall , invoke , and done ), a
stub uses a single method, invoke(Remote, Method, Object[],
int) , on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value.
|
abstract
boolean
|
remoteEquals(RemoteRef obj)
Compares two remote objects for equality.
|
abstract
int
|
remoteHashCode()
Returns a hashcode for a remote object.
|
abstract
String
|
remoteToString()
Returns a String that represents the reference of this remote
object.
|
|