org.objectweb.dream.protocol.utobcast.message
Interface UPDChunk

All Known Implementing Classes:
UPDChunkImpl

public interface UPDChunk

Chunk interface for UPD messages. An UPD message contains the information sent from the new leader to the process chosen for becoming the new backup.


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
 Process[] getProcesses()
          Returns the process array that is exchanged between the leader and the backup.
 long getSequenceNumber()
          Returns the sequence number that is exchanged between the leader and the backup.
 void setProcesses(Process[] processes)
          Sets the process array that is exchanged between the leader and the backup.
 void setSequenceNumber(long sn)
          Sets the sequence number that is exchanged between the leader and the backup.
 

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

getProcesses

public Process[] getProcesses()
Returns the process array that is exchanged between the leader and the backup.

Returns:
a process array.

setProcesses

public void setProcesses(Process[] processes)
Sets the process array that is exchanged between the leader and the backup.

Parameters:
processes - the process array to be set.

getSequenceNumber

public long getSequenceNumber()
Returns the sequence number that is exchanged between the leader and the backup.

Returns:
the sequence number.

setSequenceNumber

public void setSequenceNumber(long sn)
Sets the sequence number that is exchanged between the leader and the backup.

Parameters:
sn - the sequence number to be set.


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