[Expand]
Inherited Methods |
From class
sun.rmi.server.UnicastServerRef2
|
From class
sun.rmi.server.UnicastServerRef
static
void
|
clearStackTraces(Throwable t)
Clear the stack trace of the given Throwable by replacing it with
an empty StackTraceElement array, and do the same for all of its
chained causative exceptions.
|
void
|
dispatch(Remote obj, RemoteCall call)
Call to dispatch to the remote object (on the server side).
|
RemoteStub
|
exportObject(Remote impl, Object data)
With the addition of support for dynamic proxies as stubs, this
method is obsolete because it returns RemoteStub instead of the more
general Remote.
|
Remote
|
exportObject(Remote impl, Object data, boolean permanent)
Export this object, create the skeleton and stubs for this
dispatcher.
|
String
|
getClientHost()
Return the hostname of the current client.
|
RemoteRef
|
getClientRef()
Return the client remote reference for this remoteRef.
|
String
|
getRefClass(ObjectOutput out)
Returns the class of the ref type to be serialized.
|
void
|
oldDispatch(Remote obj, RemoteCall call, int op)
Handle server-side dispatch using the RMI 1.1 stub/skeleton
protocol, given a non-negative operation number that has
already been read from the call stream.
|
void
|
readExternal(ObjectInput in)
Read in external representation for remote ref.
|
void
|
setSkeleton(Remote impl)
Discovers and sets the appropriate skeleton for the impl.
|
void
|
unmarshalCustomCallData(ObjectInput in)
|
void
|
writeExternal(ObjectOutput out)
Write out external representation for remote ref.
|
|
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 class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
java.io.Externalizable
abstract
void
|
readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
abstract
void
|
writeExternal(ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
|
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.
|
|
From interface
java.rmi.server.ServerRef
|
From interface
sun.rmi.server.Dispatcher
|