| Modifier and Type | Field and Description |
|---|---|
| private final ChannelListener. | |
| private final SslChannel |
| Access | Constructor and Description |
|---|---|
| public | AssembledSslChannel(final SuspendableReadChannel
the read channel readChannel, final SuspendableWriteChannel the write channel writeChannel)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public ChannelListener. | getCloseSetter()
Overrides org. Implements org. Get the setter which can be used to change the close listener for this channel. |
| public ChannelListener. | getHandshakeSetter()
Implements org. Get the setter which can be used to change the handshake listener for this channel. |
| public SSLSession | getSslSession()
Implements org. Get the current |
| public void | startHandshake()
Implements org. Start or restart the SSL/TLS handshake. |
| handshakeSetter | back to summary |
|---|---|
| private final ChannelListener. | |
| sslChannel | back to summary |
|---|---|
| private final SslChannel sslChannel | |
| AssembledSslChannel | back to summary |
|---|---|
| public AssembledSslChannel(final SuspendableReadChannel readChannel, final SuspendableWriteChannel writeChannel) Construct a new instance. At least one side must be an SSL channel.
| |
| getCloseSetter | back to summary |
|---|---|
| public ChannelListener. Overrides org. Implements org. Doc from org. Get the setter which can be used to change the close listener for this channel. If the channel is already closed, then the listener will not be called.
| |
| getHandshakeSetter | back to summary |
|---|---|
| public ChannelListener. Implements org. Doc from org. Get the setter which can be used to change the handshake listener for this channel.
| |
| getSslSession | back to summary |
|---|---|
| public SSLSession getSslSession() Implements org. Doc from org. Get the current
| |
| startHandshake | back to summary |
|---|---|
| public void startHandshake() throws IOException 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 as sending or receiving over the channel will automatically initiate it.
| |