class org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator implements org.glassfish.grizzly.nio.ChannelConfigurator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator this
0: .line 700
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport$DefaultChannelConfigurator;
public void preConfigure(org.glassfish.grizzly.nio.NIOTransport, java.nio.channels.SelectableChannel);
descriptor: (Lorg/glassfish/grizzly/nio/NIOTransport;Ljava/nio/channels/SelectableChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 // org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator this
start local 1 // org.glassfish.grizzly.nio.NIOTransport transport
start local 2 // java.nio.channels.SelectableChannel channel
0: .line 703
aload 1 /* transport */
checkcast org.glassfish.grizzly.nio.transport.TCPNIOTransport
astore 3 /* tcpNioTransport */
start local 3 // org.glassfish.grizzly.nio.transport.TCPNIOTransport tcpNioTransport
1: .line 704
aload 2 /* channel */
instanceof java.nio.channels.SocketChannel
ifeq 11
2: .line 705
aload 2 /* channel */
checkcast java.nio.channels.SocketChannel
astore 4 /* sc */
start local 4 // java.nio.channels.SocketChannel sc
3: .line 706
aload 4 /* sc */
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
astore 5 /* socket */
start local 5 // java.net.Socket socket
4: .line 708
aload 4 /* sc */
iconst_0
invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
pop
5: .line 710
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.isReuseAddress:()Z
istore 6 /* reuseAddress */
start local 6 // boolean reuseAddress
6: .line 712
aload 5 /* socket */
iload 6 /* reuseAddress */
invokevirtual java.net.Socket.setReuseAddress:(Z)V
7: .line 713
goto 18
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.SocketChannel java.net.Socket int
StackMap stack: java.io.IOException
8: astore 7 /* e */
start local 7 // java.io.IOException e
9: .line 714
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
iload 6 /* reuseAddress */
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_REUSEADDRESS_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 7 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 // java.io.IOException e
end local 6 // boolean reuseAddress
end local 5 // java.net.Socket socket
end local 4 // java.nio.channels.SocketChannel sc
10: .line 716
goto 18
11: .line 717
StackMap locals:
StackMap stack:
aload 2 /* channel */
checkcast java.nio.channels.ServerSocketChannel
astore 4 /* serverSocketChannel */
start local 4 // java.nio.channels.ServerSocketChannel serverSocketChannel
12: .line 718
aload 4 /* serverSocketChannel */
invokevirtual java.nio.channels.ServerSocketChannel.socket:()Ljava/net/ServerSocket;
astore 5 /* serverSocket */
start local 5 // java.net.ServerSocket serverSocket
13: .line 720
aload 4 /* serverSocketChannel */
iconst_0
invokevirtual java.nio.channels.ServerSocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
pop
14: .line 723
aload 5 /* serverSocket */
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.isReuseAddress:()Z
invokevirtual java.net.ServerSocket.setReuseAddress:(Z)V
15: .line 724
goto 18
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.ServerSocketChannel java.net.ServerSocket
StackMap stack: java.io.IOException
16: astore 6 /* e */
start local 6 // java.io.IOException e
17: .line 725
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.isReuseAddress:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_REUSEADDRESS_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 6 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 // java.io.IOException e
end local 5 // java.net.ServerSocket serverSocket
end local 4 // java.nio.channels.ServerSocketChannel serverSocketChannel
18: .line 728
StackMap locals:
StackMap stack:
return
end local 3 // org.glassfish.grizzly.nio.transport.TCPNIOTransport tcpNioTransport
end local 2 // java.nio.channels.SelectableChannel channel
end local 1 // org.glassfish.grizzly.nio.NIOTransport transport
end local 0 // org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport$DefaultChannelConfigurator;
0 19 1 transport Lorg/glassfish/grizzly/nio/NIOTransport;
0 19 2 channel Ljava/nio/channels/SelectableChannel;
1 19 3 tcpNioTransport Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
3 10 4 sc Ljava/nio/channels/SocketChannel;
4 10 5 socket Ljava/net/Socket;
6 10 6 reuseAddress Z
9 10 7 e Ljava/io/IOException;
12 18 4 serverSocketChannel Ljava/nio/channels/ServerSocketChannel;
13 18 5 serverSocket Ljava/net/ServerSocket;
17 18 6 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
14 15 16 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
transport
channel
public void postConfigure(org.glassfish.grizzly.nio.NIOTransport, java.nio.channels.SelectableChannel);
descriptor: (Lorg/glassfish/grizzly/nio/NIOTransport;Ljava/nio/channels/SelectableChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=3
start local 0 // org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator this
start local 1 // org.glassfish.grizzly.nio.NIOTransport transport
start local 2 // java.nio.channels.SelectableChannel channel
0: .line 733
aload 1 /* transport */
checkcast org.glassfish.grizzly.nio.transport.TCPNIOTransport
astore 3 /* tcpNioTransport */
start local 3 // org.glassfish.grizzly.nio.transport.TCPNIOTransport tcpNioTransport
1: .line 734
aload 2 /* channel */
instanceof java.nio.channels.SocketChannel
ifeq 26
2: .line 735
aload 2 /* channel */
checkcast java.nio.channels.SocketChannel
astore 4 /* sc */
start local 4 // java.nio.channels.SocketChannel sc
3: .line 736
aload 4 /* sc */
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
astore 5 /* socket */
start local 5 // java.net.Socket socket
4: .line 738
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getLinger:()I
istore 6 /* linger */
start local 6 // int linger
5: .line 740
iload 6 /* linger */
iflt 10
6: .line 741
aload 5 /* socket */
iconst_1
iload 6 /* linger */
invokevirtual java.net.Socket.setSoLinger:(ZI)V
7: .line 743
goto 10
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.SocketChannel java.net.Socket int
StackMap stack: java.io.IOException
8: astore 7 /* e */
start local 7 // java.io.IOException e
9: .line 744
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
iload 6 /* linger */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_LINGER_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 7 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 // java.io.IOException e
10: .line 747
StackMap locals:
StackMap stack:
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.isKeepAlive:()Z
istore 7 /* keepAlive */
start local 7 // boolean keepAlive
11: .line 749
aload 5 /* socket */
iload 7 /* keepAlive */
invokevirtual java.net.Socket.setKeepAlive:(Z)V
12: .line 750
goto 15
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.SocketChannel java.net.Socket int int
StackMap stack: java.io.IOException
13: astore 8 /* e */
start local 8 // java.io.IOException e
14: .line 751
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
iload 7 /* keepAlive */
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_KEEPALIVE_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 8 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 8 // java.io.IOException e
15: .line 754
StackMap locals:
StackMap stack:
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.isTcpNoDelay:()Z
istore 8 /* tcpNoDelay */
start local 8 // boolean tcpNoDelay
16: .line 756
aload 5 /* socket */
iload 8 /* tcpNoDelay */
invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
17: .line 757
goto 20
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.SocketChannel java.net.Socket int int int
StackMap stack: java.io.IOException
18: astore 9 /* e */
start local 9 // java.io.IOException e
19: .line 758
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
iload 8 /* tcpNoDelay */
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_TCPNODELAY_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 9 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 // java.io.IOException e
20: .line 761
StackMap locals:
StackMap stack:
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getClientSocketSoTimeout:()I
istore 9 /* clientSocketSoTimeout */
start local 9 // int clientSocketSoTimeout
21: .line 763
aload 5 /* socket */
iload 9 /* clientSocketSoTimeout */
invokevirtual java.net.Socket.setSoTimeout:(I)V
22: .line 764
goto 32
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.SocketChannel java.net.Socket int int int int
StackMap stack: java.io.IOException
23: astore 10 /* e */
start local 10 // java.io.IOException e
24: .line 765
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getClientSocketSoTimeout:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_TIMEOUT_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 10 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 10 // java.io.IOException e
end local 9 // int clientSocketSoTimeout
end local 8 // boolean tcpNoDelay
end local 7 // boolean keepAlive
end local 6 // int linger
end local 5 // java.net.Socket socket
end local 4 // java.nio.channels.SocketChannel sc
25: .line 767
goto 32
26: .line 768
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport
StackMap stack:
aload 2 /* channel */
checkcast java.nio.channels.ServerSocketChannel
astore 4 /* serverSocketChannel */
start local 4 // java.nio.channels.ServerSocketChannel serverSocketChannel
27: .line 769
aload 4 /* serverSocketChannel */
invokevirtual java.nio.channels.ServerSocketChannel.socket:()Ljava/net/ServerSocket;
astore 5 /* serverSocket */
start local 5 // java.net.ServerSocket serverSocket
28: .line 772
aload 5 /* serverSocket */
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getServerSocketSoTimeout:()I
invokevirtual java.net.ServerSocket.setSoTimeout:(I)V
29: .line 773
goto 32
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator org.glassfish.grizzly.nio.NIOTransport java.nio.channels.SelectableChannel org.glassfish.grizzly.nio.transport.TCPNIOTransport java.nio.channels.ServerSocketChannel java.net.ServerSocket
StackMap stack: java.io.IOException
30: astore 6 /* e */
start local 6 // java.io.IOException e
31: .line 774
getstatic org.glassfish.grizzly.nio.transport.TCPNIOTransport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 3 /* tcpNioTransport */
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getServerSocketSoTimeout:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SOCKET_TIMEOUT_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 6 /* e */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 // java.io.IOException e
end local 5 // java.net.ServerSocket serverSocket
end local 4 // java.nio.channels.ServerSocketChannel serverSocketChannel
32: .line 777
StackMap locals:
StackMap stack:
return
end local 3 // org.glassfish.grizzly.nio.transport.TCPNIOTransport tcpNioTransport
end local 2 // java.nio.channels.SelectableChannel channel
end local 1 // org.glassfish.grizzly.nio.NIOTransport transport
end local 0 // org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport$DefaultChannelConfigurator;
0 33 1 transport Lorg/glassfish/grizzly/nio/NIOTransport;
0 33 2 channel Ljava/nio/channels/SelectableChannel;
1 33 3 tcpNioTransport Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
3 25 4 sc Ljava/nio/channels/SocketChannel;
4 25 5 socket Ljava/net/Socket;
5 25 6 linger I
9 10 7 e Ljava/io/IOException;
11 25 7 keepAlive Z
14 15 8 e Ljava/io/IOException;
16 25 8 tcpNoDelay Z
19 20 9 e Ljava/io/IOException;
21 25 9 clientSocketSoTimeout I
24 25 10 e Ljava/io/IOException;
27 32 4 serverSocketChannel Ljava/nio/channels/ServerSocketChannel;
28 32 5 serverSocket Ljava/net/ServerSocket;
31 32 6 e Ljava/io/IOException;
Exception table:
from to target type
5 7 8 Class java.io.IOException
11 12 13 Class java.io.IOException
16 17 18 Class java.io.IOException
21 22 23 Class java.io.IOException
28 29 30 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
transport final
channel final
}
SourceFile: "TCPNIOTransport.java"
NestHost: org.glassfish.grizzly.nio.transport.TCPNIOTransport
InnerClasses:
private DefaultChannelConfigurator = org.glassfish.grizzly.nio.transport.TCPNIOTransport$DefaultChannelConfigurator of org.glassfish.grizzly.nio.transport.TCPNIOTransport