ClientBootstrap b = ...; b.connect(b.getOption("remoteAddress"), b.getOption("localAddress"));@return a future object which notifies when this connection attemptsucceeds or fails @throws IllegalStateException if {@code "remoteAddress"} option was not set @throws ClassCastException if {@code "remoteAddress"} or {@code "localAddress"} option'svalue is neither a {@link SocketAddress} nor {@code null} @throws ChannelPipelineException if this bootstrap's {@link #setPipelineFactory(ChannelPipelineFactory) pipelineFactory}failed to create a new {@link ChannelPipeline}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|