public static class NioEndpoint.NioBufferHandler extends java.lang.Object implements SecureNioChannel.ApplicationBufferHandler
Constructor and Description |
---|
NioEndpoint.NioBufferHandler(int readsize,
int writesize,
boolean direct) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
expand(java.nio.ByteBuffer buffer,
int remaining) |
java.nio.ByteBuffer |
getReadBuffer() |
java.nio.ByteBuffer |
getWriteBuffer() |
public NioEndpoint.NioBufferHandler(int readsize, int writesize, boolean direct)
public java.nio.ByteBuffer expand(java.nio.ByteBuffer buffer, int remaining)
expand
in interface SecureNioChannel.ApplicationBufferHandler
public java.nio.ByteBuffer getReadBuffer()
getReadBuffer
in interface SecureNioChannel.ApplicationBufferHandler
public java.nio.ByteBuffer getWriteBuffer()
getWriteBuffer
in interface SecureNioChannel.ApplicationBufferHandler
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.