public class UkcpServerBootstrap extends io.netty.bootstrap.AbstractBootstrap<UkcpServerBootstrap,UkcpServerChannel> implements Cloneable
AbstractBootstrap is package-private,
so the package of this class is 'io.netty.bootstrap'
| Constructor and Description |
|---|
UkcpServerBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
<T> UkcpServerBootstrap |
childAttr(io.netty.util.AttributeKey<T> childKey,
T value)
Set the specific
AttributeKey with the given value on every child Channel. |
UkcpServerBootstrap |
childHandler(io.netty.channel.ChannelHandler childHandler)
Set the
ChannelHandler which is used to serve the request for the Channel's. |
<T> UkcpServerBootstrap |
childOption(io.netty.channel.ChannelOption<T> childOption,
T value)
Allow to specify a
ChannelOption which is used for the Channel instances once they get created
(after the acceptor accepted the Channel). |
UkcpServerBootstrap |
clone() |
UkcpServerBootstrapConfig |
config() |
UkcpServerBootstrap |
validate() |
public <T> UkcpServerBootstrap childOption(io.netty.channel.ChannelOption<T> childOption, T value)
ChannelOption which is used for the Channel instances once they get created
(after the acceptor accepted the Channel). Use a value of null to remove a previous set
ChannelOption.public <T> UkcpServerBootstrap childAttr(io.netty.util.AttributeKey<T> childKey, T value)
AttributeKey with the given value on every child Channel. If the value is
null the AttributeKey is removedpublic UkcpServerBootstrap childHandler(io.netty.channel.ChannelHandler childHandler)
ChannelHandler which is used to serve the request for the Channel's.public UkcpServerBootstrap validate()
validate in class io.netty.bootstrap.AbstractBootstrap<UkcpServerBootstrap,UkcpServerChannel>public UkcpServerBootstrap clone()
clone in class io.netty.bootstrap.AbstractBootstrap<UkcpServerBootstrap,UkcpServerChannel>public final UkcpServerBootstrapConfig config()
config in class io.netty.bootstrap.AbstractBootstrap<UkcpServerBootstrap,UkcpServerChannel>Copyright © 2023. All rights reserved.