public class CacheClientChannelInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Modifier and Type | Field and Description |
|---|---|
private SSLContext |
sslContext
The (optional) secure context associated with the channel.
|
private VersionNegotiatorFactory |
versionNegotiatorFactory
The factory used to create the
VersionNegotiator
upon initialization of the channel. |
| Constructor and Description |
|---|
CacheClientChannelInitializer(SSLContext sslContext,
VersionNegotiatorFactory factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initChannel(io.netty.channel.Channel channel) |
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedprivate final SSLContext sslContext
private final VersionNegotiatorFactory versionNegotiatorFactory
VersionNegotiator
upon initialization of the channel.public CacheClientChannelInitializer(SSLContext sslContext, VersionNegotiatorFactory factory)
sslContext - the secure context (if any) to be associated with the channelfactory - creator of object used to broker the version of the distributed cache protocol with the serviceCopyright © 2022 Apache NiFi Project. All rights reserved.