public interface SslChannel extends ConnectedChannel
EMPTY
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends SslChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends SslChannel> |
getHandshakeSetter()
Get the setter which can be used to change the handshake listener for this channel.
|
SSLSession |
getSslSession()
Get the current
SSLSession for this channel. |
void |
startHandshake()
Start or restart the SSL/TLS handshake.
|
getPeerAddress, getPeerAddress
getLocalAddress, getLocalAddress
close, getIoThread, getWorker
getOption, setOption, supportsOption
void startHandshake() throws IOException
IOException
- if an I/O error occursSSLSession getSslSession()
SSLSession
for this channel.SSLSession
ChannelListener.Setter<? extends SslChannel> getCloseSetter()
getCloseSetter
in interface BoundChannel
getCloseSetter
in interface CloseableChannel
getCloseSetter
in interface ConnectedChannel
ChannelListener.Setter<? extends SslChannel> getHandshakeSetter()
Copyright © 2021 JBoss by Red Hat. All rights reserved.