|
||||||||||
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 a sender and a receiver of a message. The sender and the receiver are identified using a short integer.
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 |
getArrowFrom()
Returns the identifier of the sender. |
short |
getArrowTo()
Returns the identifier of the receiver. |
void |
setArrowFrom(short from)
Sets the identifier of the sender. |
void |
setArrowTo(short to)
Sets the identifier of the receiver. |
Field Detail |
public static final String DEFAULT_NAME
public static final ChunkType TYPE
Method Detail |
public short getArrowFrom()
public void setArrowFrom(short from)
from
- the identifier of the sender.public short getArrowTo()
public void setArrowTo(short to)
to
- the identifier of the receiver.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |