org.objectweb.dream.protocol.causality
Class CausalityChunkImpl
java.lang.Object
org.objectweb.dream.message.AbstractChunk
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CausalityChunkImpl
public CausalityChunkImpl()
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.