public final class UdpClientConfig extends ClientTransportConfig<UdpClientConfig>
| Modifier and Type | Method and Description |
|---|---|
ChannelOperations.OnSetup |
channelOperationsProvider()
Return the associated
ChannelOperations.OnSetup, config implementations might override this. |
protected Class<? extends Channel> |
channelType(boolean isDomainSocket)
Return the channel type this configuration is associated with, it can be one of the following.
|
protected ChannelFactory<? extends Channel> |
connectionFactory(EventLoopGroup elg,
boolean isDomainSocket)
Return the
ChannelFactory which is used to create Channel instances. |
protected AddressResolverGroup<?> |
defaultAddressResolverGroup()
Provides a global
AddressResolverGroup from UdpResources
that is shared amongst all UDP 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.
|
InternetProtocolFamily |
family()
Return the configured
InternetProtocolFamily to run with or null. |
channelHash, connectionProvider, defaultConnectionObserver, defaultOnChannelInit, doOnConnect, doOnConnected, doOnDisconnected, eventLoopGroup, getNameResolverProvider, hasProxy, proxyProvider, proxyProvider, proxyProviderSupplier, proxyProviderSupplier, remoteAddress, resolver, resolverInternalattributes, bindAddress, channelGroup, channelInitializer, connectionObserver, doOnChannelInit, isPreferNative, loggingHandler, loggingHandler, loopResources, metricsRecorder, metricsRecorder, metricsRecorderInternal, options, updateMappublic final ChannelOperations.OnSetup channelOperationsProvider()
TransportConfigChannelOperations.OnSetup, config implementations might override this.channelOperationsProvider in class TransportConfigChannelOperations.OnSetup@Nullable public final InternetProtocolFamily family()
InternetProtocolFamily to run with or null.InternetProtocolFamily to run with or nullprotected Class<? extends Channel> channelType(boolean isDomainSocket)
TransportConfigchannelType in class ClientTransportConfig<UdpClientConfig>isDomainSocket - true if DomainSocketChannel or
ServerDomainSocketChannel is needed, false otherwiseprotected ChannelFactory<? extends Channel> connectionFactory(EventLoopGroup elg, boolean isDomainSocket)
TransportConfigChannelFactory which is used to create Channel instances.connectionFactory in class TransportConfigelg - the EventLoopGroupisDomainSocket - true if DomainSocketChannel or
ServerDomainSocketChannel is needed, false otherwiseChannelFactory which is used to create Channel instances.protected AddressResolverGroup<?> defaultAddressResolverGroup()
AddressResolverGroup from UdpResources
that is shared amongst all UDP clients. AddressResolverGroup uses the global
LoopResources from UdpResources.defaultAddressResolverGroup in class ClientTransportConfig<UdpClientConfig>AddressResolverGroupprotected LoggingHandler defaultLoggingHandler()
TransportConfigLoggingHandler to wiretap this transport.defaultLoggingHandler in class TransportConfigLoggingHandler to wiretap this transportprotected LoopResources defaultLoopResources()
TransportConfigLoopResources for this transport.defaultLoopResources in class TransportConfigLoopResources for this transportprotected ChannelMetricsRecorder defaultMetricsRecorder()
TransportConfigdefaultMetricsRecorder in class TransportConfig