Explicitly stated that a user can create many bootstraps with the same ChannelFactory
This commit is contained in:
parent
238bdc90b8
commit
7d40d47270
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user