public abstract class org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter extends org.glassfish.grizzly.AbstractWriter<java.net.SocketAddress>
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter
  super_class: org.glassfish.grizzly.AbstractWriter
{
  protected final org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport transport;
    descriptor: Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  public void <init>(org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport);
    descriptor: (Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport transport
         0: .line 45
            aload 0 /* this */
            invokespecial org.glassfish.grizzly.AbstractWriter.<init>:()V
         1: .line 46
            aload 0 /* this */
            aload 1 /* transport */
            putfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
         2: .line 47
            return
        end local 1 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport transport
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0    3     1  transport  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
    MethodParameters:
           Name  Flags
      transport  

  public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, org.glassfish.grizzly.asyncqueue.MessageCloner<org.glassfish.grizzly.asyncqueue.WritableMessage>);
    descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=6, args_size=6
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.Connection connection
        start local 2 // java.net.SocketAddress dstAddress
        start local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        start local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 5 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
         0: .line 56
            aload 0 /* this */
            aload 1 /* connection */
            aload 2 /* dstAddress */
            aload 3 /* message */
            aload 4 /* completionHandler */
            aconst_null
            aload 1 /* connection */
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokeinterface org.glassfish.grizzly.Connection.getWriteTimeout:(Ljava/util/concurrent/TimeUnit;)J
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
         1: .line 57
            return
        end local 5 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        end local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        end local 2 // java.net.SocketAddress dstAddress
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0    2     1         connection  Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
            0    2     2         dstAddress  Ljava/net/SocketAddress;
            0    2     3            message  Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
            0    2     4  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
            0    2     5      messageCloner  Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;>;
    Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;>;)V
    MethodParameters:
                   Name  Flags
      connection         final
      dstAddress         final
      message            final
      completionHandler  final
      messageCloner      final

  public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, org.glassfish.grizzly.asyncqueue.PushBackHandler);
    descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=6, args_size=6
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.Connection connection
        start local 2 // java.net.SocketAddress dstAddress
        start local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        start local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 5 // org.glassfish.grizzly.asyncqueue.PushBackHandler pushBackHandler
         0: .line 67
            aload 0 /* this */
            aload 1 /* connection */
            aload 2 /* dstAddress */
            aload 3 /* message */
            aload 4 /* completionHandler */
            aload 5 /* pushBackHandler */
            aload 1 /* connection */
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokeinterface org.glassfish.grizzly.Connection.getWriteTimeout:(Ljava/util/concurrent/TimeUnit;)J
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
         1: .line 68
            return
        end local 5 // org.glassfish.grizzly.asyncqueue.PushBackHandler pushBackHandler
        end local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        end local 2 // java.net.SocketAddress dstAddress
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0    2     1         connection  Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
            0    2     2         dstAddress  Ljava/net/SocketAddress;
            0    2     3            message  Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
            0    2     4  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
            0    2     5    pushBackHandler  Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;
    Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
                   Name  Flags
      connection         
      dstAddress         
      message            
      completionHandler  
      pushBackHandler    final

  public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, long, java.util.concurrent.TimeUnit);
    descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;JLjava/util/concurrent/TimeUnit;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=8, args_size=7
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.Connection connection
        start local 2 // java.net.SocketAddress dstAddress
        start local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        start local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 5 // long timeout
        start local 7 // java.util.concurrent.TimeUnit timeunit
         0: .line 81
            aload 0 /* this */
            aload 1 /* connection */
            aload 2 /* dstAddress */
            aload 3 /* message */
            aload 4 /* completionHandler */
            aconst_null
            lload 5 /* timeout */
            aload 7 /* timeunit */
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
         1: .line 82
            return
        end local 7 // java.util.concurrent.TimeUnit timeunit
        end local 5 // long timeout
        end local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        end local 2 // java.net.SocketAddress dstAddress
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0    2     1         connection  Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
            0    2     2         dstAddress  Ljava/net/SocketAddress;
            0    2     3            message  Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
            0    2     4  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
            0    2     5            timeout  J
            0    2     7           timeunit  Ljava/util/concurrent/TimeUnit;
    Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;JLjava/util/concurrent/TimeUnit;)V
    MethodParameters:
                   Name  Flags
      connection         
      dstAddress         
      message            
      completionHandler  
      timeout            
      timeunit           

  public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, org.glassfish.grizzly.asyncqueue.PushBackHandler, long, java.util.concurrent.TimeUnit);
    descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=12, args_size=8
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.Connection connection
        start local 2 // java.net.SocketAddress dstAddress
        start local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        start local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 5 // org.glassfish.grizzly.asyncqueue.PushBackHandler pushBackHandler
        start local 6 // long timeout
        start local 8 // java.util.concurrent.TimeUnit timeunit
         0: .line 97
            aload 3 /* message */
            ifnonnull 3
         1: .line 98
            new java.lang.IllegalStateException
            dup
            ldc "Message cannot be null"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            aload 4 /* completionHandler */
            invokestatic org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.failure:(Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
         2: .line 99
            return
         3: .line 102
      StackMap locals:
      StackMap stack:
            aload 1 /* connection */
            ifnull 4
            aload 1 /* connection */
            instanceof org.glassfish.grizzly.nio.NIOConnection
            ifne 6
         4: .line 103
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Connection should be NIOConnection and cannot be null"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            aload 4 /* completionHandler */
            invokestatic org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.failure:(Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
         5: .line 104
            return
         6: .line 107
      StackMap locals:
      StackMap stack:
            aload 1 /* connection */
            checkcast org.glassfish.grizzly.nio.NIOConnection
            astore 9 /* nioConnection */
        start local 9 // org.glassfish.grizzly.nio.NIOConnection nioConnection
         7: .line 109
            aload 1 /* connection */
            aload 3 /* message */
            aload 2 /* dstAddress */
            lconst_0
            invokestatic org.glassfish.grizzly.WriteResult.create:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Ljava/lang/Object;J)Lorg/glassfish/grizzly/WriteResult;
            astore 10 /* writeResult */
        start local 10 // org.glassfish.grizzly.WriteResult writeResult
         8: .line 112
            aload 0 /* this */
            aload 9 /* nioConnection */
            aload 2 /* dstAddress */
            aload 3 /* message */
            aload 10 /* writeResult */
            lload 6 /* timeout */
            aload 8 /* timeunit */
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write0:(Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;JLjava/util/concurrent/TimeUnit;)J
            pop2
         9: .line 116
            aload 5 /* pushBackHandler */
            ifnull 11
        10: .line 117
            aload 5 /* pushBackHandler */
            aload 1 /* connection */
            aload 3 /* message */
            invokeinterface org.glassfish.grizzly.asyncqueue.PushBackHandler.onAccept:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;)V
        11: .line 120
      StackMap locals: org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.WriteResult
      StackMap stack:
            aload 4 /* completionHandler */
            ifnull 13
        12: .line 121
            aload 4 /* completionHandler */
            aload 10 /* writeResult */
            invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
        13: .line 124
      StackMap locals:
      StackMap stack:
            aload 3 /* message */
            invokeinterface org.glassfish.grizzly.asyncqueue.WritableMessage.release:()Z
            pop
        14: .line 125
            goto 17
      StackMap locals:
      StackMap stack: java.io.IOException
        15: astore 11 /* e */
        start local 11 // java.io.IOException e
        16: .line 126
            aload 11 /* e */
            aload 4 /* completionHandler */
            invokestatic org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.failure:(Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
        end local 11 // java.io.IOException e
        17: .line 128
      StackMap locals:
      StackMap stack:
            return
        end local 10 // org.glassfish.grizzly.WriteResult writeResult
        end local 9 // org.glassfish.grizzly.nio.NIOConnection nioConnection
        end local 8 // java.util.concurrent.TimeUnit timeunit
        end local 6 // long timeout
        end local 5 // org.glassfish.grizzly.asyncqueue.PushBackHandler pushBackHandler
        end local 4 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        end local 2 // java.net.SocketAddress dstAddress
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   18     0               this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0   18     1         connection  Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
            0   18     2         dstAddress  Ljava/net/SocketAddress;
            0   18     3            message  Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
            0   18     4  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
            0   18     5    pushBackHandler  Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;
            0   18     6            timeout  J
            0   18     8           timeunit  Ljava/util/concurrent/TimeUnit;
            7   18     9      nioConnection  Lorg/glassfish/grizzly/nio/NIOConnection;
            8   18    10        writeResult  Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;
           16   17    11                  e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           8    14      15  Class java.io.IOException
    Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
    MethodParameters:
                   Name  Flags
      connection         
      dstAddress         
      message            
      completionHandler  
      pushBackHandler    final
      timeout            
      timeunit           

  protected long write0(org.glassfish.grizzly.nio.NIOConnection, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>, long, java.util.concurrent.TimeUnit);
    descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;JLjava/util/concurrent/TimeUnit;)J
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=19, args_size=7
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.nio.NIOConnection connection
        start local 2 // java.net.SocketAddress dstAddress
        start local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        start local 4 // org.glassfish.grizzly.WriteResult currentResult
        start local 5 // long timeout
        start local 7 // java.util.concurrent.TimeUnit timeunit
         0: .line 147
            aload 1 /* connection */
            invokevirtual org.glassfish.grizzly.nio.NIOConnection.getChannel:()Ljava/nio/channels/SelectableChannel;
            astore 8 /* channel */
        start local 8 // java.nio.channels.SelectableChannel channel
         1: .line 148
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            lload 5 /* timeout */
            aload 7 /* timeunit */
            invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
            lstore 9 /* writeTimeout */
        start local 9 // long writeTimeout
         2: .line 150
            aconst_null
            astore 11 /* key */
        start local 11 // java.nio.channels.SelectionKey key
         3: .line 151
            aconst_null
            astore 12 /* writeSelector */
        start local 12 // java.nio.channels.Selector writeSelector
         4: .line 152
            iconst_0
            istore 13 /* attempts */
        start local 13 // int attempts
         5: .line 153
            iconst_0
            istore 14 /* bytesWritten */
        start local 14 // int bytesWritten
         6: .line 157
            aload 1 /* connection */
            dup
            astore 15
            monitorenter
         7: .line 158
            goto 24
         8: .line 159
      StackMap locals: org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter org.glassfish.grizzly.nio.NIOConnection java.net.SocketAddress org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult long java.util.concurrent.TimeUnit java.nio.channels.SelectableChannel long java.nio.channels.SelectionKey java.nio.channels.Selector int int org.glassfish.grizzly.nio.NIOConnection
      StackMap stack:
            aload 0 /* this */
            aload 1 /* connection */
            aload 2 /* dstAddress */
            aload 3 /* message */
            aload 4 /* currentResult */
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.writeNow0:(Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;)J
            lstore 16 /* len */
        start local 16 // long len
         9: .line 161
            lload 16 /* len */
            lconst_0
            lcmp
            ifle 13
        10: .line 162
            iconst_0
            istore 13 /* attempts */
        11: .line 163
            iload 14 /* bytesWritten */
            i2l
            lload 16 /* len */
            ladd
            l2i
            istore 14 /* bytesWritten */
        12: .line 164
            goto 24
        13: .line 165
      StackMap locals: long
      StackMap stack:
            iinc 13 /* attempts */ 1
        14: .line 166
            aload 12 /* writeSelector */
            ifnonnull 20
        15: .line 167
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
            invokeinterface org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport.getTemporarySelectorIO:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorIO;
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO.getSelectorPool:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorPool;
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorPool.poll:()Ljava/nio/channels/Selector;
            astore 12 /* writeSelector */
        16: .line 169
            aload 12 /* writeSelector */
            ifnonnull 18
        17: .line 171
            goto 24
        18: .line 173
      StackMap locals:
      StackMap stack:
            aload 8 /* channel */
            aload 12 /* writeSelector */
            iconst_4
            invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
            astore 11 /* key */
        19: .line 174
            goto 21
        20: .line 175
      StackMap locals:
      StackMap stack:
            aload 12 /* writeSelector */
            invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
            invokeinterface java.util.Set.clear:()V
        21: .line 178
      StackMap locals:
      StackMap stack:
            aload 12 /* writeSelector */
            lload 9 /* writeTimeout */
            invokevirtual java.nio.channels.Selector.select:(J)I
            ifne 24
        22: .line 179
            iload 13 /* attempts */
            iconst_2
            if_icmple 24
        23: .line 180
            new java.io.IOException
            dup
            ldc "Client disconnected"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 16 // long len
        24: .line 158
      StackMap locals:
      StackMap stack:
            aload 3 /* message */
            invokeinterface org.glassfish.grizzly.asyncqueue.WritableMessage.hasRemaining:()Z
            ifne 8
        25: .line 157
            aload 15
            monitorexit
        26: goto 32
      StackMap locals:
      StackMap stack: java.lang.Throwable
        27: aload 15
            monitorexit
        28: athrow
        29: .line 186
      StackMap locals: org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter org.glassfish.grizzly.nio.NIOConnection java.net.SocketAddress org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult long java.util.concurrent.TimeUnit java.nio.channels.SelectableChannel long java.nio.channels.SelectionKey java.nio.channels.Selector int int
      StackMap stack: java.lang.Throwable
            astore 18
        30: .line 187
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
            invokeinterface org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport.getTemporarySelectorIO:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorIO;
            aload 12 /* writeSelector */
            aload 11 /* key */
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO.recycleTemporaryArtifacts:(Ljava/nio/channels/Selector;Ljava/nio/channels/SelectionKey;)V
        31: .line 188
            aload 18
            athrow
        32: .line 187
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
            invokeinterface org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport.getTemporarySelectorIO:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorIO;
            aload 12 /* writeSelector */
            aload 11 /* key */
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO.recycleTemporaryArtifacts:(Ljava/nio/channels/Selector;Ljava/nio/channels/SelectionKey;)V
        33: .line 190
            iload 14 /* bytesWritten */
            i2l
            lreturn
        end local 14 // int bytesWritten
        end local 13 // int attempts
        end local 12 // java.nio.channels.Selector writeSelector
        end local 11 // java.nio.channels.SelectionKey key
        end local 9 // long writeTimeout
        end local 8 // java.nio.channels.SelectableChannel channel
        end local 7 // java.util.concurrent.TimeUnit timeunit
        end local 5 // long timeout
        end local 4 // org.glassfish.grizzly.WriteResult currentResult
        end local 3 // org.glassfish.grizzly.asyncqueue.WritableMessage message
        end local 2 // java.net.SocketAddress dstAddress
        end local 1 // org.glassfish.grizzly.nio.NIOConnection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   34     0           this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0   34     1     connection  Lorg/glassfish/grizzly/nio/NIOConnection;
            0   34     2     dstAddress  Ljava/net/SocketAddress;
            0   34     3        message  Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
            0   34     4  currentResult  Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;
            0   34     5        timeout  J
            0   34     7       timeunit  Ljava/util/concurrent/TimeUnit;
            1   34     8        channel  Ljava/nio/channels/SelectableChannel;
            2   34     9   writeTimeout  J
            3   34    11            key  Ljava/nio/channels/SelectionKey;
            4   34    12  writeSelector  Ljava/nio/channels/Selector;
            5   34    13       attempts  I
            6   34    14   bytesWritten  I
            9   24    16            len  J
      Exception table:
        from    to  target  type
           7    26      27  any
          27    28      27  any
           6    29      29  any
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;JLjava/util/concurrent/TimeUnit;)J
    MethodParameters:
               Name  Flags
      connection     final
      dstAddress     final
      message        final
      currentResult  final
      timeout        final
      timeunit       final

  public org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport getTransport();
    descriptor: ()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
         0: .line 194
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
            areturn
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;

  protected abstract long writeNow0(org.glassfish.grizzly.nio.NIOConnection, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>);
    descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;)J
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;)J
    MethodParameters:
               Name  Flags
      connection     
      dstAddress     
      message        
      currentResult  

  private static void failure(java.lang.Throwable, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>);
    descriptor: (Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Throwable failure
        start local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 201
            aload 1 /* completionHandler */
            ifnull 2
         1: .line 202
            aload 1 /* completionHandler */
            aload 0 /* failure */
            invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
         2: .line 204
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 0 // java.lang.Throwable failure
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    3     0            failure  Ljava/lang/Throwable;
            0    3     1  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
    Signature: (Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;)V
    MethodParameters:
                   Name  Flags
      failure            final
      completionHandler  final

  public boolean canWrite(org.glassfish.grizzly.Connection);
    descriptor: (Lorg/glassfish/grizzly/Connection;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.Connection connection
         0: .line 211
            iconst_1
            ireturn
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0    1     1  connection  Lorg/glassfish/grizzly/Connection;
    MethodParameters:
            Name  Flags
      connection  final

  public void notifyWritePossible(org.glassfish.grizzly.Connection, org.glassfish.grizzly.WriteHandler);
    descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/WriteHandler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
        start local 1 // org.glassfish.grizzly.Connection connection
        start local 2 // org.glassfish.grizzly.WriteHandler writeHandler
         0: .line 220
            aload 2 /* writeHandler */
            invokeinterface org.glassfish.grizzly.WriteHandler.onWritePossible:()V
         1: .line 221
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Throwable
         2: astore 3 /* t */
        start local 3 // java.lang.Throwable t
         3: .line 222
            aload 2 /* writeHandler */
            aload 3 /* t */
            invokeinterface org.glassfish.grizzly.WriteHandler.onError:(Ljava/lang/Throwable;)V
        end local 3 // java.lang.Throwable t
         4: .line 224
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.glassfish.grizzly.WriteHandler writeHandler
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
            0    5     1    connection  Lorg/glassfish/grizzly/Connection;
            0    5     2  writeHandler  Lorg/glassfish/grizzly/WriteHandler;
            3    4     3             t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Throwable
    MethodParameters:
              Name  Flags
      connection    final
      writeHandler  final

  public void write(org.glassfish.grizzly.Connection, java.lang.Object, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.asyncqueue.PushBackHandler);
    descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=6, locals=6, args_size=6
         0: .line 1
            aload 0
            aload 1
            checkcast org.glassfish.grizzly.Connection
            aload 2
            checkcast java.net.SocketAddress
            aload 3
            aload 4
            checkcast org.glassfish.grizzly.CompletionHandler
            aload 5
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void write(org.glassfish.grizzly.Connection, java.lang.Object, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.asyncqueue.MessageCloner);
    descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=6, locals=6, args_size=6
         0: .line 1
            aload 0
            aload 1
            checkcast org.glassfish.grizzly.Connection
            aload 2
            checkcast java.net.SocketAddress
            aload 3
            aload 4
            checkcast org.glassfish.grizzly.CompletionHandler
            aload 5
            invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Lorg/glassfish/grizzly/AbstractWriter<Ljava/net/SocketAddress;>;
SourceFile: "TemporarySelectorWriter.java"