Once a new {@link Channel} is created, the {@link ChannelPipeline} whichwas specified as a parameter in the {@link #newChannel(ChannelPipeline)}is attached to the new {@link Channel}, and starts to handle all associated {@link ChannelEvent}s.
To shut down a network application service which is managed by a factory. you should follow the following steps:
For detailed transport-specific information on shutting down a factory, please refer to the Javadoc of {@link ChannelFactory}'s subtypes, such as {@link NioServerSocketChannelFactory}. @apiviz.landmark @apiviz.has io.netty.channel.Channel oneway - - creates @apiviz.exclude ^io\.netty\.channel\.([a-z]+\.)+.*ChannelFactory$
|
|
|
|