public static class NioEndpoint.NioBufferHandler extends Object implements SecureNioChannel.ApplicationBufferHandler
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() |
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-2014 Apache Software Foundation. All Rights Reserved.