netty5/transport/src/test/java/io/netty
Jon Chambers 074075de7e Expose channel pool configuration to subclasses.
Motivation:

`SimpleChannelPool` subclasses are likely to override the `connectChannel` method, and are likely to clobber the cloned `Bootstrap` handler in the process. To allow subclasses to properly notify the pool listener of new connections, we should expose (at least) the `handler` property of the pool to subclasses.

Modifications:

Expose `SimpleChannelPool` properties to subclasses via `protected` getters.

Result:

Subclasses can now use the bootstrap, handler, health checker, and health-check-on-release preoperties from their superclass.
2016-12-21 20:45:01 +01:00
..
bootstrap [#5566] Ensure using a ChannelInitializer via ServerBootstrap.handler(...) produce correct ordering. 2016-07-27 08:34:31 +02:00
channel Expose channel pool configuration to subclasses. 2016-12-21 20:45:01 +01:00