public class org.glassfish.grizzly.nio.transport.TCPNIOConnection extends org.glassfish.grizzly.nio.NIOConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.nio.transport.TCPNIOConnection
super_class: org.glassfish.grizzly.nio.NIOConnection
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
org.glassfish.grizzly.utils.Holder<java.net.SocketAddress> localSocketAddressHolder;
descriptor: Lorg/glassfish/grizzly/utils/Holder;
flags: (0x0000)
Signature: Lorg/glassfish/grizzly/utils/Holder<Ljava/net/SocketAddress;>;
org.glassfish.grizzly.utils.Holder<java.net.SocketAddress> peerSocketAddressHolder;
descriptor: Lorg/glassfish/grizzly/utils/Holder;
flags: (0x0000)
Signature: Lorg/glassfish/grizzly/utils/Holder<Ljava/net/SocketAddress;>;
private int readBufferSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int writeBufferSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.atomic.AtomicReference<org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler> connectHandlerRef;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.nio.transport.TCPNIOTransport, java.nio.channels.SelectableChannel);
descriptor: (Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;Ljava/nio/channels/SelectableChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.glassfish.grizzly.nio.NIOConnection.<init>:(Lorg/glassfish/grizzly/nio/NIOTransport;)V
1: aload 0
iconst_m1
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
2: aload 0
iconst_m1
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
3: aload 0
aload 2
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 5 1 transport Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
0 5 2 channel Ljava/nio/channels/SelectableChannel;
MethodParameters:
Name Flags
transport
channel
protected void setSelectionKey(java.nio.channels.SelectionKey);
descriptor: (Ljava/nio/channels/SelectionKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.glassfish.grizzly.nio.NIOConnection.setSelectionKey:(Ljava/nio/channels/SelectionKey;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 selectionKey Ljava/nio/channels/SelectionKey;
MethodParameters:
Name Flags
selectionKey
protected void setSelectorRunner(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.glassfish.grizzly.nio.NIOConnection.setSelectorRunner:(Lorg/glassfish/grizzly/nio/SelectorRunner;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
MethodParameters:
Name Flags
selectorRunner
protected void preClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.checkConnectFailed:(Ljava/lang/Throwable;)V
1: aload 0
invokespecial org.glassfish.grizzly.nio.NIOConnection.preClose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
protected boolean notifyReady();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.connectCloseSemaphoreUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
getstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.NOTIFICATION_INITIALIZED:Ljava/lang/Object;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
public java.net.SocketAddress getPeerAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.peerSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
invokevirtual org.glassfish.grizzly.utils.Holder.get:()Ljava/lang/Object;
checkcast java.net.SocketAddress
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
public java.net.SocketAddress getLocalAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.localSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
invokevirtual org.glassfish.grizzly.utils.Holder.get:()Ljava/lang/Object;
checkcast java.net.SocketAddress
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
protected void resetProperties();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
ifnull 10
1: aload 0
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getReadBufferSize:()I
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.setReadBufferSize:(I)V
2: aload 0
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getWriteBufferSize:()I
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.setWriteBufferSize:(I)V
3: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
checkcast org.glassfish.grizzly.nio.transport.TCPNIOTransport
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getAsyncQueueIO:()Lorg/glassfish/grizzly/asyncqueue/AsyncQueueIO;
invokeinterface org.glassfish.grizzly.asyncqueue.AsyncQueueIO.getWriter:()Lorg/glassfish/grizzly/asyncqueue/AsyncQueueWriter;
invokeinterface org.glassfish.grizzly.asyncqueue.AsyncQueueWriter.getMaxPendingBytesPerConnection:()I
istore 1
start local 1 4: aload 0
5: iload 1
bipush -2
if_icmpne 6
aload 0
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.getWriteBufferSize:()I
iconst_4
imul
goto 7
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOConnection int
StackMap stack: org.glassfish.grizzly.nio.transport.TCPNIOConnection
6: iload 1
7: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOConnection int
StackMap stack: org.glassfish.grizzly.nio.transport.TCPNIOConnection int
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.setMaxAsyncWriteQueueSize:(I)V
8: aload 0
new org.glassfish.grizzly.nio.transport.TCPNIOConnection$1
dup
aload 0
invokespecial org.glassfish.grizzly.nio.transport.TCPNIOConnection$1.<init>:(Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;)V
invokestatic org.glassfish.grizzly.utils.Holder.lazyHolder:(Lorg/glassfish/grizzly/utils/NullaryFunction;)Lorg/glassfish/grizzly/utils/Holder$LazyHolder;
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.localSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
9: aload 0
new org.glassfish.grizzly.nio.transport.TCPNIOConnection$2
dup
aload 0
invokespecial org.glassfish.grizzly.nio.transport.TCPNIOConnection$2.<init>:(Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;)V
invokestatic org.glassfish.grizzly.utils.Holder.lazyHolder:(Lorg/glassfish/grizzly/utils/NullaryFunction;)Lorg/glassfish/grizzly/utils/Holder$LazyHolder;
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.peerSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
end local 1 10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
4 10 1 transportMaxAsyncWriteQueueSize I
public int getReadBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
iflt 2
1: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getReceiveBufferSize:()I
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
3: goto 7
StackMap locals:
StackMap stack: java.io.IOException
4: astore 1
start local 1 5: getstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_CONNECTION_GET_READBUFFER_SIZE_EXCEPTION:()Ljava/lang/String;
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
6: aload 0
iconst_0
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
5 7 1 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
public void setReadBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifle 8
1: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getReceiveBufferSize:()I
istore 2
start local 2 2: iload 1
iload 2
if_icmple 4
3: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
iload 1
invokevirtual java.net.Socket.setReceiveBufferSize:(I)V
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.readBufferSize:I
end local 2 5: goto 8
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOConnection int
StackMap stack: java.io.IOException
6: astore 2
start local 2 7: getstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_CONNECTION_SET_READBUFFER_SIZE_EXCEPTION:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 9 1 readBufferSize I
2 5 2 currentReadBufferSize I
7 8 2 e Ljava/io/IOException;
Exception table:
from to target type
1 5 6 Class java.io.IOException
MethodParameters:
Name Flags
readBufferSize final
public int getWriteBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
iflt 2
1: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getSendBufferSize:()I
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
3: goto 7
StackMap locals:
StackMap stack: java.io.IOException
4: astore 1
start local 1 5: getstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_CONNECTION_GET_WRITEBUFFER_SIZE_EXCEPTION:()Ljava/lang/String;
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
6: aload 0
iconst_0
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
5 7 1 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
public void setWriteBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifle 8
1: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getSendBufferSize:()I
istore 2
start local 2 2: iload 1
iload 2
if_icmple 4
3: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
iload 1
invokevirtual java.net.Socket.setSendBufferSize:(I)V
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.writeBufferSize:I
end local 2 5: goto 8
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOConnection int
StackMap stack: java.io.IOException
6: astore 2
start local 2 7: getstatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_CONNECTION_SET_WRITEBUFFER_SIZE_EXCEPTION:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 9 1 writeBufferSize I
2 5 2 currentSendBufferSize I
7 8 2 e Ljava/io/IOException;
Exception table:
from to target type
1 5 6 Class java.io.IOException
MethodParameters:
Name Flags
writeBufferSize
protected final void setConnectResultHandler(org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler);
descriptor: (Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
aload 1
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.connectHandlerRef:Ljava/util/concurrent/atomic/AtomicReference;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 connectHandler Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;
MethodParameters:
Name Flags
connectHandler final
protected final void onConnect();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.connectHandlerRef:Ljava/util/concurrent/atomic/AtomicReference;
astore 1
start local 1 1: aload 1
ifnull 5
aload 1
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler
dup
astore 2
start local 2 2: ifnull 5
3: aload 2
invokeinterface org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler.connected:()V
4: aload 0
aconst_null
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.connectHandlerRef:Ljava/util/concurrent/atomic/AtomicReference;
end local 2 5: StackMap locals: java.util.concurrent.atomic.AtomicReference
StackMap stack:
aload 0
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.notifyProbesConnect:(Lorg/glassfish/grizzly/nio/NIOConnection;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
1 7 1 localRef Ljava/util/concurrent/atomic/AtomicReference<Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;>;
2 5 2 localConnectHandler Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;
Exceptions:
throws java.io.IOException
protected final void checkConnectFailed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.connectHandlerRef:Ljava/util/concurrent/atomic/AtomicReference;
astore 2
start local 2 1: aload 2
ifnull 7
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler
dup
astore 3
start local 3 2: ifnull 7
3: aload 1
ifnonnull 5
4: new java.io.IOException
dup
ldc "closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 1
5: StackMap locals: java.util.concurrent.atomic.AtomicReference org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler
StackMap stack:
aload 3
aload 1
invokeinterface org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler.failed:(Ljava/lang/Throwable;)V
6: aload 0
aconst_null
putfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.connectHandlerRef:Ljava/util/concurrent/atomic/AtomicReference;
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 8 1 failure Ljava/lang/Throwable;
1 8 2 localRef Ljava/util/concurrent/atomic/AtomicReference<Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;>;
2 7 3 localConnectHandler Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection$ConnectResultHandler;
MethodParameters:
Name Flags
failure
protected void terminate0(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.Closeable>, org.glassfish.grizzly.CloseReason);
descriptor: (Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/CloseReason;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.glassfish.grizzly.nio.NIOConnection.terminate0:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/CloseReason;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/Closeable;>;
0 2 2 closeReason Lorg/glassfish/grizzly/CloseReason;
Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/Closeable;>;Lorg/glassfish/grizzly/CloseReason;)V
MethodParameters:
Name Flags
completionHandler final
closeReason final
protected final void onRead(org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifle 2
1: aload 0
aload 1
iload 2
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.notifyProbesRead:(Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/Buffer;I)V
2: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.checkEmptyRead:(I)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 4 1 data Lorg/glassfish/grizzly/Buffer;
0 4 2 size I
MethodParameters:
Name Flags
data
size
protected void enableInitialOpRead();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.nio.NIOConnection.enableInitialOpRead:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
Exceptions:
throws java.io.IOException
protected final void onWrite(org.glassfish.grizzly.Buffer, long);
descriptor: (Lorg/glassfish/grizzly/Buffer;J)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOConnection.notifyProbesWrite:(Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/Buffer;J)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 data Lorg/glassfish/grizzly/Buffer;
0 2 2 size J
MethodParameters:
Name Flags
data
size
public boolean canWrite();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
aload 0
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getWriter:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/Writer;
aload 0
invokeinterface org.glassfish.grizzly.Writer.canWrite:(Lorg/glassfish/grizzly/Connection;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
public boolean canWrite(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
aload 0
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getWriter:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/Writer;
aload 0
invokeinterface org.glassfish.grizzly.Writer.canWrite:(Lorg/glassfish/grizzly/Connection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 1 1 length I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
length
public void notifyCanWrite(org.glassfish.grizzly.WriteHandler);
descriptor: (Lorg/glassfish/grizzly/WriteHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
aload 0
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getWriter:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/Writer;
aload 0
aload 1
invokeinterface org.glassfish.grizzly.Writer.notifyWritePossible:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/WriteHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 writeHandler Lorg/glassfish/grizzly/WriteHandler;
MethodParameters:
Name Flags
writeHandler final
public void notifyCanWrite(org.glassfish.grizzly.WriteHandler, int);
descriptor: (Lorg/glassfish/grizzly/WriteHandler;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
aload 0
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getWriter:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/Writer;
aload 0
aload 1
invokeinterface org.glassfish.grizzly.Writer.notifyWritePossible:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/WriteHandler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
0 2 1 handler Lorg/glassfish/grizzly/WriteHandler;
0 2 2 length I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
handler
length
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "TCPNIOConnection"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "{localSocketAddress="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.localSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ", peerSocketAddress="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.peerSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
4: aload 1
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;
1 6 1 sb Ljava/lang/StringBuilder;
public java.lang.Object getLocalAddress();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.getLocalAddress:()Ljava/net/SocketAddress;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getPeerAddress();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.getPeerAddress:()Ljava/net/SocketAddress;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.nio.channels.SelectableChannel access$2(org.glassfish.grizzly.nio.transport.TCPNIOConnection);
descriptor: (Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;)Ljava/nio/channels/SelectableChannel;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.channel:Ljava/nio/channels/SelectableChannel;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TCPNIOConnection.java"
NestMembers:
org.glassfish.grizzly.nio.transport.TCPNIOConnection$1 org.glassfish.grizzly.nio.transport.TCPNIOConnection$2 org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler
InnerClasses:
org.glassfish.grizzly.nio.transport.TCPNIOConnection$1
org.glassfish.grizzly.nio.transport.TCPNIOConnection$2
protected abstract ConnectResultHandler = org.glassfish.grizzly.nio.transport.TCPNIOConnection$ConnectResultHandler of org.glassfish.grizzly.nio.transport.TCPNIOConnection
public abstract LazyHolder = org.glassfish.grizzly.utils.Holder$LazyHolder of org.glassfish.grizzly.utils.Holder