org.objectweb.dream.protocol.causality
Interface CausalityChunk

All Known Implementing Classes:
BasicCausalityChunk

public interface CausalityChunk

Chunk interface for causality sorted messages. The causality process requires an identifier of the sending process, of the receiver process, and a stamp

See Also:
MatrixClock

Field Summary
static String DEFAULT_NAME
          The default name for chunks of this type
static ChunkType TYPE
          The Chunk type of chunks that implements this interface.
 
Method Summary
 Object getCausalityStamp()
          Returns the causality stamp of this chunk
 void setCausalityStamp(Object stamp)
          Set the causality stamp of this chunk
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
The default name for chunks of this type

See Also:
Constant Field Values

TYPE

public static final ChunkType TYPE
The Chunk type of chunks that implements this interface.

Method Detail

getCausalityStamp

public Object getCausalityStamp()
Returns the causality stamp of this chunk

Returns:
the causality stamp of this chunk

setCausalityStamp

public void setCausalityStamp(Object stamp)
Set the causality stamp of this chunk

Parameters:
stamp - the stamp


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