org.objectweb.dream.protocol.causality
Class CausalityChunkImpl

java.lang.Object
  extended byorg.objectweb.dream.message.AbstractChunk
      extended byorg.objectweb.dream.protocol.causality.CausalityChunkImpl
All Implemented Interfaces:
CausalityChunk, Chunk, Cloneable, Externalizable, Recyclable, Serializable

public class CausalityChunkImpl
extends AbstractChunk
implements CausalityChunk, Externalizable

Basic implementation of CausalityChunk

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.objectweb.dream.protocol.causality.CausalityChunk
DEFAULT_NAME, TYPE
 
Constructor Summary
CausalityChunkImpl()
           
 
Method Summary
 Object getCausalityStamp()
          Returns the causality stamp of this chunk
 ChunkType getType()
           
 void readExternal(ObjectInput in)
           
 void recycle()
           
 void setCausalityStamp(Object stamp)
          Set the causality stamp of this chunk
 void transfertState(Chunk newInstance)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.objectweb.dream.message.AbstractChunk
getMessageManagerId, setMessageManagerId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CausalityChunkImpl

public CausalityChunkImpl()
Method Detail

getCausalityStamp

public Object getCausalityStamp()
Description copied from interface: CausalityChunk
Returns the causality stamp of this chunk

Specified by:
getCausalityStamp in interface CausalityChunk
Returns:
the causality stamp of this chunk
See Also:
CausalityChunk.getCausalityStamp()

setCausalityStamp

public void setCausalityStamp(Object stamp)
Description copied from interface: CausalityChunk
Set the causality stamp of this chunk

Specified by:
setCausalityStamp in interface CausalityChunk
Parameters:
stamp - the stamp
See Also:
CausalityChunk.setCausalityStamp(java.lang.Object)

getType

public ChunkType getType()
Specified by:
getType in interface Chunk
See Also:
Chunk.getType()

transfertState

public void transfertState(Chunk newInstance)
Specified by:
transfertState in interface Chunk
See Also:
Chunk.transfertState(org.objectweb.dream.message.Chunk)

recycle

public void recycle()
Specified by:
recycle in interface Recyclable
See Also:
Recyclable.recycle()

readExternal

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

writeExternal

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


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.