public abstract class AbstractBootstrapConfig<B extends AbstractBootstrap<B,C>,C extends Channel> extends Object
AbstractBootstrap
.Modifier | Constructor and Description |
---|---|
protected |
AbstractBootstrapConfig(B bootstrap) |
Modifier and Type | Method and Description |
---|---|
Map<AttributeKey<?>,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. |
SocketAddress |
localAddress()
Returns the configured local address or
null if non is configured yet. |
Map<ChannelOption<?>,Object> |
options()
Returns a copy of the configured options.
|
String |
toString() |
protected final B extends AbstractBootstrap<B,C> bootstrap
protected AbstractBootstrapConfig(B bootstrap)
public final 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 Map<ChannelOption<?>,Object> options()
public final Map<AttributeKey<?>,Object> attrs()
public final EventLoopGroup group()
EventLoopGroup
or null
if non is configured yet.Copyright © 2008–2017 The Netty Project. All rights reserved.