public class SocketBufferHandler extends Object
Constructor and Description |
---|
SocketBufferHandler(int readBufferSize,
int writeBufferSize,
boolean direct) |
Modifier and Type | Method and Description |
---|---|
void |
configureReadBufferForRead() |
void |
configureReadBufferForWrite() |
void |
configureWriteBufferForRead() |
void |
configureWriteBufferForWrite() |
void |
expand(int newSize) |
void |
free() |
ByteBuffer |
getReadBuffer() |
ByteBuffer |
getWriteBuffer() |
boolean |
isReadBufferEmpty() |
boolean |
isWriteBufferEmpty() |
boolean |
isWriteBufferWritable() |
void |
reset() |
public SocketBufferHandler(int readBufferSize, int writeBufferSize, boolean direct)
public void configureReadBufferForWrite()
public void configureReadBufferForRead()
public ByteBuffer getReadBuffer()
public boolean isReadBufferEmpty()
public void configureWriteBufferForWrite()
public void configureWriteBufferForRead()
public boolean isWriteBufferWritable()
public ByteBuffer getWriteBuffer()
public boolean isWriteBufferEmpty()
public void reset()
public void expand(int newSize)
public void free()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.