This commit is contained in:
Trustin Lee 2010-02-04 10:51:42 +00:00
parent 8e82a1621a
commit ffeb1bfb9c

View File

@ -992,7 +992,7 @@ public class TimeClient {
&ClientBootstrap; bootstrap = ...;
...
&ChannelFuture; future<co id="example.time7.co1"/> = bootstrap.connect(...);
future.awaitUninterruptible();<co id="example.time7.co2"/>
future.awaitUninterruptibly();<co id="example.time7.co2"/>
if (!future.isSuccess()) {
future.getCause().printStackTrace();<co id="example.time7.co3"/>
}