|
JBoss Marshalling 1.3.0.CR9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface NioByteOutput.BufferWriter
A buffer writer for an NioByteOutput
.
Method Summary | |
---|---|
void |
accept(ByteBuffer buffer,
boolean eof)
Accept a buffer. |
void |
flush()
Flushes this stream by writing any buffered output to the underlying stream. |
ByteBuffer |
getBuffer()
Get a new buffer to be filled. |
Method Detail |
---|
ByteBuffer getBuffer()
void accept(ByteBuffer buffer, boolean eof) throws IOException
eof
flag will be set to true
.
This method should block until the entire buffer is consumed, or an error occurs.
buffer
- the buffer to sendeof
- true
if this is the last buffer which will be sent
IOException
- if an I/O error occursvoid flush() throws IOException
flush
in interface Flushable
IOException
- If an I/O error occurs
|
JBoss Marshalling 1.3.0.CR9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |