org.objectweb.dream.queue
Interface SequenceNumberChunk

All Known Subinterfaces:
UTOBcastChunk
All Known Implementing Classes:
SequenceNumberChunkImpl, UTOBcastChunkImpl

public interface SequenceNumberChunk

Chunk interface for messages that have to be sequentially ordered.


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
 long getSequenceNumber()
          Returns the sequence number of this message.
 void setSequenceNumber(long sn)
          Sets the sequence number of this message.
 

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

getSequenceNumber

public long getSequenceNumber()
Returns the sequence number of this message.

Returns:
the sequence number of this message.

setSequenceNumber

public void setSequenceNumber(long sn)
Sets the sequence number of this message.

Parameters:
sn - the sequence number to set.


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