public interface WritableMessage
Channel
.Modifier and Type | Method and Description |
---|---|
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.
|
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
).Copyright © 2014 Oracle Corporation. All rights reserved.