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.ApplicationBufferHandler
public ByteBuffer getReadBuffer()
getReadBuffer
in interface SecureNioChannel.ApplicationBufferHandler
public ByteBuffer getWriteBuffer()
getWriteBuffer
in interface SecureNioChannel.ApplicationBufferHandler
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.