Explicitly stated that a user can create many bootstraps with the same ChannelFactory

This commit is contained in:
Trustin Lee 2010-01-15 00:47:29 +00:00
parent 238bdc90b8
commit 7d40d47270
3 changed files with 9 additions and 6 deletions

View File

@ -99,8 +99,9 @@ import org.jboss.netty.channel.Channels;
* manages any resources. What manages the resources is the * manages any resources. What manages the resources is the
* {@link ChannelFactory} implementation you specified in the constructor of * {@link ChannelFactory} implementation you specified in the constructor of
* {@link ClientBootstrap}. Therefore, it is OK to create as many * {@link ClientBootstrap}. Therefore, it is OK to create as many
* {@link ClientBootstrap} instances as you want to apply different settings * {@link ClientBootstrap} instances as you want with the same
* for different {@link Channel}s. * {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
* *
* @author The Netty Project (netty-dev@lists.jboss.org) * @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (trustin@gmail.com) * @author Trustin Lee (trustin@gmail.com)

View File

@ -108,8 +108,9 @@ import org.jboss.netty.channel.Channels;
* allocates nor manages any resources. What manages the resources is the * allocates nor manages any resources. What manages the resources is the
* {@link ChannelFactory} implementation you specified in the constructor of * {@link ChannelFactory} implementation you specified in the constructor of
* {@link ConnectionlessBootstrap}. Therefore, it is OK to create as * {@link ConnectionlessBootstrap}. Therefore, it is OK to create as
* many {@link ConnectionlessBootstrap} instances as you want to apply * many {@link ConnectionlessBootstrap} instances as you want with the same
* different settings for different {@link Channel}s. * {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
* *
* @author The Netty Project (netty-dev@lists.jboss.org) * @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (trustin@gmail.com) * @author Trustin Lee (trustin@gmail.com)

View File

@ -151,8 +151,9 @@ import org.jboss.netty.channel.StaticChannelPipeline;
* manages any resources. What manages the resources is the * manages any resources. What manages the resources is the
* {@link ChannelFactory} implementation you specified in the constructor of * {@link ChannelFactory} implementation you specified in the constructor of
* {@link ServerBootstrap}. Therefore, it is OK to create as many * {@link ServerBootstrap}. Therefore, it is OK to create as many
* {@link ServerBootstrap} instances as you want to apply different settings * {@link ServerBootstrap} instances as you want with the same
* for different {@link Channel}s. * {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
* *
* @author The Netty Project (netty-dev@lists.jboss.org) * @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (trustin@gmail.com) * @author Trustin Lee (trustin@gmail.com)