public final class io.netty.example.udt.echo.bytes.ByteEchoClient
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.example.udt.echo.bytes.ByteEchoClient
super_class: java.lang.Object
{
static final java.lang.String HOST;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int PORT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "host"
ldc "127.0.0.1"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic io.netty.example.udt.echo.bytes.ByteEchoClient.HOST:Ljava/lang/String;
1: ldc "port"
ldc "8007"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic io.netty.example.udt.echo.bytes.ByteEchoClient.PORT:I
2: ldc "size"
ldc "256"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic io.netty.example.udt.echo.bytes.ByteEchoClient.SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/example/udt/echo/bytes/ByteEchoClient;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: new io.netty.util.concurrent.DefaultThreadFactory
dup
ldc "connect"
invokespecial io.netty.util.concurrent.DefaultThreadFactory.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: new io.netty.channel.nio.NioEventLoopGroup
dup
iconst_1
2: aload 1
getstatic io.netty.channel.udt.nio.NioUdtProvider.BYTE_PROVIDER:Ljava/nio/channels/spi/SelectorProvider;
3: invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:(ILjava/util/concurrent/ThreadFactory;Ljava/nio/channels/spi/SelectorProvider;)V
astore 2
start local 2 4: new io.netty.bootstrap.Bootstrap
dup
invokespecial io.netty.bootstrap.Bootstrap.<init>:()V
astore 3
start local 3 5: aload 3
aload 2
invokevirtual io.netty.bootstrap.Bootstrap.group:(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.Bootstrap
6: getstatic io.netty.channel.udt.nio.NioUdtProvider.BYTE_CONNECTOR:Lio/netty/channel/ChannelFactory;
invokevirtual io.netty.bootstrap.Bootstrap.channelFactory:(Lio/netty/channel/ChannelFactory;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.Bootstrap
7: new io.netty.example.udt.echo.bytes.ByteEchoClient$1
dup
invokespecial io.netty.example.udt.echo.bytes.ByteEchoClient$1.<init>:()V
invokevirtual io.netty.bootstrap.Bootstrap.handler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
pop
8: aload 3
getstatic io.netty.example.udt.echo.bytes.ByteEchoClient.HOST:Ljava/lang/String;
getstatic io.netty.example.udt.echo.bytes.ByteEchoClient.PORT:I
invokevirtual io.netty.bootstrap.Bootstrap.connect:(Ljava/lang/String;I)Lio/netty/channel/ChannelFuture;
invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
astore 4
start local 4 9: aload 4
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.closeFuture:()Lio/netty/channel/ChannelFuture;
invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
pop
end local 4 end local 3 10: goto 14
StackMap locals: java.lang.String[] java.util.concurrent.ThreadFactory io.netty.channel.nio.NioEventLoopGroup
StackMap stack: java.lang.Throwable
11: astore 5
12: aload 2
invokevirtual io.netty.channel.nio.NioEventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
13: aload 5
athrow
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.netty.channel.nio.NioEventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 args [Ljava/lang/String;
1 16 1 connectFactory Ljava/util/concurrent/ThreadFactory;
4 16 2 connectGroup Lio/netty/channel/nio/NioEventLoopGroup;
5 10 3 boot Lio/netty/bootstrap/Bootstrap;
9 10 4 f Lio/netty/channel/ChannelFuture;
Exception table:
from to target type
4 11 11 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "ByteEchoClient.java"
NestMembers:
io.netty.example.udt.echo.bytes.ByteEchoClient$1
InnerClasses:
io.netty.example.udt.echo.bytes.ByteEchoClient$1