public class AssembledSslChannel extends AssembledConnectedChannel implements SslChannel
EMPTY| Constructor and Description |
|---|
AssembledSslChannel(SuspendableReadChannel readChannel,
SuspendableWriteChannel writeChannel)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelListener.Setter<? extends AssembledSslChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends AssembledSslChannel> |
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.
|
getLocalAddress, getLocalAddress, getPeerAddress, getPeerAddressclose, getIoThread, getOption, getWorker, isOpen, setOption, supportsOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPeerAddress, getPeerAddressgetLocalAddress, getLocalAddressclose, getIoThread, getWorkergetOption, setOption, supportsOptionpublic AssembledSslChannel(SuspendableReadChannel readChannel, SuspendableWriteChannel writeChannel)
readChannel - the read channelwriteChannel - the write channelpublic void startHandshake()
throws IOException
SslChannelstartHandshake in interface SslChannelIOException - if an I/O error occurspublic SSLSession getSslSession()
SslChannelSSLSession for this channel.getSslSession in interface SslChannelSSLSessionpublic ChannelListener.Setter<? extends AssembledSslChannel> getHandshakeSetter()
SslChannelgetHandshakeSetter in interface SslChannelpublic ChannelListener.Setter<? extends AssembledSslChannel> getCloseSetter()
CloseableChannelgetCloseSetter in interface BoundChannelgetCloseSetter in interface CloseableChannelgetCloseSetter in interface ConnectedChannelgetCloseSetter in interface SslChannelgetCloseSetter in class AssembledConnectedChannelCopyright © 2016 JBoss by Red Hat. All rights reserved.