public final class io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer
super_class: java.lang.Object
{
private static final java.lang.String SERVER_PRIMARY_HOST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SERVER_SECONDARY_HOST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SERVER_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.SctpMultiHomingEchoServer.SERVER_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.SctpMultiHomingEchoServer.SERVER_SECONDARY_HOST:Ljava/lang/String;
2: 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.sctp.multihoming.SctpMultiHomingEchoServer.SERVER_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/SctpMultiHomingEchoServer;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: new io.netty.channel.nio.NioEventLoopGroup
dup
iconst_1
invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:(I)V
astore 1
start local 1 1: new io.netty.channel.nio.NioEventLoopGroup
dup
invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:()V
astore 2
start local 2 2: new io.netty.bootstrap.ServerBootstrap
dup
invokespecial io.netty.bootstrap.ServerBootstrap.<init>:()V
astore 3
start local 3 3: aload 3
aload 1
aload 2
invokevirtual io.netty.bootstrap.ServerBootstrap.group:(Lio/netty/channel/EventLoopGroup;Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/ServerBootstrap;
4: ldc Lio/netty/channel/sctp/nio/NioSctpServerChannel;
invokevirtual io.netty.bootstrap.ServerBootstrap.channel:(Ljava/lang/Class;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.ServerBootstrap
5: getstatic io.netty.channel.ChannelOption.SO_BACKLOG:Lio/netty/channel/ChannelOption;
bipush 100
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.netty.bootstrap.ServerBootstrap.option:(Lio/netty/channel/ChannelOption;Ljava/lang/Object;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.ServerBootstrap
6: new io.netty.handler.logging.LoggingHandler
dup
getstatic io.netty.handler.logging.LogLevel.INFO:Lio/netty/handler/logging/LogLevel;
invokespecial io.netty.handler.logging.LoggingHandler.<init>:(Lio/netty/handler/logging/LogLevel;)V
invokevirtual io.netty.bootstrap.ServerBootstrap.handler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
checkcast io.netty.bootstrap.ServerBootstrap
7: new io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer$1
dup
invokespecial io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer$1.<init>:()V
invokevirtual io.netty.bootstrap.ServerBootstrap.childHandler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/ServerBootstrap;
pop
8: getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer.SERVER_PRIMARY_HOST:Ljava/lang/String;
getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer.SERVER_PORT:I
invokestatic io.netty.util.internal.SocketUtils.socketAddress:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
astore 4
start local 4 9: getstatic io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer.SERVER_SECONDARY_HOST:Ljava/lang/String;
invokestatic io.netty.util.internal.SocketUtils.addressByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 5
start local 5 10: aload 3
aload 4
invokevirtual io.netty.bootstrap.ServerBootstrap.bind:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
astore 6
start local 6 11: aload 6
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
checkcast io.netty.channel.sctp.SctpServerChannel
astore 7
start local 7 12: aload 7
aload 5
invokeinterface io.netty.channel.sctp.SctpServerChannel.bindAddress:(Ljava/net/InetAddress;)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 14: goto 19
StackMap locals: java.lang.String[] io.netty.channel.EventLoopGroup 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 2
invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
18: aload 9
athrow
19: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
20: aload 2
invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
pop
21: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 args [Ljava/lang/String;
1 22 1 bossGroup Lio/netty/channel/EventLoopGroup;
2 22 2 workerGroup Lio/netty/channel/EventLoopGroup;
3 14 3 b Lio/netty/bootstrap/ServerBootstrap;
9 14 4 localAddress Ljava/net/InetSocketAddress;
10 14 5 localSecondaryAddress Ljava/net/InetAddress;
11 14 6 bindFuture Lio/netty/channel/ChannelFuture;
12 14 7 channel Lio/netty/channel/sctp/SctpServerChannel;
13 14 8 connectFuture Lio/netty/channel/ChannelFuture;
Exception table:
from to target type
2 15 15 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "SctpMultiHomingEchoServer.java"
NestMembers:
io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer$1
InnerClasses:
io.netty.example.sctp.multihoming.SctpMultiHomingEchoServer$1