|
||||||||||
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.message.chunk.BasicArrowChunk
A basic Chunk interface that defines an arrow from a source to a destination.
Field Summary |
Fields inherited from interface org.objectweb.dream.message.chunk.ArrowChunk |
DEFAULT_NAME, TYPE |
Constructor Summary | |
BasicArrowChunk()
|
Method Summary | |
short |
getArrowFrom()
Returns the identifier of the sender. |
short |
getArrowTo()
Returns the identifier of the receiver. |
ChunkType |
getType()
Returns the type of this chunk. |
void |
recycle()
Recycles the chunk. |
void |
setArrowFrom(short from)
Sets the identifier of the sender. |
void |
setArrowTo(short to)
Sets the identifier of the receiver. |
void |
transfertState(Chunk newInstance)
Transferts the state of this chunk into the specified new instance. |
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 |
Methods inherited from interface org.objectweb.dream.message.Chunk |
getMessageManagerId, setMessageManagerId |
Constructor Detail |
public BasicArrowChunk()
Method Detail |
public short getArrowFrom()
ArrowChunk
getArrowFrom
in interface ArrowChunk
ArrowChunk.getArrowFrom()
public void setArrowFrom(short from)
ArrowChunk
setArrowFrom
in interface ArrowChunk
from
- the identifier of the sender.ArrowChunk.setArrowFrom(short)
public short getArrowTo()
ArrowChunk
getArrowTo
in interface ArrowChunk
ArrowChunk.getArrowTo()
public void setArrowTo(short to)
ArrowChunk
setArrowTo
in interface ArrowChunk
to
- the identifier of the receiver.ArrowChunk.setArrowTo(short)
public ChunkType getType()
Chunk
getType
in interface Chunk
Chunk.getType()
public void recycle()
Chunk
recycle
in interface Chunk
Chunk.recycle()
public void transfertState(Chunk newInstance)
Chunk
transfertState
in interface Chunk
newInstance
- the new instance of chunk.Chunk.transfertState(Chunk)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |