| Modifier and Type | Field and Description |
|---|---|
| private final StreamConnection | connection
Delegate connection. |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final ChannelListener. | handshakeSetter
Callback for notification of a handshake being finished. |
| private final JsseSslConduitEngine | sslConduitEngine
The conduit SSl engine. |
| private volatile int | |
| private static final AtomicIntegerFieldUpdater | |
| private static final Set | |
| private volatile boolean | tls
Indicates if tls is enabled. |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | JsseSslStreamConnection(StreamConnection connection, SSLEngine sslEngine, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | closeAction()
Overrides org. The close action to perform on this connection. |
| pack-priv SSLEngine | |
| public ChannelListener. | getHandshakeSetter()
Implements abstract org. Implements org. Get the setter which can be used to change the handshake listener for this channel. |
| public SocketAddress | getLocalAddress()
Implements org. Get the local address that this channel is bound to. |
| public <T> T | getOption(final Option<T>
the option to get option)Overrides org. Implements org. Get the value of a channel option. |
| public SocketAddress | getPeerAddress()
Implements org. Get the peer address of this channel. |
| public SSLSession | getSslSession()
Implements abstract org. Implements org. Get the current |
| protected void | |
| public boolean | isReadShutdown()
Overrides org. Determine whether reads have been shut down on this connection. |
| public boolean | Returns: true if writes were shut downOverrides org. Determine whether writes have been shut down on this connection. |
| protected void | notifyReadClosed()
Overrides org. Indicate to conduit handlers that reads have been closed. |
| protected void | notifyWriteClosed()
Overrides org. Indicate to conduit handlers that writes have been closed. |
| protected boolean | readClosed()
Overrides org. Indicate that reads have been closed on this connection. |
| public <T> T | setOption(final Option<T>
the option to set option, final T the value of the option to set value)Overrides org. Implements org. Set an option for this channel. |
| public synchronized void | startHandshake()
Implements abstract org. Implements org. Start or restart the SSL/TLS handshake. |
| public boolean | supportsOption(final Option<?>
the option option)Overrides org. Implements org. Determine whether an option is supported on this channel. |
| protected boolean | writeClosed()
Overrides org. Indicate that writes have been closed on this connection. |
| connection | back to summary |
|---|---|
| private final StreamConnection connection Delegate connection. | |
| FLAG_READ_CLOSE_REQUESTED | back to summary |
|---|---|
| private static final int FLAG_READ_CLOSE_REQUESTED | |
| FLAG_READ_CLOSED | back to summary |
|---|---|
| private static final int FLAG_READ_CLOSED | |
| FLAG_WRITE_CLOSE_REQUESTED | back to summary |
|---|---|
| private static final int FLAG_WRITE_CLOSE_REQUESTED | |
| FLAG_WRITE_CLOSED | back to summary |
|---|---|
| private static final int FLAG_WRITE_CLOSED | |
| handshakeSetter | back to summary |
|---|---|
| private final ChannelListener. Callback for notification of a handshake being finished. | |
| sslConduitEngine | back to summary |
|---|---|
| private final JsseSslConduitEngine sslConduitEngine The conduit SSl engine. | |
| state | back to summary |
|---|---|
| private volatile int state Hides org.
| |
| stateUpdater | back to summary |
|---|---|
| private static final AtomicIntegerFieldUpdater<JsseSslStreamConnection> stateUpdater | |
| SUPPORTED_OPTIONS | back to summary |
|---|---|
| private static final Set<Option<?>> SUPPORTED_OPTIONS | |
| tls | back to summary |
|---|---|
| private volatile boolean tls Indicates if tls is enabled. | |
| JsseSslStreamConnection | back to summary |
|---|---|
| public JsseSslStreamConnection(StreamConnection connection, SSLEngine sslEngine, final boolean startTls) | |
| JsseSslStreamConnection | back to summary |
|---|---|
| pack-priv JsseSslStreamConnection(StreamConnection connection, SSLEngine sslEngine, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)
References Deprecated
See corresponding docs for further information. | |
| closeAction | back to summary |
|---|---|
| protected void closeAction() throws IOException Overrides org. Doc from org. The close action to perform on this connection.
| |
| getEngine | back to summary |
|---|---|
| pack-priv SSLEngine getEngine() | |
| getHandshakeSetter | back to summary |
|---|---|
| public ChannelListener. Implements abstract org. Implements org. Doc from org. Get the setter which can be used to change the handshake listener for this channel.
| |
| getLocalAddress | back to summary |
|---|---|
| public SocketAddress getLocalAddress() Implements org. Doc from org. Get the local address that this channel is bound to.
| |
| getOption | back to summary |
|---|---|
| public <T> T getOption(final Option<T> option) throws IOException Overrides org. Implements org. Doc from org. Get the value of a channel option.
| |
| getPeerAddress | back to summary |
|---|---|
| public SocketAddress getPeerAddress() Implements org. Doc from org. Get the peer address of this channel.
| |
| getSslSession | back to summary |
|---|---|
| public SSLSession getSslSession() Implements abstract org. Implements org. Doc from org. Get the current
| |
| handleHandshakeFinished | back to summary |
|---|---|
| protected void handleHandshakeFinished() Callback method for notification of handshake finished. | |
| isReadShutdown | back to summary |
|---|---|
| public boolean isReadShutdown() Overrides org. Doc from org. Determine whether reads have been shut down on this connection.
| |
| isWriteShutdown | back to summary |
|---|---|
| public boolean isWriteShutdown() Overrides org. Determine whether writes have been shut down on this connection.
| |
| notifyReadClosed | back to summary |
|---|---|
| protected void notifyReadClosed() Overrides org. Doc from org. Indicate to conduit handlers that reads have been closed.
| |
| notifyWriteClosed | back to summary |
|---|---|
| protected void notifyWriteClosed() Overrides org. Doc from org. Indicate to conduit handlers that writes have been closed.
| |
| readClosed | back to summary |
|---|---|
| protected boolean readClosed() Overrides org. Doc from org. Indicate that reads have been closed on this connection.
| |
| setOption | back to summary |
|---|---|
| public <T> T setOption(final Option<T> option, final T value) throws IllegalArgumentException, IOException Overrides org. Implements org. Doc from org. Set an option for this channel. Unsupported options are ignored.
| |
| startHandshake | back to summary |
|---|---|
| public synchronized void startHandshake() throws IOException Implements abstract org. Implements org. Doc from org. Start or restart the SSL/TLS handshake. To force a complete SSL/TLS session renegotiation, the current session
should be invalidated prior to calling this method. This method is not needed for the initial handshake unless
the
| |
| supportsOption | back to summary |
|---|---|
| public boolean supportsOption(final Option<?> option) Overrides org. Implements org. Doc from org. Determine whether an option is supported on this channel. | |
| writeClosed | back to summary |
|---|---|
| protected boolean writeClosed() Overrides org. Doc from org. Indicate that writes have been closed on this connection.
| |