|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.message.AbstractChunk
org.objectweb.dream.protocol.utobcast.message.UPDChunkImpl
Basic implementation of the UPDChunk
interface.
Field Summary | |
protected Process[] |
processes
The process array. |
protected long |
sn
The sequence number of this message. |
Fields inherited from interface org.objectweb.dream.protocol.utobcast.message.UPDChunk |
DEFAULT_NAME, TYPE |
Constructor Summary | |
UPDChunkImpl()
|
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. |
ChunkType |
getType()
|
void |
recycle()
|
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. |
void |
transfertState(Chunk newInstance)
|
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 |
Field Detail |
protected Process[] processes
protected long sn
Constructor Detail |
public UPDChunkImpl()
Method Detail |
public void setSequenceNumber(long sn)
UPDChunk
setSequenceNumber
in interface UPDChunk
sn
- the sequence number to be set.UPDChunk.setSequenceNumber(long)
public long getSequenceNumber()
UPDChunk
getSequenceNumber
in interface UPDChunk
UPDChunk.getSequenceNumber()
public Process[] getProcesses()
UPDChunk
getProcesses
in interface UPDChunk
UPDChunk.getProcesses()
public void setProcesses(Process[] processes)
UPDChunk
setProcesses
in interface UPDChunk
processes
- the process array to be set.UPDChunk.setProcesses(org.objectweb.dream.protocol.Process[])
public ChunkType getType()
getType
in interface Chunk
Chunk.getType()
public void transfertState(Chunk newInstance)
transfertState
in interface Chunk
Chunk.transfertState(Chunk)
public void recycle()
recycle
in interface Recyclable
Recyclable.recycle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |