J2ME RMI Profile

Serialized Form


Package java.rmi

Class java.rmi.AccessException implements Serializable

Class java.rmi.AlreadyBoundException implements Serializable

Class java.rmi.ConnectException implements Serializable

Class java.rmi.ConnectIOException implements Serializable

Class java.rmi.MarshalException implements Serializable

Class java.rmi.MarshalledObject implements Serializable

Serialized Fields

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.

Class java.rmi.NoSuchObjectException implements Serializable

Class java.rmi.NotBoundException implements Serializable

Class java.rmi.RemoteException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
Nested Exception to hold wrapped remote exception.
 
Since:
JDK1.1

Class java.rmi.ServerError implements Serializable

Class java.rmi.ServerException implements Serializable

Class java.rmi.StubNotFoundException implements Serializable

Class java.rmi.UnexpectedException implements Serializable

Class java.rmi.UnknownHostException implements Serializable

Class java.rmi.UnmarshalException implements Serializable


Package java.rmi.activation

Class java.rmi.activation.ActivateFailedException implements Serializable

Class java.rmi.activation.ActivationException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
Nested Exception to hold wrapped remote exceptions.
 

Class java.rmi.activation.ActivationID implements Serializable

Serialization Methods

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.
Serialized Fields

activator

Activator activator
the object's activator

uid

UID uid
the object's unique id

Class java.rmi.activation.UnknownObjectException implements Serializable


Package java.rmi.dgc

Class java.rmi.dgc.Lease implements Serializable

Serialized Fields

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()

Class java.rmi.dgc.VMID implements Serializable

Serialized Fields

addr

byte[] addr
array of bytes uniquely identifying host created on

uid

UID uid
unique identifier with respect to host created on


Package java.rmi.server

Class java.rmi.server.ExportException implements Serializable

Class java.rmi.server.ObjID implements Serializable

Serialized Fields

objNum

long objNum
object number
See Also:
ObjID.hashCode()

space

UID space
address space identifier (unique to host)

Class java.rmi.server.RemoteObject implements Serializable

Serialization Methods

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.

Class java.rmi.server.RemoteServer implements Serializable

Class java.rmi.server.RemoteStub implements Serializable

Class java.rmi.server.ServerCloneException implements Serializable

Serialized Fields

detail

java.lang.Exception detail
Nested exception for ServerCloneException.
 
Since:
JDK1.1

Class java.rmi.server.ServerNotActiveException implements Serializable

Class java.rmi.server.SocketSecurityException implements Serializable

Class java.rmi.server.UID implements Serializable

Serialized Fields

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.

Class java.rmi.server.UnicastRemoteObject implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Re-export the remote object when it is deserialized.
Serialized Fields

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


J2ME RMI Profile

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 >