Package org.apache.cassandra.net
Class SocketFactory
java.lang.Object
org.apache.cassandra.net.SocketFactory
A factory for building Netty
Channels. Channels here are setup with a pipeline to participate
in the internode protocol handshake, either the inbound or outbound side as per the method invoked.-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.handler.ssl.SslHandlernewSslHandler(io.netty.channel.Channel channel, io.netty.handler.ssl.SslContext sslContext, InetSocketAddress peer) Creates a newSslHandlerfrom provided SslContext.io.netty.channel.EventLoopGroupvoid
-
Method Details
-
newSslHandler
public static io.netty.handler.ssl.SslHandler newSslHandler(io.netty.channel.Channel channel, io.netty.handler.ssl.SslContext sslContext, @Nullable InetSocketAddress peer) Creates a newSslHandlerfrom provided SslContext.- Parameters:
peer- enables endpoint verification for remote address when not null
-
outboundStreamingGroup
public io.netty.channel.EventLoopGroup outboundStreamingGroup() -
shutdownNow
public void shutdownNow()
-