|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that represent a chunk.
WARNING : this class is not designed to be implemented by every chunk
returned by Message.getChunk(String)
.
But should be implemented by class implementing a single chunk interface, and
supposed to be used in extensible message
Method Summary | |
short |
getMessageManagerId()
Returns the id of the message manager that created this chunk. |
ChunkType |
getType()
Returns the type of this chunk. |
void |
recycle()
Recycles the chunk. |
void |
setMessageManagerId(short messageManagerId)
Sets the id of the message manager that created this chunk. |
void |
transfertState(Chunk newInstance)
Transferts the state of this chunk into the specified new instance. |
Method Detail |
public short getMessageManagerId()
public void setMessageManagerId(short messageManagerId)
messageManagerId
- the id to set.public ChunkType getType()
public void transfertState(Chunk newInstance)
newInstance
- the new instance of chunk.public void recycle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |