org.objectweb.fractal.rmi.io
Class Ref

java.lang.Object
  extended byorg.objectweb.fractal.rmi.io.Ref
All Implemented Interfaces:
Externalizable, Serializable

public class Ref
extends Object
implements Externalizable

A typed encoded Identifier that can be sent over a network.

See Also:
Serialized Form

Field Summary
 byte[] id
          The encoded form of an Identifier designating a remote interface.
 String type
          The fully qualified name of the interface designated by id.
 
Constructor Summary
Ref()
          Constructs an uninitialized Ref object.
 
Method Summary
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public String type
The fully qualified name of the interface designated by id.


id

public byte[] id
The encoded form of an Identifier designating a remote interface.

Constructor Detail

Ref

public Ref()
Constructs an uninitialized Ref object.

Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException