| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| protected final TemporarySelectorsEnabledTransport |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Buffer | |
| private static void | failure(final Throwable failure, final CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler)
|
| public TemporarySelectorsEnabledTransport | |
| public void | read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult<K, L>> interceptor)
Implements org. Method reads data to the buffer. |
| public void | Returns: Future, using which it's possible to check the resultthe connection, final Buffer Connection to read fromthe message, where data will be read message, final CompletionHandler<ReadResult<Buffer, SocketAddress>> CompletionHandler, which will get notified, when read will be completedintercept to invoke on operation interceptor, final long operation timeout value value timeout, final TimeUnit the timeout unit timeunit)Method reads data to the message. |
| private int | read0(NIOConnection connection, Interceptor<ReadResult<K, L>> interceptor, ReadResult<Buffer, SocketAddress> currentResult, Buffer buffer, long timeout, TimeUnit timeunit)
|
| protected final int | read0(final NIOConnection connection, final ReadResult<Buffer, SocketAddress> currentResult, final Buffer buffer, final long timeout, final TimeUnit timeunit)
|
| protected abstract int |
| DEFAULT_BUFFER_SIZE | back to summary |
|---|---|
| private static final int DEFAULT_BUFFER_SIZE | |
| transport | back to summary |
|---|---|
| protected final TemporarySelectorsEnabledTransport transport | |
| TemporarySelectorReader | back to summary |
|---|---|
| public TemporarySelectorReader(TemporarySelectorsEnabledTransport transport) | |
| acquireBuffer | back to summary |
|---|---|
| protected Buffer acquireBuffer(Connection<L> connection) | |
| failure | back to summary |
|---|---|
| private static void failure(final Throwable failure, final CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler) | |
| getTransport | back to summary |
|---|---|
| public TemporarySelectorsEnabledTransport getTransport() | |
| read | back to summary |
|---|---|
| public void read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult<K, L>> interceptor) Implements org. Doc from org. Method reads data to the buffer.
| |
| read | back to summary |
|---|---|
| public void read(final Connection<SocketAddress> connection, final Buffer message, final CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, final Interceptor<ReadResult<K, L>> interceptor, final long timeout, final TimeUnit timeunit) Method reads data to the message.
| |
| read0 | back to summary |
|---|---|
| private int read0(NIOConnection connection, Interceptor<ReadResult<K, L>> interceptor, ReadResult<Buffer, SocketAddress> currentResult, Buffer buffer, long timeout, TimeUnit timeunit) throws IOException | |
| read0 | back to summary |
|---|---|
| protected final int read0(final NIOConnection connection, final ReadResult<Buffer, SocketAddress> currentResult, final Buffer buffer, final long timeout, final TimeUnit timeunit) throws IOException | |
| readNow0 | back to summary |
|---|---|
| protected abstract int readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer, SocketAddress> currentResult) throws IOException | |