public interface ProtocolCodec
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProtocolCodec.BufferState |
| Modifier and Type | Method and Description |
|---|---|
ProtocolCodec.BufferState |
flush()
Attempts to complete the previous write which did not complete.
|
boolean |
full() |
long |
getReadCounter() |
long |
getWriteCounter() |
java.lang.Object |
read()
Non-blocking channel based decoding.
|
void |
setReadableByteChannel(java.nio.channels.ReadableByteChannel channel) |
void |
setWritableByteChannel(java.nio.channels.WritableByteChannel channel) |
ProtocolCodec.BufferState |
write(java.lang.Object value)
Non-blocking channel based encoding.
|
void setReadableByteChannel(java.nio.channels.ReadableByteChannel channel)
channel - java.lang.Object read()
throws java.io.IOException
java.io.IOExceptionlong getReadCounter()
void setWritableByteChannel(java.nio.channels.WritableByteChannel channel)
ProtocolCodec.BufferState write(java.lang.Object value) throws java.io.IOException
java.io.IOExceptionProtocolCodec.BufferState flush() throws java.io.IOException
java.io.IOExceptionboolean full()
long getWriteCounter()
Copyright © 2014 Red Hat. All Rights Reserved.