public interface ExtendedRemoteEndpointAwareSslOptions extends RemoteEndpointAwareSSLOptions
Modifier and Type | Method and Description |
---|---|
io.netty.handler.ssl.SslHandler |
newSSLHandler(io.netty.channel.socket.SocketChannel channel,
EndPoint remoteEndpoint)
Creates a new SSL handler for the given Netty channel and the given remote endpoint.
|
newSSLHandler
newSSLHandler
io.netty.handler.ssl.SslHandler newSSLHandler(io.netty.channel.socket.SocketChannel channel, EndPoint remoteEndpoint)
This gets called each time the driver opens a new connection to a Cassandra host. The newly created handler will be added to the channel's pipeline to provide SSL support for the connection.
You don't necessarily need to implement this method directly; see the provided
implementations: RemoteEndpointAwareJdkSSLOptions
and RemoteEndpointAwareNettySSLOptions
.
channel
- the channel.remoteEndpoint
- the remote endpoint information.SslHandler
.Copyright © 2012–2020. All rights reserved.