public static class NioEndpoint.NioBufferHandler extends java.lang.Object implements SecureNioChannel.ApplicationBufferHandler
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
readbuf |
protected java.nio.ByteBuffer |
writebuf |
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() |
protected java.nio.ByteBuffer readbuf
protected java.nio.ByteBuffer writebuf
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-2015 Apache Software Foundation. All Rights Reserved.