public static class NioEndpoint.NioBufferHandler extends Object implements SecureNioChannel.ApplicationBufferHandler
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
readbuf |
protected ByteBuffer |
writebuf |
| Constructor and Description |
|---|
NioEndpoint.NioBufferHandler(int readsize,
int writesize,
boolean direct) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
expand(ByteBuffer buffer,
int remaining) |
ByteBuffer |
getReadBuffer() |
ByteBuffer |
getWriteBuffer() |
protected ByteBuffer readbuf
protected ByteBuffer writebuf
public NioEndpoint.NioBufferHandler(int readsize,
int writesize,
boolean direct)
public ByteBuffer expand(ByteBuffer buffer, int remaining)
expand in interface SecureNioChannel.ApplicationBufferHandlerpublic ByteBuffer getReadBuffer()
getReadBuffer in interface SecureNioChannel.ApplicationBufferHandlerpublic ByteBuffer getWriteBuffer()
getWriteBuffer in interface SecureNioChannel.ApplicationBufferHandlerCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.