public final class BootstrapConfig extends AbstractBootstrapConfig<Bootstrap,Channel>
Bootstrap
的配置。
bootstrap
Modifier and Type | Method and Description |
---|---|
java.net.SocketAddress |
remoteAddress()
如果尚未配置,则返回已配置的远程地址或
null 。
|
AddressResolverGroup<?> |
resolver()
返回已配置的 AddressResolverGroup 或默认值(如果未配置)。
|
java.lang.String |
toString() |
attrs, channelFactory, group, handler, localAddress, options
public java.net.SocketAddress remoteAddress()
null
。
public AddressResolverGroup<?> resolver()
AddressResolverGroup
或默认(如果未配置)。
public java.lang.String toString()
Copyright © 2008–2018 The Netty Project. All rights reserved.