class sun.nio.ch.OptionAdaptor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.OptionAdaptor
super_class: java.lang.Object
{
private final sun.nio.ch.SocketOpts$IP opts;
descriptor: Lsun/nio/ch/SocketOpts$IP;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.nio.ch.SocketChannelImpl);
descriptor: (Lsun/nio/ch/SocketChannelImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.nio.ch.SocketChannelImpl.options:()Lsun/nio/ch/SocketOpts;
checkcast sun.nio.ch.SocketOpts$IP
putfield sun.nio.ch.OptionAdaptor.opts:Lsun/nio/ch/SocketOpts$IP;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/OptionAdaptor;
0 3 1 sc Lsun/nio/ch/SocketChannelImpl;
MethodParameters:
Name Flags
sc
void <init>(sun.nio.ch.ServerSocketChannelImpl);
descriptor: (Lsun/nio/ch/ServerSocketChannelImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.nio.ch.ServerSocketChannelImpl.options:()Lsun/nio/ch/SocketOpts;
checkcast sun.nio.ch.SocketOpts$IP
putfield sun.nio.ch.OptionAdaptor.opts:Lsun/nio/ch/SocketOpts$IP;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/OptionAdaptor;
0 3 1 ssc Lsun/nio/ch/ServerSocketChannelImpl;
MethodParameters:
Name Flags
ssc
void <init>(sun.nio.ch.DatagramChannelImpl);
descriptor: (Lsun/nio/ch/DatagramChannelImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.nio.ch.DatagramChannelImpl.options:()Lsun/nio/ch/SocketOpts;
checkcast sun.nio.ch.SocketOpts$IP
putfield sun.nio.ch.OptionAdaptor.opts:Lsun/nio/ch/SocketOpts$IP;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/OptionAdaptor;
0 3 1 dc Lsun/nio/ch/DatagramChannelImpl;
MethodParameters:
Name Flags
dc
private sun.nio.ch.SocketOpts$IP opts();
descriptor: ()Lsun/nio/ch/SocketOpts$IP;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.OptionAdaptor.opts:Lsun/nio/ch/SocketOpts$IP;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/OptionAdaptor;
private sun.nio.ch.SocketOpts$IP$TCP tcpOpts();
descriptor: ()Lsun/nio/ch/SocketOpts$IP$TCP;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.OptionAdaptor.opts:Lsun/nio/ch/SocketOpts$IP;
checkcast sun.nio.ch.SocketOpts$IP$TCP
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/OptionAdaptor;
public void setTcpNoDelay(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.tcpOpts:()Lsun/nio/ch/SocketOpts$IP$TCP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP$TCP.noDelay:(Z)Lsun/nio/ch/SocketOpts$IP$TCP;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 on Z
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
on
public boolean getTcpNoDelay();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.tcpOpts:()Lsun/nio/ch/SocketOpts$IP$TCP;
invokeinterface sun.nio.ch.SocketOpts$IP$TCP.noDelay:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setSoLinger(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ldc 65535
if_icmple 2
1: ldc 65535
istore 2
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
ifeq 3
iload 2
goto 4
StackMap locals:
StackMap stack: sun.nio.ch.SocketOpts$IP
3: iconst_m1
StackMap locals: sun.nio.ch.OptionAdaptor int int
StackMap stack: sun.nio.ch.SocketOpts$IP int
4: invokeinterface sun.nio.ch.SocketOpts$IP.linger:(I)Lsun/nio/ch/SocketOpts;
pop
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 3
start local 3 7: aload 3
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/OptionAdaptor;
0 9 1 on Z
0 9 2 linger I
7 8 3 x Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
on
linger
public int getSoLinger();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.linger:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setOOBInline(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.outOfBandInline:(Z)Lsun/nio/ch/SocketOpts;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 on Z
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
on
public boolean getOOBInline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.outOfBandInline:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setSendBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.sendBufferSize:(I)Lsun/nio/ch/SocketOpts;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 size I
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
size
public int getSendBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.sendBufferSize:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setReceiveBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.receiveBufferSize:(I)Lsun/nio/ch/SocketOpts;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 size I
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
size
public int getReceiveBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.receiveBufferSize:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setKeepAlive(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.keepAlive:(Z)Lsun/nio/ch/SocketOpts;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 on Z
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
on
public boolean getKeepAlive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.keepAlive:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setTrafficClass(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
sipush 255
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "tc is not in range 0 -- 255"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.typeOfService:(I)Lsun/nio/ch/SocketOpts$IP;
pop
3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 2
start local 2 5: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/OptionAdaptor;
0 7 1 tc I
5 6 2 x Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
tc
public int getTrafficClass();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.typeOfService:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setReuseAddress(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.reuseAddress:(Z)Lsun/nio/ch/SocketOpts;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 on Z
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
on
public boolean getReuseAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.reuseAddress:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
public void setBroadcast(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
iload 1
invokeinterface sun.nio.ch.SocketOpts$IP.broadcast:(Z)Lsun/nio/ch/SocketOpts;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 2
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
0 5 1 on Z
3 4 2 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
on
public boolean getBroadcast();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.OptionAdaptor.opts:()Lsun/nio/ch/SocketOpts$IP;
invokeinterface sun.nio.ch.SocketOpts$IP.broadcast:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: aload 1
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/OptionAdaptor;
3 5 1 x Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.net.SocketException
}
SourceFile: "OptionAdaptor.java"
InnerClasses:
public abstract IP = sun.nio.ch.SocketOpts$IP of sun.nio.ch.SocketOpts
public abstract TCP = sun.nio.ch.SocketOpts$IP$TCP of sun.nio.ch.SocketOpts$IP