public final class io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient
super_class: java.lang.Object
{
private static final java.lang.String CLIENT_PRIMARY_HOST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String CLIENT_SECONDARY_HOST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int CLIENT_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SERVER_REMOTE_HOST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SERVER_REMOTE_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "host.primary"
ldc "127.0.0.1"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.CLIENT_PRIMARY_HOST:Ljava/lang/String;
1: ldc "host.secondary"
ldc "127.0.0.2"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.CLIENT_SECONDARY_HOST:Ljava/lang/String;
2: ldc "port.local"
ldc "8008"
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.sctp.multihoming.SctpMultiHomingEchoClient.CLIENT_PORT:I
3: ldc "host.remote"
ldc "127.0.0.1"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.SERVER_REMOTE_HOST:Ljava/lang/String;
4: ldc "port.remote"
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.sctp.multihoming.SctpMultiHomingEchoClient.SERVER_REMOTE_PORT: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/sctp/multihoming/SctpMultiHomingEchoClient;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=1
start local 0 0: new io.netty.channel.nio.NioEventLoopGroup
dup
invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:()V
astore 1
start local 1 1: new io.netty.bootstrap.Bootstrap
dup
invokespecial io.netty.bootstrap.Bootstrap.<init>:()V
astore 2
start local 2 2: aload 2
aload 1
invokevirtual io.netty.bootstrap.Bootstrap.group:(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.Bootstrap
3: ldc Lio/netty/channel/sctp/nio/NioSctpChannel;
invokevirtual io.netty.bootstrap.Bootstrap.channel:(Ljava/lang/Class;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.Bootstrap
4: getstatic io.netty.channel.sctp.SctpChannelOption.SCTP_NODELAY:Lio/netty/channel/ChannelOption;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.netty.bootstrap.Bootstrap.option:(Lio/netty/channel/ChannelOption;Ljava/lang/Object;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.Bootstrap
5: new io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient$1
dup
invokespecial io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient$1.<init>:()V
invokevirtual io.netty.bootstrap.Bootstrap.handler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
pop
6: getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.CLIENT_PRIMARY_HOST:Ljava/lang/String;
getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.CLIENT_PORT:I
invokestatic io.netty.util.internal.SocketUtils.socketAddress:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
astore 3
start local 3 7: getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.CLIENT_SECONDARY_HOST:Ljava/lang/String;
invokestatic io.netty.util.internal.SocketUtils.addressByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 4
start local 4 8: getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.SERVER_REMOTE_HOST:Ljava/lang/String;
getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient.SERVER_REMOTE_PORT:I
invokestatic io.netty.util.internal.SocketUtils.socketAddress:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
astore 5
start local 5 9: aload 2
aload 3
invokevirtual io.netty.bootstrap.Bootstrap.bind:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
astore 6
start local 6 10: aload 6
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
checkcast io.netty.channel.sctp.SctpChannel
astore 7
start local 7 11: aload 7
aload 4
invokeinterface io.netty.channel.sctp.SctpChannel.bindAddress:(Ljava/net/InetAddress;)Lio/netty/channel/ChannelFuture;
invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
pop
12: aload 7
aload 5
invokeinterface io.netty.channel.sctp.SctpChannel.connect:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
astore 8
start local 8 13: aload 8
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 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 14: goto 18
StackMap locals: java.lang.String[] io.netty.channel.EventLoopGroup
StackMap stack: java.lang.Throwable
15: astore 9
16: aload 1
invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
17: aload 9
athrow
18: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 args [Ljava/lang/String;
1 20 1 group Lio/netty/channel/EventLoopGroup;
2 14 2 b Lio/netty/bootstrap/Bootstrap;
7 14 3 localAddress Ljava/net/InetSocketAddress;
8 14 4 localSecondaryAddress Ljava/net/InetAddress;
9 14 5 remoteAddress Ljava/net/InetSocketAddress;
10 14 6 bindFuture Lio/netty/channel/ChannelFuture;
11 14 7 channel Lio/netty/channel/sctp/SctpChannel;
13 14 8 connectFuture Lio/netty/channel/ChannelFuture;
Exception table:
from to target type
1 15 15 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "SctpMultiHomingEchoClient.java"
NestMembers:
io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient$1
InnerClasses:
io.netty.example.sctp.multihoming.SctpMultiHomingEchoClient$1