| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Buffer | |
| private static int | |
| private static void | |
| pack-priv static void | fill(final BufferArray bufferArray, final int totalBufferSize, final DirectByteBufferRecord ioRecord)
|
| public static int | |
| public static int | flushByteBuffers(final SocketChannel channel, final ByteBuffer[] byteBuffer, final int firstBufferOffest, final int numberOfBuffers)
|
| public static int | |
| public static int | |
| public static int | |
| private static int | |
| public static int | |
| public static int |
| LOGGER | back to summary |
|---|---|
| pack-priv static final Logger LOGGER | |
| TCPNIOUtils | back to summary |
|---|---|
| public TCPNIOUtils() | |
| allocateAndReadBuffer | back to summary |
|---|---|
| public static Buffer allocateAndReadBuffer(final TCPNIOConnection connection) throws IOException | |
| calcWriteBufferSize | back to summary |
|---|---|
| private static int calcWriteBufferSize(final TCPNIOConnection connection, final int bufferSize) | |
| fill | back to summary |
|---|---|
| private static void fill(Buffer src, int size, ByteBuffer dstByteBuffer) | |
| fill | back to summary |
|---|---|
| pack-priv static void fill(final BufferArray bufferArray, final int totalBufferSize, final DirectByteBufferRecord ioRecord) | |
| flushByteBuffer | back to summary |
|---|---|
| public static int flushByteBuffer(final SocketChannel channel, final ByteBuffer byteBuffer) throws IOException | |
| flushByteBuffers | back to summary |
|---|---|
| public static int flushByteBuffers(final SocketChannel channel, final ByteBuffer[] byteBuffer, final int firstBufferOffest, final int numberOfBuffers) throws IOException | |
| readBuffer | back to summary |
|---|---|
| public static int readBuffer(final TCPNIOConnection connection, final Buffer buffer) throws IOException | |
| readCompositeBuffer | back to summary |
|---|---|
| public static int readCompositeBuffer(final TCPNIOConnection connection, final CompositeBuffer buffer) throws IOException | |
| readSimpleBuffer | back to summary |
|---|---|
| public static int readSimpleBuffer(final TCPNIOConnection connection, final Buffer buffer) throws IOException | |
| readSimpleByteBuffer | back to summary |
|---|---|
| private static int readSimpleByteBuffer(final TCPNIOConnection tcpConnection, final ByteBuffer byteBuffer) throws IOException | |
| writeCompositeBuffer | back to summary |
|---|---|
| public static int writeCompositeBuffer(final TCPNIOConnection connection, final CompositeBuffer buffer) throws IOException | |
| writeSimpleBuffer | back to summary |
|---|---|
| public static int writeSimpleBuffer(final TCPNIOConnection connection, final Buffer buffer) throws IOException | |