org.objectweb.fractal.rmi.io
Class Ref
java.lang.Object
org.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Ref
public Ref()
- Constructs an uninitialized
Ref
object.
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