
public abstract class SslConnection extends StreamConnection implements SslChannel
CloseListenerSettable.Setter<C extends Channel>threadEMPTY| Modifier | Constructor and Description |
|---|---|
protected |
SslConnection(XnioIoThread thread) |
| Modifier and Type | Method and Description |
|---|---|
ChannelListener.Setter<? extends SslConnection> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
abstract ChannelListener.Setter<? extends SslConnection> |
getHandshakeSetter()
Get the setter which can be used to change the handshake listener for this channel.
|
abstract SSLSession |
getSslSession()
Get the current
SSLSession for this channel. |
abstract void |
startHandshake()
Start or restart the SSL/TLS handshake.
|
getCloseListener, getSinkChannel, getSourceChannel, setCloseListener, setSinkConduit, setSourceConduitclose, closeAction, getAttachment, getIoThread, getLocalAddress, getOption, getPeerAddress, getWorker, isOpen, isReadShutdown, isWriteShutdown, notifyReadClosed, notifyWriteClosed, readClosed, setOption, supportsOption, writeClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPeerAddress, getPeerAddressgetLocalAddress, getLocalAddressclose, getIoThread, getWorkergetOption, setOption, supportsOptionprotected SslConnection(XnioIoThread thread)
public abstract void startHandshake()
throws IOException
startHandshake in interface SslChannelIOException - if an I/O error occurspublic abstract SSLSession getSslSession()
SSLSession for this channel.getSslSession in interface SslChannelSSLSessionpublic abstract ChannelListener.Setter<? extends SslConnection> getHandshakeSetter()
getHandshakeSetter in interface SslChannelpublic ChannelListener.Setter<? extends SslConnection> getCloseSetter()
getCloseSetter in interface BoundChannelgetCloseSetter in interface CloseableChannelgetCloseSetter in interface ConnectedChannelgetCloseSetter in interface SslChannelgetCloseSetter in class StreamConnectionCopyright © 2010 JBoss, a division of Red Hat, Inc.