| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | |
| private class | |
| private class | |
| private class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| protected boolean | |
| protected boolean | |
| private static final int | |
| protected final Nio2Endpoint | |
| private volatile boolean | |
| private final CompletionHandler | |
| private volatile SSLEngineResult. | |
| private final CompletionHandler | |
| private static final Log | |
| protected ByteBuffer | |
| protected ByteBuffer | |
| private static final StringManager | |
| protected volatile boolean | |
| protected SSLEngine | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. Implements java. Sends an SSL close message, will not physically close the connection here. |
| public void | close(boolean
Should the underlying socket be forcibly closed? force)Overrides org. Close the connection. |
| private void | |
| public Future | Returns: true if the network buffer has been flushed out and
is empty else false (as a future)Overrides org. Flush the channel. |
| public void | |
| public ByteBuffer | |
| public SSLEngine | |
| public SSLSupport | |
| public int | Returns: 0 if hand shake is complete, negative if the socket needs to close and positive if the handshake is incompleteOverrides org. Performs SSL handshake, non blocking, but performs NEED_TASK on the same thread. |
| protected int | |
| protected SSLEngineResult | |
| protected SSLEngineResult | |
| public boolean | |
| public boolean | |
| private int | |
| public Future | Returns: The number of bytes read, possibly zero, or-1 if the channel has reached end-of-streamThe buffer into which bytes are to be transferred dst)Overrides org. Implements java. Reads a sequence of bytes from this channel into the given buffer. |
| public <A> void | read(final ByteBuffer dst, final long timeout, final TimeUnit unit, final A attachment, final CompletionHandler<Integer, ? super A> handler)
Overrides org.
|
| public <A> void | read(final ByteBuffer[] dsts, final int offset, final int length, final long timeout, final TimeUnit unit, final A attachment, final CompletionHandler<Long, ? super A> handler)
Overrides org.
|
| public void | |
| public void | reset(AsynchronousSocketChannel
The new async channel to associate with this NIO2 channel channel, SocketWrapperBase<Nio2Channel> The new socket to associate with this NIO2 channel socket)Overrides org. Reset the channel. |
| protected SSLEngineResult. | |
| public Future | Returns: The number of bytes written, possibly zeroThe buffer from which bytes are to be retrieved src)Overrides org. Implements java. Writes a sequence of bytes to this channel from the given buffer. |
| public <A> void | write(final ByteBuffer src, final long timeout, final TimeUnit unit, final A attachment, final CompletionHandler<Integer, ? super A> handler)
Overrides org.
|
| public <A> void | write(final ByteBuffer[] srcs, final int offset, final int length, final long timeout, final TimeUnit unit, final A attachment, final CompletionHandler<Long, ? super A> handler)
Overrides org.
|