org.objectweb.carol.cmi
Class StubBuilder

java.lang.Object
  extended byorg.objectweb.carol.cmi.StubBuilder
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class StubBuilder
extends java.lang.Object
implements java.io.Externalizable

Used to serialize a cluster stub.

Author:
Simon Nieuviarts, Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es), Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es)
See Also:
Serialized Form

Constructor Summary
StubBuilder()
          Default constructor
 
Method Summary
static StubBuilder getReplacement(ClusterStub cs)
          Get the Externalizable instance of a ClusterStub instance
 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
 

Constructor Detail

StubBuilder

public StubBuilder()
Default constructor

Method Detail

getReplacement

public static StubBuilder getReplacement(ClusterStub cs)
Get the Externalizable instance of a ClusterStub instance

Parameters:
cs - ClusterStub instance
Returns:
Externalizable instance

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
See Also:
Externalizable.readExternal(java.io.ObjectInput)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)