| 程序包 | 说明 |
|---|---|
| io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
| io.netty.channel.pool |
Implementations and API for
Channel pools. |
| io.netty.testsuite.transport.sctp |
Test suite classes for sctp transport
|
| io.netty.testsuite.transport.socket |
Test suite classes for socket
|
| 限定符和类型 | 方法和说明 |
|---|---|
Bootstrap |
Bootstrap.clone() |
Bootstrap |
Bootstrap.clone(EventLoopGroup group)
Returns a deep clone of this bootstrap which has the identical configuration except that it uses
the given
EventLoopGroup. |
Bootstrap |
Bootstrap.disableResolver()
Disables address name resolution.
|
Bootstrap |
Bootstrap.remoteAddress(java.net.InetAddress inetHost,
int inetPort) |
Bootstrap |
Bootstrap.remoteAddress(java.net.SocketAddress remoteAddress)
The
SocketAddress to connect to once the connect() method
is called. |
Bootstrap |
Bootstrap.remoteAddress(java.lang.String inetHost,
int inetPort) |
Bootstrap |
Bootstrap.resolver(AddressResolverGroup<?> resolver)
Sets the
NameResolver which will resolve the address of the unresolved named address. |
Bootstrap |
Bootstrap.validate() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Bootstrap |
SimpleChannelPool.bootstrap()
Returns the
Bootstrap this pool will use to open new connections. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ChannelFuture |
SimpleChannelPool.connectChannel(Bootstrap bs)
Bootstrap a new
Channel. |
| 构造器和说明 |
|---|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
FixedChannelPool.AcquireTimeoutAction action,
long acquireTimeoutMillis,
int maxConnections,
int maxPendingAcquires)
Creates a new instance.
|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
FixedChannelPool.AcquireTimeoutAction action,
long acquireTimeoutMillis,
int maxConnections,
int maxPendingAcquires,
boolean releaseHealthCheck)
Creates a new instance.
|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
FixedChannelPool.AcquireTimeoutAction action,
long acquireTimeoutMillis,
int maxConnections,
int maxPendingAcquires,
boolean releaseHealthCheck,
boolean lastRecentUsed)
Creates a new instance.
|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
int maxConnections)
Creates a new instance using the
ChannelHealthChecker.ACTIVE. |
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
int maxConnections,
int maxPendingAcquires)
Creates a new instance using the
ChannelHealthChecker.ACTIVE. |
SimpleChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler)
Creates a new instance using the
ChannelHealthChecker.ACTIVE. |
SimpleChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck)
Creates a new instance.
|
SimpleChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
boolean releaseHealthCheck)
Creates a new instance.
|
SimpleChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
boolean releaseHealthCheck,
boolean lastRecentUsed)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.util.List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap,Bootstrap>> |
AbstractSctpTest.newFactories() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
AbstractSctpTest.configure(ServerBootstrap serverBootstrap,
Bootstrap bootstrap,
ByteBufAllocator allocator) |
void |
SctpEchoTest.testSimpleEcho(ServerBootstrap sb,
Bootstrap cb) |
void |
SctpEchoTest.testSimpleEchoUnordered(ServerBootstrap sb,
Bootstrap cb) |