|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A general purpose chunk that can be use to identify the sender and receiver processes of a message. Note that a process is identified using a short integer.
Process
Field Summary | |
static String |
DEFAULT_NAME
The default name for chunks of this type |
static ChunkType |
TYPE
The chunk type of chunks implementing this interface. |
Method Summary | |
short |
getProcessIdFrom()
Returns the identifier of the sender process. |
short |
getProcessIdTo()
Returns the identifier of the receiver process. |
void |
setProcessIdFrom(short from)
Sets the identifier of the sender process. |
void |
setProcessIdTo(short to)
Sets the identifier of the receiver process. |
Field Detail |
public static final String DEFAULT_NAME
public static final ChunkType TYPE
Method Detail |
public short getProcessIdFrom()
public void setProcessIdFrom(short from)
from
- the identifier of the sender process.public short getProcessIdTo()
public void setProcessIdTo(short to)
to
- the identifier of the receiver process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |