|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WritableMessage
Common interface for entities that may be written to a Channel.
| Method Summary | |
|---|---|
boolean |
hasRemaining()
Return true if this message has data remaining to be
written. |
boolean |
isExternal()
Returns true if the message represents an external resource (for example FileTransfer),
which is not loaded in memory. |
boolean |
release()
Perform message specific actions to release resources held by the entity backing this WritableMessage. |
int |
remaining()
Return the number of bytes remaining to be written. |
| Method Detail |
|---|
boolean hasRemaining()
true if this message has data remaining to be
written.
true if this message has data remaining to
be written.int remaining()
boolean release()
WritableMessage.
boolean isExternal()
FileTransfer),
which is not loaded in memory.
False, if the message is
located in memory (like Buffer).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||