优化Netty客户端类
This commit is contained in:
parent
b84adddd29
commit
a0e9dc4f5e
|
@ -30,6 +30,7 @@ public class NettyClient {
|
|||
private static final Logger log = LoggerFactory.getLogger(NettyClient.class);
|
||||
|
||||
private static ClientHandler clientHandler;
|
||||
|
||||
public static void start() {
|
||||
EventLoopGroup group = new NioEventLoopGroup();
|
||||
Bootstrap b = new Bootstrap();
|
||||
|
|
Loading…
Reference in New Issue