| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| pack-priv ConnectionObserver | |
| pack-priv Map | |
| pack-priv Consumer | |
| pack-priv Consumer | |
| pack-priv Consumer | |
| pack-priv Consumer |
| Access | Constructor and Description |
|---|---|
| protected | ServerTransportConfig(Map<ChannelOption<?>, ?>
default options for the selector options, Map<ChannelOption<?>, ?> default options for each connected channel childOptions, Supplier<? extends SocketAddress> the local address bindAddress)Default ServerTransportConfig with options. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected Class | channelType(boolean
true if isDomainSocket)io. or
io. is needed, false otherwiseImplements abstract reactor. |
| public final Map | Returns: the read-only default channel attributes for each remote connectionReturn the read-only default channel attributes for each remote connection. |
| pack-priv final EventLoopGroup | Returns: the configuredEventLoopGroup used for the remote connection.Return the configured |
| public final ConnectionObserver | Returns: the configuredConnectionObserver if any or
ConnectionObserver#emptyListener() for each remote connectionReturn the configured |
| public final Map | Returns: the read-onlyChannelOption map for each remote connectionReturn the read-only |
| protected ConnectionObserver | Returns: the configured child lifecycleConnectionObserver if any or ConnectionObserver#emptyListener()Return the configured child lifecycle |
| protected ConnectionObserver | defaultConnectionObserver()
Implements abstract reactor. ConnectionObserver.
|
| protected ChannelPipelineConfigurer | defaultOnChannelInit()
Implements abstract reactor. ChannelPipelineConfigurer#emptyConfigurer().
|
| public final Consumer | |
| public final Consumer | |
| public final Consumer | |
| public final Consumer | |
| protected final EventLoopGroup | eventLoopGroup()
Implements abstract reactor. EventLoopGroup.
|
| childAttrs | back to summary |
|---|---|
| pack-priv Map<AttributeKey<?>, ?> childAttrs | |
| childObserver | back to summary |
|---|---|
| pack-priv ConnectionObserver childObserver | |
| childOptions | back to summary |
|---|---|
| pack-priv Map<ChannelOption<?>, ?> childOptions | |
| doOnBind | back to summary |
|---|---|
| pack-priv Consumer<? super CONF> doOnBind | |
| doOnBound | back to summary |
|---|---|
| pack-priv Consumer<? super DisposableServer> doOnBound | |
| doOnConnection | back to summary |
|---|---|
| pack-priv Consumer<? super Connection> doOnConnection | |
| doOnUnbound | back to summary |
|---|---|
| pack-priv Consumer<? super DisposableServer> doOnUnbound | |
| ServerTransportConfig | back to summary |
|---|---|
| protected ServerTransportConfig(Map<ChannelOption<?>, ?> options, Map<ChannelOption<?>, ?> childOptions, Supplier<? extends SocketAddress> bindAddress) Default ServerTransportConfig with options.
| |
| ServerTransportConfig | back to summary |
|---|---|
| protected ServerTransportConfig(ServerTransportConfig<CONF> parent) | |
| channelType | back to summary |
|---|---|
| protected Class Implements abstract reactor. Doc from reactor. Return the channel type this configuration is associated with, it can be one of the following.
| |
| childAttributes | back to summary |
|---|---|
| public final Map Return the read-only default channel attributes for each remote connection.
| |
| childEventLoopGroup | back to summary |
|---|---|
| pack-priv final EventLoopGroup childEventLoopGroup() Return the configured
| |
| childObserver | back to summary |
|---|---|
| public final ConnectionObserver childObserver() Return the configured
| |
| childOptions | back to summary |
|---|---|
| public final Map Return the read-only
| |
| defaultChildObserver | back to summary |
|---|---|
| protected ConnectionObserver defaultChildObserver() Return the configured child lifecycle
| |
| defaultConnectionObserver | back to summary |
|---|---|
| protected ConnectionObserver defaultConnectionObserver() Implements abstract reactor. Doc from reactor. Return the configured default
| |
| defaultOnChannelInit | back to summary |
|---|---|
| protected ChannelPipelineConfigurer defaultOnChannelInit() Implements abstract reactor. Doc from reactor. Return the default callback if any or
| |
| doOnBind | back to summary |
|---|---|
| public final Consumer Return the configured callback or null. | |
| doOnBound | back to summary |
|---|---|
| public final Consumer Return the configured callback or null.
| |
| doOnConnection | back to summary |
|---|---|
| public final Consumer Return the configured callback or null.
| |
| doOnUnbound | back to summary |
|---|---|
| public final Consumer Return the configured callback or null.
| |
| eventLoopGroup | back to summary |
|---|---|
| protected final EventLoopGroup eventLoopGroup() Implements abstract reactor. Doc from reactor. Return the configured
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Consumer | |
| pack-priv final Consumer |
| Access | Constructor and Description |
|---|---|
| pack-priv | ServerTransportDoOn(Consumer<? super DisposableServer> doOnBound, Consumer<? super DisposableServer> doOnUnbound)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onStateChange(Connection
the connection reference connection, ConnectionObserver.the new State newStateImplements reactor. |
| doOnBound | back to summary |
|---|---|
| pack-priv final Consumer<? super DisposableServer> doOnBound | |
| doOnUnbound | back to summary |
|---|---|
| pack-priv final Consumer<? super DisposableServer> doOnUnbound | |
| ServerTransportDoOn | back to summary |
|---|---|
| pack-priv ServerTransportDoOn(Consumer<? super DisposableServer> doOnBound, Consumer<? super DisposableServer> doOnUnbound) | |
| onStateChange | back to summary |
|---|---|
| public void onStateChange(Connection connection, ConnectionObserver. Implements reactor. Doc from reactor. React on connection state change (e.g. http request or response).
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ChannelGroup | |
| pack-priv final Consumer |
| Access | Constructor and Description |
|---|---|
| pack-priv | ServerTransportDoOnConnection(ChannelGroup channelGroup, Consumer<? super Connection> doOnConnection)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onStateChange(Connection
the connection reference connection, ConnectionObserver.the new State newStateImplements reactor. |
| channelGroup | back to summary |
|---|---|
| pack-priv final ChannelGroup channelGroup | |
| doOnConnection | back to summary |
|---|---|
| pack-priv final Consumer<? super Connection> doOnConnection | |
| ServerTransportDoOnConnection | back to summary |
|---|---|
| pack-priv ServerTransportDoOnConnection(ChannelGroup channelGroup, Consumer<? super Connection> doOnConnection) | |
| onStateChange | back to summary |
|---|---|
| public void onStateChange(Connection connection, ConnectionObserver. Implements reactor. Doc from reactor. React on connection state change (e.g. http request or response).
| |