public abstract class AbstractBootstrapConfig<B extends AbstractBootstrap<B,C>,C extends Channel>
extends java.lang.Object
AbstractBootstrap
.限定符 | 构造器和说明 |
---|---|
protected |
AbstractBootstrapConfig(B bootstrap) |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<AttributeKey<?>,java.lang.Object> |
attrs()
Returns a copy of the configured attributes.
|
ChannelFactory<? extends C> |
channelFactory()
Returns the configured
ChannelFactory or null if non is configured yet. |
EventLoopGroup |
group()
Returns the configured
EventLoopGroup or null if non is configured yet. |
ChannelHandler |
handler()
Returns the configured
ChannelHandler or null if non is configured yet. |
java.net.SocketAddress |
localAddress()
Returns the configured local address or
null if non is configured yet. |
java.util.Map<ChannelOption<?>,java.lang.Object> |
options()
Returns a copy of the configured options.
|
java.lang.String |
toString() |
protected final B extends AbstractBootstrap<B,C> bootstrap
protected AbstractBootstrapConfig(B bootstrap)
public final java.net.SocketAddress localAddress()
null
if non is configured yet.public final ChannelFactory<? extends C> channelFactory()
ChannelFactory
or null
if non is configured yet.public final ChannelHandler handler()
ChannelHandler
or null
if non is configured yet.public final java.util.Map<ChannelOption<?>,java.lang.Object> options()
public final java.util.Map<AttributeKey<?>,java.lang.Object> attrs()
public final EventLoopGroup group()
EventLoopGroup
or null
if non is configured yet.public java.lang.String toString()
toString
在类中 java.lang.Object