|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Chunk interface for UTOBcast protocol messages. This interface allows retrieving the type of the message that contains it: DAT, ACK, REP, UTO, UPD, or BAK.
Field Summary | |
static byte |
ACK
The byte value for ACK message type. |
static byte |
BAK
The byte value for BAK message type. |
static byte |
DAT
The byte value for DAT message type. |
static String |
DEFAULT_NAME
The default name for chunks of this type. |
static byte |
REP
The byte value for REP message type. |
static ChunkType |
TYPE
The Chunk type of chunks that implements this interface. |
static byte |
UPD
The byte value for UPD message type. |
static byte |
UTO
The byte value for UTO message type. |
Method Summary | |
Process |
getProcessFrom()
Returns the process that sent this message. |
Process |
getProcessTo()
Returns the process to which this message is destinated. |
byte |
getUTOBcastMessageType()
Returns the UTOBcast type of the message that contains this chunk. |
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 |
setUTOBcastMessageType(byte type)
Sets the UTOBcast type of the message that contains this chunk. |
Methods inherited from interface org.objectweb.dream.queue.SequenceNumberChunk |
getSequenceNumber, setSequenceNumber |
Field Detail |
public static final String DEFAULT_NAME
public static final ChunkType TYPE
public static final byte DAT
public static final byte ACK
public static final byte REP
public static final byte UTO
public static final byte UPD
public static final byte BAK
Method Detail |
public byte getUTOBcastMessageType()
public void setUTOBcastMessageType(byte type)
type
- the UTOBcast type to set.public Process getProcessFrom()
public void setProcessFrom(Process process)
process
- the process that sent this message.public Process getProcessTo()
public void setProcessTo(Process process)
process
- the process to which this message is destinated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |