|
||||||||||
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.UTOBcastChunkImpl
Basic implementation of the UTOBcastChunk
interface.
Field Summary | |
protected Process |
processFrom
The process that sent this chunk. |
protected Process |
processTo
The process to which this chunk is destinated. |
protected long |
sn
The sequence number of this message. |
protected byte |
utoBcastMessageType
The type of the message that contains this chunk. |
Fields inherited from interface org.objectweb.dream.protocol.utobcast.message.UTOBcastChunk |
ACK, BAK, DAT, DEFAULT_NAME, REP, TYPE, UPD, UTO |
Constructor Summary | |
UTOBcastChunkImpl()
|
Method Summary | |
Process |
getProcessFrom()
Returns the process that sent this message. |
Process |
getProcessTo()
Returns the process to which this message is destinated. |
long |
getSequenceNumber()
Returns the sequence number of this message. |
ChunkType |
getType()
|
byte |
getUTOBcastMessageType()
Returns the UTOBcast type of the message that contains this chunk. |
void |
recycle()
|
void |
setProcessFrom(Process process)
Sets the process that sent this message. |
void |
setProcessTo(Process process)
Sets the process to which this message is destinated. |
void |
setSequenceNumber(long sn)
Sets the sequence number of this message. |
void |
setUTOBcastMessageType(byte type)
Sets the UTOBcast type of the message that contains this chunk. |
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 byte utoBcastMessageType
protected Process processFrom
protected Process processTo
protected long sn
Constructor Detail |
public UTOBcastChunkImpl()
Method Detail |
public byte getUTOBcastMessageType()
UTOBcastChunk
getUTOBcastMessageType
in interface UTOBcastChunk
UTOBcastChunk.getUTOBcastMessageType()
public void setUTOBcastMessageType(byte type)
UTOBcastChunk
setUTOBcastMessageType
in interface UTOBcastChunk
type
- the UTOBcast type to set.UTOBcastChunk.setUTOBcastMessageType(byte)
public Process getProcessFrom()
UTOBcastChunk
getProcessFrom
in interface UTOBcastChunk
UTOBcastChunk.getProcessFrom()
public void setProcessFrom(Process process)
UTOBcastChunk
setProcessFrom
in interface UTOBcastChunk
process
- the process that sent this message.UTOBcastChunk.setProcessFrom(Process)
public Process getProcessTo()
UTOBcastChunk
getProcessTo
in interface UTOBcastChunk
UTOBcastChunk.getProcessTo()
public void setProcessTo(Process process)
UTOBcastChunk
setProcessTo
in interface UTOBcastChunk
process
- the process to which this message is destinated.UTOBcastChunk.setProcessTo(Process)
public void setSequenceNumber(long sn)
SequenceNumberChunk
setSequenceNumber
in interface SequenceNumberChunk
sn
- the sequence number to set.SequenceNumberChunk.setSequenceNumber(long)
public long getSequenceNumber()
SequenceNumberChunk
getSequenceNumber
in interface SequenceNumberChunk
SequenceNumberChunk.getSequenceNumber()
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 |