Masker, UTF8Checkerpublic interface ChannelFunction
| Modifier and Type | Method | Description |
|---|---|---|
void |
afterRead(java.nio.ByteBuffer buf,
int position,
int length) |
Is called on the
ByteBuffer after a read operation completes |
void |
beforeWrite(java.nio.ByteBuffer buf,
int position,
int length) |
Is called on the
ByteBuffer before a write operation completes |
void |
complete() |
Is called to complete the
ChannelFunction. |
void |
newFrame(FrameHeaderData headerData) |
void newFrame(FrameHeaderData headerData)
void afterRead(java.nio.ByteBuffer buf,
int position,
int length)
throws java.io.IOException
ByteBuffer after a read operation completesbuf - the ByteBuffer to operate onposition - the index in the ByteBuffer to start fromlength - the number of bytes to operate onjava.io.IOException - thrown if an error occursvoid beforeWrite(java.nio.ByteBuffer buf,
int position,
int length)
throws java.io.IOException
ByteBuffer before a write operation completesbuf - the ByteBuffer to operate onposition - the index in the ByteBuffer to start fromlength - the number of bytes to operate onjava.io.IOException - thrown if an error occursvoid complete()
throws java.io.IOException
ChannelFunction. Access it after complete
is called may result in unexpected behavior.java.io.IOException - thrown if an error occursCopyright © 2018. All rights reserved.