org.objectweb.fractal.rmi.io
Class Ref

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

public class Ref
extends java.lang.Object
implements java.io.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.
 java.lang.String type
          The fully qualified name of the interface designated by id.
 
Constructor Summary
Ref()
          Constructs an uninitialized Ref object.
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.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(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

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


Copyright © 2008 OW2 Consortium. All Rights Reserved.