Serialized Form
hash
int hash
- Stored hash code of contained object.
- See Also:
MarshalledObject.hashCode()
locBytes
byte[] locBytes
- Bytes of location annotations, which are ignored by
equals
. If locBytes
is null, there were no
non-null
annotations during marshalling.
objBytes
byte[] objBytes
- Bytes of serialized representation. If
objBytes
is
null
then the object marshalled was a null
reference.
detail
java.lang.Throwable detail
- Nested Exception to hold wrapped remote exception.
-
- Since:
- JDK1.1
Package java.rmi.activation |
detail
java.lang.Throwable detail
- Nested Exception to hold wrapped remote exceptions.
-
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- readObject for object serialization. Reads in a
java.rmi.server.UID
and a remote reference. The
remote reference is read via a direct call to
readExternal(ObjectInputStream in)
. Default
serialization is not used. The reference is used to create the
activator
field in this object. That is, the
activator
field is set to the stub returned from
RemoteProxy.getStub(activatorClassName, ref)
.
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
- writeObject for object serialization. Writes out a
java.rmi.server.UID
and the reference to the
activator responsible for activating the object associated with
this id, the remote reference contained in the
activator
field.
- Serial Data:
- Writes out a
java.rmi.server.UID
, and
the unqualified class name, in UTF-8
, of the
remote reference contained in the activator
field. Delegates to the activator
's remote
reference to write itself to out
. Directly calls
writeExternal(ObjectStream out)
on the return
value of activator.getRef()
. Default serialization
is not used.
activator
Activator activator
- the object's activator
uid
UID uid
- the object's unique id
value
long value
- Duration of this lease.
- See Also:
Lease.getValue()
vmid
VMID vmid
- Virtual Machine ID with which this Lease is associated.
- See Also:
Lease.getVMID()
addr
byte[] addr
- array of bytes uniquely identifying host created on
uid
UID uid
- unique identifier with respect to host created on
objNum
long objNum
- object number
- See Also:
ObjID.hashCode()
space
UID space
- address space identifier (unique to host)
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- readObject for object serialization. Reads in the unqualified
class name of the remote reference field,
ref
, in
UTF-8
and delegates to the ref
field
to read in its representation. The ref
field is
read via a direct call to
ref.readExternal(ObjectInputStream in)
. Default
serialization is not used.
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
- writeObject for object serialization. Writes out the class
name of the remote reference contained in this class and
delegates to the reference to write out its representation.
- Serial Data:
- Writes out the unqualified class name of the remote
reference field,
ref
, in UTF-8
and
delegates to the ref
field to write out its
representation. Different information will be written to
out
depending upon the ref
field's
type. Default serialization is not used.
detail
java.lang.Exception detail
- Nested exception for ServerCloneException.
-
- Since:
- JDK1.1
count
short count
- Short used to create a hash key for
this
UID.
time
long time
- Long used to record the time. The
time
will be used to create a unique UID.
unique
int unique
- Integer that helps create a unique UID.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Re-export the remote object when it is deserialized.
csf
RMIClientSocketFactory csf
- client-side socket factory (if any)
port
int port
- port number on which to export object
ssf
RMIServerSocketFactory ssf
- server-side socket factory (if any) to use when
exporting object
Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved. < /font >