Better documentation
This commit is contained in:
parent
bd1c366afc
commit
4a4f129381
@ -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());
|
||||
* }
|
||||
* }
|
||||
|
@ -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());
|
||||
* }
|
||||
* }
|
||||
|
@ -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());
|
||||
* }
|
||||
* }
|
||||
|
Loading…
Reference in New Issue
Block a user