ConnectFuture future = connector.connect(new InetSocketAddress( host, port));// 创建连接 future.awaitUninterruptibly();// 等待连接创建完成