public final class TcpClientConfig extends ClientTransportConfig<TcpClientConfig>
Modifier and Type | Method and Description |
---|---|
int |
channelHash() |
ChannelOperations.OnSetup |
channelOperationsProvider()
Return the associated
ChannelOperations.OnSetup , config implementations might override this. |
protected AddressResolverGroup<?> |
defaultAddressResolverGroup()
Provides a global
AddressResolverGroup from TcpResources
that is shared amongst all TCP clients. |
protected LoggingHandler |
defaultLoggingHandler()
Return the default
LoggingHandler to wiretap this transport. |
protected LoopResources |
defaultLoopResources()
Return the default
LoopResources for this transport. |
protected ChannelMetricsRecorder |
defaultMetricsRecorder()
Return the configured metrics recorder.
|
protected ChannelPipelineConfigurer |
defaultOnChannelInit()
Return the default callback if any or
ChannelPipelineConfigurer.emptyConfigurer() . |
boolean |
isSecure()
Return true if that
TcpClient secured via SSL transport. |
SslProvider |
sslProvider()
Return the current
SslProvider if that TcpClient secured via SSL
transport or null. |
channelType, connectionProvider, defaultConnectionObserver, doOnConnect, doOnConnected, doOnDisconnected, eventLoopGroup, getNameResolverProvider, hasProxy, proxyProvider, proxyProvider, remoteAddress, resolver, resolverInternal
attributes, bindAddress, bindAddress, channelGroup, channelInitializer, connectionFactory, connectionObserver, doOnChannelInit, isPreferNative, loggingHandler, loggingHandler, loopResources, metricsRecorder, metricsRecorder, metricsRecorderInternal, options, updateMap
public int channelHash()
channelHash
in class ClientTransportConfig<TcpClientConfig>
public ChannelOperations.OnSetup channelOperationsProvider()
TransportConfig
ChannelOperations.OnSetup
, config implementations might override this.channelOperationsProvider
in class TransportConfig
ChannelOperations.OnSetup
public final boolean isSecure()
TcpClient
secured via SSL transport.TcpClient
secured via SSL transport@Nullable public SslProvider sslProvider()
SslProvider
if that TcpClient
secured via SSL
transport or null.SslProvider
if that TcpClient
secured via SSL
transport or nullprotected AddressResolverGroup<?> defaultAddressResolverGroup()
AddressResolverGroup
from TcpResources
that is shared amongst all TCP clients. AddressResolverGroup
uses the global
LoopResources
from TcpResources
.defaultAddressResolverGroup
in class ClientTransportConfig<TcpClientConfig>
AddressResolverGroup
protected LoggingHandler defaultLoggingHandler()
TransportConfig
LoggingHandler
to wiretap this transport.defaultLoggingHandler
in class TransportConfig
LoggingHandler
to wiretap this transportprotected LoopResources defaultLoopResources()
TransportConfig
LoopResources
for this transport.defaultLoopResources
in class TransportConfig
LoopResources
for this transportprotected ChannelMetricsRecorder defaultMetricsRecorder()
TransportConfig
defaultMetricsRecorder
in class TransportConfig
protected ChannelPipelineConfigurer defaultOnChannelInit()
TransportConfig
ChannelPipelineConfigurer.emptyConfigurer()
.defaultOnChannelInit
in class ClientTransportConfig<TcpClientConfig>
ChannelPipelineConfigurer.emptyConfigurer()