return new FailedFutureConnection<SocketAddress, TcpChannel>(e, dest);
}
}
public TcpChannelDestination createChannelDestination(final SocketAddress dest) {
return new TcpChannelDestination() {
public FutureConnection<SocketAddress, TcpChannel> accept(final IoHandler<? super TcpChannel> handler) {
return acceptTo(dest, handler);
}
};
}