public abstract class org.xnio.Connection implements org.xnio.channels.CloseableChannel, org.xnio.channels.ConnectedChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.xnio.Connection
  super_class: java.lang.Object
{
  protected final org.xnio.XnioIoThread thread;
    descriptor: Lorg/xnio/XnioIoThread;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  private volatile int state;
    descriptor: I
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private static final int FLAG_READ_CLOSED;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int FLAG_WRITE_CLOSED;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<org.xnio.Connection> stateUpdater;
    descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lorg/xnio/Connection;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 45
            ldc Lorg/xnio/Connection;
            ldc "state"
            invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
            putstatic org.xnio.Connection.stateUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>(org.xnio.XnioIoThread);
    descriptor: (Lorg/xnio/XnioIoThread;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.xnio.Connection this
        start local 1 // org.xnio.XnioIoThread thread
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 53
            aload 0 /* this */
            aload 1 /* thread */
            putfield org.xnio.Connection.thread:Lorg/xnio/XnioIoThread;
         2: .line 54
            return
        end local 1 // org.xnio.XnioIoThread thread
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/xnio/Connection;
            0    3     1  thread  Lorg/xnio/XnioIoThread;
    MethodParameters:
        Name  Flags
      thread  final

  private static <A extends java.net.SocketAddress> A castAddress(java.lang.Class<A>, java.net.SocketAddress);
    descriptor: (Ljava/lang/Class;Ljava/net/SocketAddress;)Ljava/net/SocketAddress;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Class type
        start local 1 // java.net.SocketAddress address
         0: .line 57
            aload 0 /* type */
            aload 1 /* address */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 1
            aload 0 /* type */
            aload 1 /* address */
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.net.SocketAddress
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: java.net.SocketAddress
         2: areturn
        end local 1 // java.net.SocketAddress address
        end local 0 // java.lang.Class type
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     type  Ljava/lang/Class<TA;>;
            0    3     1  address  Ljava/net/SocketAddress;
    Signature: <A:Ljava/net/SocketAddress;>(Ljava/lang/Class<TA;>;Ljava/net/SocketAddress;)TA;
    MethodParameters:
         Name  Flags
      type     final
      address  

  public final <A extends java.net.SocketAddress> A getPeerAddress(java.lang.Class<A>);
    descriptor: (Ljava/lang/Class;)Ljava/net/SocketAddress;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.xnio.Connection this
        start local 1 // java.lang.Class type
         0: .line 61
            aload 1 /* type */
            aload 0 /* this */
            invokevirtual org.xnio.Connection.getPeerAddress:()Ljava/net/SocketAddress;
            invokestatic org.xnio.Connection.castAddress:(Ljava/lang/Class;Ljava/net/SocketAddress;)Ljava/net/SocketAddress;
            areturn
        end local 1 // java.lang.Class type
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;
            0    1     1  type  Ljava/lang/Class<TA;>;
    Signature: <A:Ljava/net/SocketAddress;>(Ljava/lang/Class<TA;>;)TA;
    MethodParameters:
      Name  Flags
      type  final

  public final <A extends java.net.SocketAddress> A getLocalAddress(java.lang.Class<A>);
    descriptor: (Ljava/lang/Class;)Ljava/net/SocketAddress;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.xnio.Connection this
        start local 1 // java.lang.Class type
         0: .line 65
            aload 1 /* type */
            aload 0 /* this */
            invokevirtual org.xnio.Connection.getLocalAddress:()Ljava/net/SocketAddress;
            invokestatic org.xnio.Connection.castAddress:(Ljava/lang/Class;Ljava/net/SocketAddress;)Ljava/net/SocketAddress;
            areturn
        end local 1 // java.lang.Class type
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;
            0    1     1  type  Ljava/lang/Class<TA;>;
    Signature: <A:Ljava/net/SocketAddress;>(Ljava/lang/Class<TA;>;)TA;
    MethodParameters:
      Name  Flags
      type  final

  public final org.xnio.XnioWorker getWorker();
    descriptor: ()Lorg/xnio/XnioWorker;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 69
            aload 0 /* this */
            getfield org.xnio.Connection.thread:Lorg/xnio/XnioIoThread;
            invokevirtual org.xnio.XnioIoThread.getWorker:()Lorg/xnio/XnioWorker;
            areturn
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;

  public org.xnio.XnioIoThread getIoThread();
    descriptor: ()Lorg/xnio/XnioIoThread;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 73
            aload 0 /* this */
            getfield org.xnio.Connection.thread:Lorg/xnio/XnioIoThread;
            areturn
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;

  protected boolean readClosed();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.xnio.Connection.state:I
            istore 1 /* oldVal */
        start local 1 // int oldVal
         1: .line 85
            iload 1 /* oldVal */
            iconst_1
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ifeq 3
         2: .line 86
            iconst_0
            ireturn
         3: .line 88
      StackMap locals: int
      StackMap stack:
            iload 1 /* oldVal */
            iconst_1
            ior
            istore 2 /* newVal */
        start local 2 // int newVal
         4: .line 89
            getstatic org.xnio.Connection.stateUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
            aload 0 /* this */
            iload 1 /* oldVal */
            iload 2 /* newVal */
            invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
            ifeq 0
         5: .line 90
            iload 2 /* newVal */
            iconst_3
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ifeq 10
         6: .line 92
            aload 0 /* this */
            invokevirtual org.xnio.Connection.closeAction:()V
         7: .line 93
            goto 9
      StackMap locals: org.xnio.Connection int int
      StackMap stack: java.lang.Throwable
         8: pop
         9: .line 94
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.xnio.Connection.invokeCloseListener:()V
        10: .line 96
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 2 // int newVal
        end local 1 // int oldVal
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lorg/xnio/Connection;
            1   11     1  oldVal  I
            4   11     2  newVal  I
      Exception table:
        from    to  target  type
           6     7       8  Class java.lang.Throwable

  protected boolean writeClosed();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.xnio.Connection.state:I
            istore 1 /* oldVal */
        start local 1 // int oldVal
         1: .line 108
            iload 1 /* oldVal */
            iconst_2
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ifeq 3
         2: .line 109
            iconst_0
            ireturn
         3: .line 111
      StackMap locals: int
      StackMap stack:
            iload 1 /* oldVal */
            iconst_2
            ior
            istore 2 /* newVal */
        start local 2 // int newVal
         4: .line 112
            getstatic org.xnio.Connection.stateUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
            aload 0 /* this */
            iload 1 /* oldVal */
            iload 2 /* newVal */
            invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
            ifeq 0
         5: .line 113
            iload 2 /* newVal */
            iconst_3
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ifeq 10
         6: .line 115
            aload 0 /* this */
            invokevirtual org.xnio.Connection.closeAction:()V
         7: .line 116
            goto 9
      StackMap locals: org.xnio.Connection int int
      StackMap stack: java.lang.Throwable
         8: pop
         9: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.xnio.Connection.invokeCloseListener:()V
        10: .line 119
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 2 // int newVal
        end local 1 // int oldVal
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lorg/xnio/Connection;
            1   11     1  oldVal  I
            4   11     2  newVal  I
      Exception table:
        from    to  target  type
           6     7       8  Class java.lang.Throwable

  public final void close();
    descriptor: ()V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.xnio.Connection.state:I
            istore 1 /* oldVal */
        start local 1 // int oldVal
         1: .line 126
            iload 1 /* oldVal */
            iconst_3
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ifeq 3
         2: .line 127
            return
         3: .line 129
      StackMap locals: int
      StackMap stack:
            iload 1 /* oldVal */
            iconst_1
            ior
            iconst_2
            ior
            istore 2 /* newVal */
        start local 2 // int newVal
         4: .line 130
            getstatic org.xnio.Connection.stateUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
            aload 0 /* this */
            iload 1 /* oldVal */
            iload 2 /* newVal */
            invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
            ifeq 0
         5: .line 132
            aload 0 /* this */
            invokevirtual org.xnio.Connection.closeAction:()V
         6: .line 133
            goto 18
      StackMap locals: org.xnio.Connection int int
      StackMap stack: java.lang.Throwable
         7: astore 3
         8: .line 134
            iload 1 /* oldVal */
            iconst_2
            invokestatic org.xnio.Bits.allAreClear:(II)Z
            ifeq 12
         9: .line 135
            aload 0 /* this */
            invokevirtual org.xnio.Connection.notifyWriteClosed:()V
        10: .line 136
            goto 12
      StackMap locals: org.xnio.Connection int int java.lang.Throwable
      StackMap stack: java.lang.Throwable
        11: pop
        12: .line 138
      StackMap locals:
      StackMap stack:
            iload 1 /* oldVal */
            iconst_1
            invokestatic org.xnio.Bits.allAreClear:(II)Z
            ifeq 16
        13: .line 139
            aload 0 /* this */
            invokevirtual org.xnio.Connection.notifyReadClosed:()V
        14: .line 140
            goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: pop
        16: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.xnio.Connection.invokeCloseListener:()V
        17: .line 143
            aload 3
            athrow
        18: .line 134
      StackMap locals:
      StackMap stack:
            iload 1 /* oldVal */
            iconst_2
            invokestatic org.xnio.Bits.allAreClear:(II)Z
            ifeq 22
        19: .line 135
            aload 0 /* this */
            invokevirtual org.xnio.Connection.notifyWriteClosed:()V
        20: .line 136
            goto 22
      StackMap locals:
      StackMap stack: java.lang.Throwable
        21: pop
        22: .line 138
      StackMap locals:
      StackMap stack:
            iload 1 /* oldVal */
            iconst_1
            invokestatic org.xnio.Bits.allAreClear:(II)Z
            ifeq 26
        23: .line 139
            aload 0 /* this */
            invokevirtual org.xnio.Connection.notifyReadClosed:()V
        24: .line 140
            goto 26
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: pop
        26: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.xnio.Connection.invokeCloseListener:()V
        27: .line 144
            return
        end local 2 // int newVal
        end local 1 // int oldVal
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   28     0    this  Lorg/xnio/Connection;
            1   28     1  oldVal  I
            4   28     2  newVal  I
      Exception table:
        from    to  target  type
           5     7       7  any
           9    10      11  Class java.lang.Throwable
          13    14      15  Class java.lang.Throwable
          19    20      21  Class java.lang.Throwable
          23    24      25  Class java.lang.Throwable
    Exceptions:
      throws java.io.IOException

  public boolean isReadShutdown();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 152
            aload 0 /* this */
            getfield org.xnio.Connection.state:I
            iconst_1
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ireturn
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;

  public boolean isWriteShutdown();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 161
            aload 0 /* this */
            getfield org.xnio.Connection.state:I
            iconst_2
            invokestatic org.xnio.Bits.allAreSet:(II)Z
            ireturn
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;

  public boolean isOpen();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 165
            aload 0 /* this */
            getfield org.xnio.Connection.state:I
            iconst_3
            invokestatic org.xnio.Bits.anyAreClear:(II)Z
            ireturn
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;

  protected abstract void notifyWriteClosed();
    descriptor: ()V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT

  protected abstract void notifyReadClosed();
    descriptor: ()V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT

  abstract void invokeCloseListener();
    descriptor: ()V
    flags: (0x0400) ACC_ABSTRACT

  protected void closeAction();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.xnio.Connection this
         0: .line 185
            return
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/Connection;
    Exceptions:
      throws java.io.IOException

  public boolean supportsOption(org.xnio.Option<?>);
    descriptor: (Lorg/xnio/Option;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.xnio.Connection this
        start local 1 // org.xnio.Option option
         0: .line 188
            iconst_0
            ireturn
        end local 1 // org.xnio.Option option
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/xnio/Connection;
            0    1     1  option  Lorg/xnio/Option<*>;
    Signature: (Lorg/xnio/Option<*>;)Z
    MethodParameters:
        Name  Flags
      option  final

  public <T> T getOption(org.xnio.Option<T>);
    descriptor: (Lorg/xnio/Option;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.xnio.Connection this
        start local 1 // org.xnio.Option option
         0: .line 192
            aconst_null
            areturn
        end local 1 // org.xnio.Option option
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/xnio/Connection;
            0    1     1  option  Lorg/xnio/Option<TT;>;
    Exceptions:
      throws java.io.IOException
    Signature: <T:Ljava/lang/Object;>(Lorg/xnio/Option<TT;>;)TT;
    MethodParameters:
        Name  Flags
      option  final

  public <T> T setOption(org.xnio.Option<T>, );
    descriptor: (Lorg/xnio/Option;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // org.xnio.Connection this
        start local 1 // org.xnio.Option option
        start local 2 // java.lang.Object value
         0: .line 196
            aconst_null
            areturn
        end local 2 // java.lang.Object value
        end local 1 // org.xnio.Option option
        end local 0 // org.xnio.Connection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/xnio/Connection;
            0    1     1  option  Lorg/xnio/Option<TT;>;
            0    1     2   value  TT;
    Exceptions:
      throws java.lang.IllegalArgumentException, java.io.IOException
    Signature: <T:Ljava/lang/Object;>(Lorg/xnio/Option<TT;>;TT;)TT;
    MethodParameters:
        Name  Flags
      option  final
      value   final
}
SourceFile: "Connection.java"