This commit is contained in:
Trustin Lee 2010-02-17 05:52:44 +00:00
parent 08597e6f86
commit 39e91028eb

View File

@ -148,7 +148,7 @@ import org.jboss.netty.handler.execution.ExecutionHandler;
* // GOOD
* {@link ClientBootstrap} b = ...;
* // Configure the connect timeout option.
* <b>b.setOption("connectTimeout", 10000);</b>
* <b>b.setOption("connectTimeoutMillis", 10000);</b>
* {@link ChannelFuture} f = b.connect(...);
* f.awaitUninterruptibly();
*