public class sun.nio.ch.SctpServerChannelImpl extends com.sun.nio.sctp.SctpServerChannel implements sun.nio.ch.SelChImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.ch.SctpServerChannelImpl
super_class: com.sun.nio.sctp.SctpServerChannel
{
private final java.io.FileDescriptor fd;
descriptor: Ljava/io/FileDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int fdVal;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile long thread;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object stateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private sun.nio.ch.SctpServerChannelImpl$ChannelState state;
descriptor: Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
flags: (0x0002) ACC_PRIVATE
int port;
descriptor: I
flags: (0x0000)
private java.util.HashSet<java.net.InetSocketAddress> localAddresses;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljava/net/InetSocketAddress;>;
private boolean wildcard;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lsun/nio/ch/SctpServerChannelImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.ch.SctpServerChannelImpl.$assertionsDisabled:Z
3: invokestatic sun.nio.ch.IOUtil.load:()V
4: new sun.security.action.LoadLibraryAction
dup
ldc "sctp"
invokespecial sun.security.action.LoadLibraryAction.<init>:(Ljava/lang/String;)V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: invokestatic sun.nio.ch.SctpServerChannelImpl.initIDs:()V
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.channels.spi.SelectorProvider);
descriptor: (Ljava/nio/channels/spi/SelectorProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.nio.sctp.SctpServerChannel.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
1: aload 0
lconst_0
putfield sun.nio.ch.SctpServerChannelImpl.thread:J
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.SctpServerChannelImpl.lock:Ljava/lang/Object;
3: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
4: aload 0
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.UNINITIALIZED:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
putfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
5: aload 0
iconst_m1
putfield sun.nio.ch.SctpServerChannelImpl.port:I
6: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
7: aload 0
iconst_1
invokestatic sun.nio.ch.SctpNet.socket:(Z)Ljava/io/FileDescriptor;
putfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
8: aload 0
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
invokestatic sun.nio.ch.IOUtil.fdVal:(Ljava/io/FileDescriptor;)I
putfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
9: aload 0
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.INUSE:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
putfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 11 1 provider Ljava/nio/channels/spi/SelectorProvider;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
provider
public com.sun.nio.sctp.SctpServerChannel bind(java.net.SocketAddress, int);
descriptor: (Ljava/net/SocketAddress;I)Lcom/sun/nio/sctp/SctpServerChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 4
monitorenter
2: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 4
3: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
4: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isBound:()Z
ifeq 6
5: invokestatic sun.nio.ch.SctpNet.throwAlreadyBoundException:()Z
pop
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: new java.net.InetSocketAddress
dup
iconst_0
invokespecial java.net.InetSocketAddress.<init>:(I)V
goto 9
StackMap locals:
StackMap stack:
8: aload 1
invokestatic sun.nio.ch.Net.checkAddress:(Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
9: StackMap locals:
StackMap stack: java.net.InetSocketAddress
astore 5
start local 5 10: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 6
start local 6 11: aload 6
ifnull 13
12: aload 6
aload 5
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual java.lang.SecurityManager.checkListen:(I)V
13: StackMap locals: java.net.InetSocketAddress java.lang.SecurityManager
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
aload 5
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 5
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.nio.ch.Net.bind:(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
14: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
invokestatic sun.nio.ch.Net.localAddress:(Ljava/io/FileDescriptor;)Ljava/net/InetSocketAddress;
astore 7
start local 7 15: aload 0
aload 7
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield sun.nio.ch.SctpServerChannelImpl.port:I
16: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
aload 5
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
17: aload 5
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.isAnyLocalAddress:()Z
ifeq 19
18: aload 0
iconst_1
putfield sun.nio.ch.SctpServerChannelImpl.wildcard:Z
19: StackMap locals: java.net.InetSocketAddress
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
iload 2
iconst_1
if_icmpge 20
bipush 50
goto 21
StackMap locals:
StackMap stack: int
20: iload 2
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.SocketAddress int java.lang.Object java.lang.Object java.net.InetSocketAddress java.lang.SecurityManager java.net.InetSocketAddress
StackMap stack: int int
21: invokestatic sun.nio.ch.SctpNet.listen:(II)V
end local 7 end local 6 end local 5 22: aload 4
monitorexit
23: goto 26
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.SocketAddress int java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
24: aload 4
monitorexit
25: athrow
26: StackMap locals:
StackMap stack:
aload 3
monitorexit
27: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
28: aload 3
monitorexit
29: athrow
30: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 31 1 local Ljava/net/SocketAddress;
0 31 2 backlog I
10 22 5 isa Ljava/net/InetSocketAddress;
11 22 6 sm Ljava/lang/SecurityManager;
15 22 7 boundIsa Ljava/net/InetSocketAddress;
Exception table:
from to target type
2 23 24 any
24 25 24 any
1 27 28 any
28 29 28 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
local
backlog
public com.sun.nio.sctp.SctpServerChannel bindAddress(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Lcom/sun/nio/sctp/SctpServerChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual sun.nio.ch.SctpServerChannelImpl.bindUnbindAddress:(Ljava/net/InetAddress;Z)Lcom/sun/nio/sctp/SctpServerChannel;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 1 1 address Ljava/net/InetAddress;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
address
public com.sun.nio.sctp.SctpServerChannel unbindAddress(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Lcom/sun/nio/sctp/SctpServerChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.nio.ch.SctpServerChannelImpl.bindUnbindAddress:(Ljava/net/InetAddress;Z)Lcom/sun/nio/sctp/SctpServerChannel;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 1 1 address Ljava/net/InetAddress;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
address
private com.sun.nio.sctp.SctpServerChannel bindUnbindAddress(java.net.InetAddress, boolean);
descriptor: (Ljava/net/InetAddress;Z)Lcom/sun/nio/sctp/SctpServerChannel;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
3: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 4
monitorenter
4: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 6
5: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isBound:()Z
ifne 8
7: new java.nio.channels.NotYetBoundException
dup
invokespecial java.nio.channels.NotYetBoundException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.wildcard:Z
ifeq 12
9: new java.lang.IllegalStateException
dup
10: ldc "Cannot add or remove addresses from a channel that is bound to the wildcard address"
11: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.InetAddress.isAnyLocalAddress:()Z
ifeq 16
13: new java.lang.IllegalArgumentException
dup
14: ldc "Cannot add or remove the wildcard address"
15: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iload 2
ifeq 23
17: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 6
goto 21
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.InetAddress int java.lang.Object java.lang.Object top java.util.Iterator
StackMap stack:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetSocketAddress
astore 5
start local 5 19: aload 5
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 1
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifeq 21
20: invokestatic sun.nio.ch.SctpNet.throwAlreadyBoundException:()Z
pop
end local 5 21: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
22: goto 34
23: StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.InetAddress int java.lang.Object java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
invokevirtual java.util.HashSet.size:()I
iconst_1
if_icmpgt 25
24: new com.sun.nio.sctp.IllegalUnbindException
dup
ldc "Cannot remove address from a channel with only one address bound"
invokespecial com.sun.nio.sctp.IllegalUnbindException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 26: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 7
goto 31
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.InetAddress int java.lang.Object java.lang.Object int top java.util.Iterator
StackMap stack:
27: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetSocketAddress
astore 6
start local 6 28: aload 6
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 1
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifeq 31
29: iconst_1
istore 5
30: goto 32
end local 6 31: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
32: StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.InetAddress int java.lang.Object java.lang.Object int
StackMap stack:
iload 5
ifne 34
33: new com.sun.nio.sctp.IllegalUnbindException
dup
ldc "Cannot remove address from a channel that is not bound to that address"
invokespecial com.sun.nio.sctp.IllegalUnbindException.<init>:(Ljava/lang/String;)V
athrow
end local 5 34: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
iconst_1
anewarray java.net.InetAddress
dup
iconst_0
aload 1
aastore
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.port:I
iload 2
invokestatic sun.nio.ch.SctpNet.bindx:(I[Ljava/net/InetAddress;IZ)V
35: iload 2
ifeq 37
36: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
new java.net.InetSocketAddress
dup
aload 1
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.port:I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
goto 43
37: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 6
goto 42
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.InetAddress int java.lang.Object java.lang.Object top java.util.Iterator
StackMap stack:
38: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetSocketAddress
astore 5
start local 5 39: aload 5
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 1
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifeq 42
40: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.localAddresses:Ljava/util/HashSet;
aload 5
invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
pop
41: goto 43
end local 5 42: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 38
43: StackMap locals: sun.nio.ch.SctpServerChannelImpl java.net.InetAddress int java.lang.Object java.lang.Object
StackMap stack:
aload 4
monitorexit
44: goto 47
StackMap locals:
StackMap stack: java.lang.Throwable
45: aload 4
monitorexit
46: athrow
47: StackMap locals:
StackMap stack:
aload 3
monitorexit
48: goto 51
StackMap locals:
StackMap stack: java.lang.Throwable
49: aload 3
monitorexit
50: athrow
51: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 52 1 address Ljava/net/InetAddress;
0 52 2 add Z
19 21 5 addr Ljava/net/InetSocketAddress;
26 34 5 foundAddress Z
28 31 6 addr Ljava/net/InetSocketAddress;
39 42 5 addr Ljava/net/InetSocketAddress;
Exception table:
from to target type
4 44 45 any
45 46 45 any
3 48 49 any
49 50 49 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
address
add
private boolean isBound();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.port:I
iconst_m1
if_icmpne 2
iconst_0
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/SctpServerChannelImpl;
Exception table:
from to target type
1 4 5 any
5 6 5 any
private void acceptCleanup();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
lconst_0
putfield sun.nio.ch.SctpServerChannelImpl.thread:J
2: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.KILLPENDING:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
if_acmpne 4
3: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.kill:()V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/SctpServerChannelImpl;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.io.IOException
public com.sun.nio.sctp.SctpChannel accept();
descriptor: ()Lcom/sun/nio/sctp/SctpChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 3
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isBound:()Z
ifne 5
4: new java.nio.channels.NotYetBoundException
dup
invokespecial java.nio.channels.NotYetBoundException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 4
start local 4 8: iconst_1
anewarray java.net.InetSocketAddress
astore 5
start local 5 9: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.begin:()V
10: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 18
11: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.acceptCleanup:()V
12: aload 0
iload 3
ifle 13
iconst_1
goto 14
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.lang.Object com.sun.nio.sctp.SctpChannel int java.io.FileDescriptor java.net.InetSocketAddress[]
StackMap stack: sun.nio.ch.SctpServerChannelImpl
13: iconst_0
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.lang.Object com.sun.nio.sctp.SctpChannel int java.io.FileDescriptor java.net.InetSocketAddress[]
StackMap stack: sun.nio.ch.SctpServerChannelImpl int
14: invokevirtual sun.nio.ch.SctpServerChannelImpl.end:(Z)V
15: getstatic sun.nio.ch.SctpServerChannelImpl.$assertionsDisabled:Z
ifne 16
iload 3
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
StackMap locals:
StackMap stack:
16: aload 1
monitorexit
17: aconst_null
areturn
18: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.nio.ch.NativeThread.current:()J
putfield sun.nio.ch.SctpServerChannelImpl.thread:J
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
aload 4
aload 5
invokestatic sun.nio.ch.SctpServerChannelImpl.accept0:(Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/net/InetSocketAddress;)I
istore 3
20: iload 3
bipush -3
if_icmpne 29
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifeq 29
21: goto 19
22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
23: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.acceptCleanup:()V
24: aload 0
iload 3
ifle 25
iconst_1
goto 26
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.lang.Object com.sun.nio.sctp.SctpChannel int java.io.FileDescriptor java.net.InetSocketAddress[] java.lang.Throwable
StackMap stack: sun.nio.ch.SctpServerChannelImpl
25: iconst_0
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.lang.Object com.sun.nio.sctp.SctpChannel int java.io.FileDescriptor java.net.InetSocketAddress[] java.lang.Throwable
StackMap stack: sun.nio.ch.SctpServerChannelImpl int
26: invokevirtual sun.nio.ch.SctpServerChannelImpl.end:(Z)V
27: getstatic sun.nio.ch.SctpServerChannelImpl.$assertionsDisabled:Z
ifne 28
iload 3
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 28
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
28: StackMap locals:
StackMap stack:
aload 6
athrow
29: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.acceptCleanup:()V
30: aload 0
iload 3
ifle 31
iconst_1
goto 32
StackMap locals:
StackMap stack: sun.nio.ch.SctpServerChannelImpl
31: iconst_0
StackMap locals: sun.nio.ch.SctpServerChannelImpl java.lang.Object com.sun.nio.sctp.SctpChannel int java.io.FileDescriptor java.net.InetSocketAddress[]
StackMap stack: sun.nio.ch.SctpServerChannelImpl int
32: invokevirtual sun.nio.ch.SctpServerChannelImpl.end:(Z)V
33: getstatic sun.nio.ch.SctpServerChannelImpl.$assertionsDisabled:Z
ifne 34
iload 3
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 34
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
34: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpge 37
35: aload 1
monitorexit
36: aconst_null
areturn
37: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokestatic sun.nio.ch.IOUtil.configureBlocking:(Ljava/io/FileDescriptor;Z)V
38: aload 5
iconst_0
aaload
astore 6
start local 6 39: new sun.nio.ch.SctpChannelImpl
dup
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.provider:()Ljava/nio/channels/spi/SelectorProvider;
aload 4
invokespecial sun.nio.ch.SctpChannelImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
astore 2
40: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 7
start local 7 41: aload 7
ifnull 45
42: aload 7
aload 6
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
43: aload 6
invokevirtual java.net.InetSocketAddress.getPort:()I
44: invokevirtual java.lang.SecurityManager.checkAccept:(Ljava/lang/String;I)V
45: StackMap locals: java.net.InetSocketAddress java.lang.SecurityManager
StackMap stack:
aload 2
aload 1
monitorexit
46: areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 47: StackMap locals: sun.nio.ch.SctpServerChannelImpl java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
48: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lsun/nio/ch/SctpServerChannelImpl;
6 47 2 sc Lcom/sun/nio/sctp/SctpChannel;
7 47 3 n I
8 47 4 newfd Ljava/io/FileDescriptor;
9 47 5 isaa [Ljava/net/InetSocketAddress;
39 47 6 isa Ljava/net/InetSocketAddress;
41 47 7 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
9 11 22 any
18 22 22 any
1 17 47 any
18 36 47 any
37 46 47 any
47 48 47 any
Exceptions:
throws java.io.IOException
protected void implConfigureBlocking(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
iload 1
invokestatic sun.nio.ch.IOUtil.configureBlocking:(Ljava/io/FileDescriptor;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 2 1 block Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
public void implCloseSelectableChannel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
invokestatic sun.nio.ch.SctpNet.preClose:(I)V
2: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.thread:J
lconst_0
lcmp
ifeq 4
3: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.thread:J
invokestatic sun.nio.ch.NativeThread.signal:(J)V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isRegistered:()Z
ifne 6
5: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.kill:()V
6: StackMap locals:
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/SctpServerChannelImpl;
Exception table:
from to target type
1 7 8 any
8 9 8 any
Exceptions:
throws java.io.IOException
public void kill();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.KILLED:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
if_acmpne 4
2: aload 1
monitorexit
3: return
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.UNINITIALIZED:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
if_acmpne 8
5: aload 0
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.KILLED:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
putfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
6: aload 1
monitorexit
7: return
8: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.SctpServerChannelImpl.$assertionsDisabled:Z
ifne 10
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 9
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isRegistered:()Z
ifeq 10
StackMap locals:
StackMap stack:
9: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.thread:J
lconst_0
lcmp
ifne 14
11: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
invokestatic sun.nio.ch.SctpNet.close:(I)V
12: aload 0
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.KILLED:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
putfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getstatic sun.nio.ch.SctpServerChannelImpl$ChannelState.KILLPENDING:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
putfield sun.nio.ch.SctpServerChannelImpl.state:Lsun/nio/ch/SctpServerChannelImpl$ChannelState;
15: StackMap locals:
StackMap stack:
aload 1
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 1
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/nio/ch/SctpServerChannelImpl;
Exception table:
from to target type
1 3 17 any
4 7 17 any
8 16 17 any
17 18 17 any
Exceptions:
throws java.io.IOException
public java.io.FileDescriptor getFD();
descriptor: ()Ljava/io/FileDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fd:Ljava/io/FileDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
public int getFDVal();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
private boolean translateReadyOps(int, int, sun.nio.ch.SelectionKeyImpl);
descriptor: (IILsun/nio/ch/SelectionKeyImpl;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:()I
istore 4
start local 4 1: aload 3
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
istore 5
start local 5 2: iload 2
istore 6
start local 6 3: iload 1
getstatic sun.nio.ch.Net.POLLNVAL:S
iand
ifeq 5
4: iconst_0
ireturn
5: StackMap locals: int int int
StackMap stack:
iload 1
getstatic sun.nio.ch.Net.POLLERR:S
getstatic sun.nio.ch.Net.POLLHUP:S
ior
iand
ifeq 10
6: iload 4
istore 6
7: aload 3
iload 6
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
8: iload 6
iload 5
iconst_m1
ixor
iand
ifeq 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 1
getstatic sun.nio.ch.Net.POLLIN:S
iand
ifeq 13
11: iload 4
bipush 16
iand
ifeq 13
12: iload 6
bipush 16
ior
istore 6
13: StackMap locals:
StackMap stack:
aload 3
iload 6
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
14: iload 6
iload 5
iconst_m1
ixor
iand
ifeq 15
iconst_1
ireturn
StackMap locals:
StackMap stack:
15: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 16 1 ops I
0 16 2 initialOps I
0 16 3 sk Lsun/nio/ch/SelectionKeyImpl;
1 16 4 intOps I
2 16 5 oldOps I
3 16 6 newOps I
MethodParameters:
Name Flags
ops
initialOps
sk
public boolean translateAndUpdateReadyOps(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
aload 2
invokevirtual sun.nio.ch.SctpServerChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 1 1 ops I
0 1 2 sk Lsun/nio/ch/SelectionKeyImpl;
MethodParameters:
Name Flags
ops
sk
public boolean translateAndSetReadyOps(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_0
aload 2
invokevirtual sun.nio.ch.SctpServerChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 1 1 ops I
0 1 2 sk Lsun/nio/ch/SelectionKeyImpl;
MethodParameters:
Name Flags
ops
sk
public void translateAndSetInterestOps(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iload 1
bipush 16
iand
ifeq 3
2: iload 3
getstatic sun.nio.ch.Net.POLLIN:S
ior
istore 3
3: StackMap locals: int
StackMap stack:
aload 2
getfield sun.nio.ch.SelectionKeyImpl.selector:Lsun/nio/ch/SelectorImpl;
aload 2
iload 3
invokevirtual sun.nio.ch.SelectorImpl.putEventOps:(Lsun/nio/ch/SelectionKeyImpl;I)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 5 1 ops I
0 5 2 sk Lsun/nio/ch/SelectionKeyImpl;
1 5 3 newOps I
MethodParameters:
Name Flags
ops
sk
public <T> com.sun.nio.sctp.SctpServerChannel setOption(com.sun.nio.sctp.SctpSocketOption<T>, T);
descriptor: (Lcom/sun/nio/sctp/SctpSocketOption;Ljava/lang/Object;)Lcom/sun/nio/sctp/SctpServerChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.supportedOptions:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 3
monitorenter
5: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 7
6: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
7: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
aload 1
aload 2
iconst_0
invokestatic sun.nio.ch.SctpNet.setSocketOption:(ILcom/sun/nio/sctp/SctpSocketOption;Ljava/lang/Object;I)V
8: aload 0
aload 3
monitorexit
9: areturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
11: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 12 1 name Lcom/sun/nio/sctp/SctpSocketOption<TT;>;
0 12 2 value TT;
Exception table:
from to target type
5 9 10 any
10 11 10 any
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Lcom/sun/nio/sctp/SctpSocketOption<TT;>;TT;)Lcom/sun/nio/sctp/SctpServerChannel;
MethodParameters:
Name Flags
name
value
public <T> T getOption(com.sun.nio.sctp.SctpSocketOption<T>);
descriptor: (Lcom/sun/nio/sctp/SctpSocketOption;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.supportedOptions:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
5: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 7
6: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
7: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
aload 1
iconst_0
invokestatic sun.nio.ch.SctpNet.getSocketOption:(ILcom/sun/nio/sctp/SctpSocketOption;I)Ljava/lang/Object;
aload 2
monitorexit
8: areturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
10: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/SctpServerChannelImpl;
0 11 1 name Lcom/sun/nio/sctp/SctpSocketOption<TT;>;
Exception table:
from to target type
5 8 9 any
9 10 9 any
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Lcom/sun/nio/sctp/SctpSocketOption<TT;>;)TT;
MethodParameters:
Name Flags
name
public final java.util.Set<com.sun.nio.sctp.SctpSocketOption<?>> supportedOptions();
descriptor: ()Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.SctpServerChannelImpl$DefaultOptionsHolder.defaultOptions:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpServerChannelImpl;
Signature: ()Ljava/util/Set<Lcom/sun/nio/sctp/SctpSocketOption<*>;>;
public java.util.Set<java.net.SocketAddress> getAllLocalAddresses();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SctpServerChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isOpen:()Z
ifne 3
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SctpServerChannelImpl.isBound:()Z
ifne 6
4: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
aload 1
monitorexit
5: areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SctpServerChannelImpl.fdVal:I
invokestatic sun.nio.ch.SctpNet.getLocalAddresses:(I)Ljava/util/Set;
aload 1
monitorexit
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
9: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/SctpServerChannelImpl;
Exception table:
from to target type
1 5 8 any
6 7 8 any
8 9 8 any
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Set<Ljava/net/SocketAddress;>;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int accept0(java.io.FileDescriptor, java.io.FileDescriptor, java.net.InetSocketAddress[]);
descriptor: (Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/net/InetSocketAddress;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ssfd
newfd
isaa
}
SourceFile: "SctpServerChannelImpl.java"
NestMembers:
sun.nio.ch.SctpServerChannelImpl$ChannelState sun.nio.ch.SctpServerChannelImpl$DefaultOptionsHolder
InnerClasses:
private final ChannelState = sun.nio.ch.SctpServerChannelImpl$ChannelState of sun.nio.ch.SctpServerChannelImpl
private DefaultOptionsHolder = sun.nio.ch.SctpServerChannelImpl$DefaultOptionsHolder of sun.nio.ch.SctpServerChannelImpl