MyClient

package com.atguigu.netty.inboundhandlerandoutboundhandler;

import com.atguigu.netty.simple.EventLoopGroup;
import com.atguigu.netty.simple.NettyServer;
import com.atguigu.netty.simple.NioEventLoopGroup;
import jdk.nashorn.internal.runtime.linker.Bootstrap;

public class MyClient {
private static Object bgotstrap;

public static void main(String[] args) {
EventLoopGroup group = new NioEventLoopGroup();

try {
Bootstrap bootstrap =null;
bootstrap.toString( ).getBytes()
.getClass( );//自定义一个初始化类
int channelFuture
= bootstrap.hashCode();
final int channelFuture1 = channelFuture;
final int channelFuture11 = channelFuture1;


}finally {
group.shutdownGracefully();

}
}
}
posted @ 2024-02-04 05:36  shenqiqingyu  阅读(17)  评论(0)    收藏  举报