Better documentation

This commit is contained in:
Trustin Lee 2010-03-24 05:07:27 +00:00
parent bd1c366afc
commit 4a4f129381
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ import org.jboss.netty.util.TimerTask;
*
* public {@link ChannelPipeline} getPipeline() {
* return {@link Channels}.pipeline(
* new {@link IdleStateHandler}(timer, 30, 30, 0),
* <b>new {@link IdleStateHandler}(timer, 30, 30, 0), // timer must be shared.</b>
* new MyHandler());
* }
* }

View File

@ -50,7 +50,7 @@ import org.jboss.netty.util.TimerTask;
* public {@link ChannelPipeline} getPipeline() {
* // An example configuration that implements 30-second read timeout:
* return {@link Channels}.pipeline(
* new {@link ReadTimeoutHandler}(timer, 30),
* <b>new {@link ReadTimeoutHandler}(timer, 30), // timer must be shared.</b>
* new MyHandler());
* }
* }

View File

@ -51,7 +51,7 @@ import org.jboss.netty.util.TimerTask;
* public {@link ChannelPipeline} getPipeline() {
* // An example configuration that implements 30-second write timeout:
* return {@link Channels}.pipeline(
* new {@link WriteTimeoutHandler}(timer, 30),
* <b>new {@link WriteTimeoutHandler}(timer, 30), // timer must be shared.</b>
* new MyHandler());
* }
* }