class io.netty.example.discard.DiscardClient$1 extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.example.discard.DiscardClient$1
super_class: io.netty.channel.ChannelInitializer
{
private final io.netty.handler.ssl.SslContext val$sslCtx;
descriptor: Lio/netty/handler/ssl/SslContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.netty.handler.ssl.SslContext);
descriptor: (Lio/netty/handler/ssl/SslContext;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield io.netty.example.discard.DiscardClient$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
aload 0
invokespecial io.netty.channel.ChannelInitializer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/example/discard/DiscardClient$1;
MethodParameters:
Name Flags
val$sslCtx final
protected void initChannel(io.netty.channel.socket.SocketChannel);
descriptor: (Lio/netty/channel/socket/SocketChannel;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.socket.SocketChannel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 1: aload 0
getfield io.netty.example.discard.DiscardClient$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
ifnull 3
2: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
aload 0
getfield io.netty.example.discard.DiscardClient$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
aload 1
invokeinterface io.netty.channel.socket.SocketChannel.alloc:()Lio/netty/buffer/ByteBufAllocator;
getstatic io.netty.example.discard.DiscardClient.HOST:Ljava/lang/String;
getstatic io.netty.example.discard.DiscardClient.PORT:I
invokevirtual io.netty.handler.ssl.SslContext.newHandler:(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Lio/netty/handler/ssl/SslHandler;
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
3: StackMap locals: io.netty.channel.ChannelPipeline
StackMap stack:
aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.netty.example.discard.DiscardClientHandler
dup
invokespecial io.netty.example.discard.DiscardClientHandler.<init>:()V
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/example/discard/DiscardClient$1;
0 5 1 ch Lio/netty/channel/socket/SocketChannel;
1 5 2 p Lio/netty/channel/ChannelPipeline;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ch
protected void initChannel(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.channel.socket.SocketChannel
invokevirtual io.netty.example.discard.DiscardClient$1.initChannel:(Lio/netty/channel/socket/SocketChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lio/netty/channel/ChannelInitializer<Lio/netty/channel/socket/SocketChannel;>;
SourceFile: "DiscardClient.java"
EnclosingMethod: io.netty.example.discard.DiscardClient.main:([Ljava/lang/String;)V
NestHost: io.netty.example.discard.DiscardClient
InnerClasses:
io.netty.example.discard.DiscardClient$1