CONF - Configuration implementationpublic abstract class ServerTransportConfig<CONF extends TransportConfig> extends TransportConfig
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ServerTransportConfig(Map<ChannelOption<?>,?> options,
                     Map<ChannelOption<?>,?> childOptions,
                     Supplier<? extends SocketAddress> bindAddress)
Default ServerTransportConfig with options. 
 | 
protected  | 
ServerTransportConfig(ServerTransportConfig<CONF> parent)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Class<? extends Channel> | 
channelType(boolean isDomainSocket)
Return the channel type this configuration is associated with, it can be one of the following. 
 | 
Map<AttributeKey<?>,?> | 
childAttributes()
Return the read-only default channel attributes for each remote connection. 
 | 
ConnectionObserver | 
childObserver()
Return the configured  
ConnectionObserver if any or
 ConnectionObserver.emptyListener() for each remote connection. | 
Map<ChannelOption<?>,?> | 
childOptions()
Return the read-only  
ChannelOption map for each remote connection. | 
protected ConnectionObserver | 
defaultChildObserver()
Return the configured child lifecycle  
ConnectionObserver if any or ConnectionObserver.emptyListener(). | 
protected ConnectionObserver | 
defaultConnectionObserver()
Return the configured default  
ConnectionObserver. | 
protected ChannelPipelineConfigurer | 
defaultOnChannelInit()
Return the default callback if any or  
ChannelPipelineConfigurer.emptyConfigurer(). | 
Consumer<? super CONF> | 
doOnBind()
Return the configured callback or null. 
 | 
Consumer<? super DisposableServer> | 
doOnBound()
Return the configured callback or null. 
 | 
Consumer<? super Connection> | 
doOnConnection()
Return the configured callback or null. 
 | 
Consumer<? super DisposableServer> | 
doOnUnbound()
Return the configured callback or null. 
 | 
protected EventLoopGroup | 
eventLoopGroup()
Return the configured  
EventLoopGroup. | 
attributes, bindAddress, channelGroup, channelHash, channelInitializer, channelOperationsProvider, connectionFactory, connectionObserver, defaultLoggingHandler, defaultLoopResources, defaultMetricsRecorder, doOnChannelInit, isPreferNative, loggingHandler, loggingHandler, loopResources, metricsRecorder, metricsRecorder, metricsRecorderInternal, options, updateMapprotected ServerTransportConfig(Map<ChannelOption<?>,?> options, Map<ChannelOption<?>,?> childOptions, Supplier<? extends SocketAddress> bindAddress)
options - default options for the selectorchildOptions - default options for each connected channelbindAddress - the local addressprotected ServerTransportConfig(ServerTransportConfig<CONF> parent)
public final Map<AttributeKey<?>,?> childAttributes()
public final ConnectionObserver childObserver()
ConnectionObserver if any or
 ConnectionObserver.emptyListener() for each remote connection.ConnectionObserver if any or
 ConnectionObserver.emptyListener() for each remote connectionpublic final Map<ChannelOption<?>,?> childOptions()
ChannelOption map for each remote connection.ChannelOption map for each remote connection@Nullable public final Consumer<? super CONF> doOnBind()
@Nullable public final Consumer<? super DisposableServer> doOnBound()
@Nullable public final Consumer<? super Connection> doOnConnection()
@Nullable public final Consumer<? super DisposableServer> doOnUnbound()
protected Class<? extends Channel> channelType(boolean isDomainSocket)
TransportConfigchannelType in class TransportConfigisDomainSocket - true if DomainSocketChannel or
 ServerDomainSocketChannel is needed, false otherwiseprotected ConnectionObserver defaultChildObserver()
ConnectionObserver if any or ConnectionObserver.emptyListener().ConnectionObserver if any or ConnectionObserver.emptyListener()protected ConnectionObserver defaultConnectionObserver()
TransportConfigConnectionObserver.defaultConnectionObserver in class TransportConfigConnectionObserverprotected ChannelPipelineConfigurer defaultOnChannelInit()
TransportConfigChannelPipelineConfigurer.emptyConfigurer().defaultOnChannelInit in class TransportConfigChannelPipelineConfigurer.emptyConfigurer()protected final EventLoopGroup eventLoopGroup()
TransportConfigEventLoopGroup.eventLoopGroup in class TransportConfigEventLoopGroup