public class jdk.incubator.http.internal.websocket.Transmitter
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.incubator.http.internal.websocket.Transmitter
  super_class: java.lang.Object
{
  private final java.util.concurrent.atomic.AtomicBoolean busy;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private jdk.incubator.http.internal.websocket.OutgoingMessage message;
    descriptor: Ljdk/incubator/http/internal/websocket/OutgoingMessage;
    flags: (0x0002) ACC_PRIVATE

  private java.util.function.Consumer<java.lang.Exception> completionHandler;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/function/Consumer<Ljava/lang/Exception;>;

  private final jdk.incubator.http.internal.websocket.RawChannel channel;
    descriptor: Ljdk/incubator/http/internal/websocket/RawChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.incubator.http.internal.websocket.RawChannel$RawEvent event;
    descriptor: Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 43
            ldc Ljdk/incubator/http/internal/websocket/Transmitter;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.incubator.http.internal.websocket.Transmitter.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(jdk.incubator.http.internal.websocket.RawChannel);
    descriptor: (Ljdk/incubator/http/internal/websocket/RawChannel;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.Transmitter this
        start local 1 // jdk.incubator.http.internal.websocket.RawChannel channel
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 46
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.incubator.http.internal.websocket.Transmitter.busy:Ljava/util/concurrent/atomic/AtomicBoolean;
         2: .line 53
            aload 0 /* this */
            aload 1 /* channel */
            putfield jdk.incubator.http.internal.websocket.Transmitter.channel:Ljdk/incubator/http/internal/websocket/RawChannel;
         3: .line 54
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.incubator.http.internal.websocket.Transmitter.createHandler:()Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
            putfield jdk.incubator.http.internal.websocket.Transmitter.event:Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
         4: .line 55
            return
        end local 1 // jdk.incubator.http.internal.websocket.RawChannel channel
        end local 0 // jdk.incubator.http.internal.websocket.Transmitter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/incubator/http/internal/websocket/Transmitter;
            0    5     1  channel  Ljdk/incubator/http/internal/websocket/RawChannel;
    MethodParameters:
         Name  Flags
      channel  

  public void send(jdk.incubator.http.internal.websocket.OutgoingMessage, java.util.function.Consumer<java.lang.Exception>);
    descriptor: (Ljdk/incubator/http/internal/websocket/OutgoingMessage;Ljava/util/function/Consumer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.incubator.http.internal.websocket.Transmitter this
        start local 1 // jdk.incubator.http.internal.websocket.OutgoingMessage message
        start local 2 // java.util.function.Consumer completionHandler
         0: .line 65
            aload 1 /* message */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 66
            aload 2 /* completionHandler */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 67
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.busy:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifne 4
         3: .line 68
            new java.lang.IllegalStateException
            dup
            invokespecial java.lang.IllegalStateException.<init>:()V
            athrow
         4: .line 70
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* message */
            aload 2 /* completionHandler */
            invokevirtual jdk.incubator.http.internal.websocket.Transmitter.send0:(Ljdk/incubator/http/internal/websocket/OutgoingMessage;Ljava/util/function/Consumer;)V
         5: .line 71
            return
        end local 2 // java.util.function.Consumer completionHandler
        end local 1 // jdk.incubator.http.internal.websocket.OutgoingMessage message
        end local 0 // jdk.incubator.http.internal.websocket.Transmitter this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    6     0               this  Ljdk/incubator/http/internal/websocket/Transmitter;
            0    6     1            message  Ljdk/incubator/http/internal/websocket/OutgoingMessage;
            0    6     2  completionHandler  Ljava/util/function/Consumer<Ljava/lang/Exception;>;
    Signature: (Ljdk/incubator/http/internal/websocket/OutgoingMessage;Ljava/util/function/Consumer<Ljava/lang/Exception;>;)V
    MethodParameters:
                   Name  Flags
      message            
      completionHandler  

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.Transmitter this
         0: .line 74
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.channel:Ljdk/incubator/http/internal/websocket/RawChannel;
            invokeinterface jdk.incubator.http.internal.websocket.RawChannel.shutdownOutput:()V
         1: .line 75
            return
        end local 0 // jdk.incubator.http.internal.websocket.Transmitter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/incubator/http/internal/websocket/Transmitter;
    Exceptions:
      throws java.io.IOException

  private jdk.incubator.http.internal.websocket.RawChannel$RawEvent createHandler();
    descriptor: ()Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.Transmitter this
         0: .line 78
            new jdk.incubator.http.internal.websocket.Transmitter$1
            dup
            aload 0 /* this */
            invokespecial jdk.incubator.http.internal.websocket.Transmitter$1.<init>:(Ljdk/incubator/http/internal/websocket/Transmitter;)V
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.Transmitter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/Transmitter;

  private void send0(jdk.incubator.http.internal.websocket.OutgoingMessage, java.util.function.Consumer<java.lang.Exception>);
    descriptor: (Ljdk/incubator/http/internal/websocket/OutgoingMessage;Ljava/util/function/Consumer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=6, args_size=3
        start local 0 // jdk.incubator.http.internal.websocket.Transmitter this
        start local 1 // jdk.incubator.http.internal.websocket.OutgoingMessage message
        start local 2 // java.util.function.Consumer handler
         0: .line 95
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.busy:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            istore 3 /* b */
        start local 3 // boolean b
         1: .line 96
            getstatic jdk.incubator.http.internal.websocket.Transmitter.$assertionsDisabled:Z
            ifne 2
            iload 3 /* b */
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 101
      StackMap locals: int
      StackMap stack:
            aload 1 /* message */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.channel:Ljdk/incubator/http/internal/websocket/RawChannel;
            invokevirtual jdk.incubator.http.internal.websocket.OutgoingMessage.sendTo:(Ljdk/incubator/http/internal/websocket/RawChannel;)Z
            istore 4 /* sent */
        start local 4 // boolean sent
         3: .line 102
            iload 4 /* sent */
            ifeq 7
         4: .line 103
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.busy:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         5: .line 104
            aload 2 /* handler */
            aconst_null
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         6: .line 105
            goto 20
         7: .line 108
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* message */
            putfield jdk.incubator.http.internal.websocket.Transmitter.message:Ljdk/incubator/http/internal/websocket/OutgoingMessage;
         8: .line 109
            aload 0 /* this */
            aload 2 /* handler */
            putfield jdk.incubator.http.internal.websocket.Transmitter.completionHandler:Ljava/util/function/Consumer;
         9: .line 111
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.channel:Ljdk/incubator/http/internal/websocket/RawChannel;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.event:Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
            invokeinterface jdk.incubator.http.internal.websocket.RawChannel.registerEvent:(Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;)V
        10: .line 112
            goto 20
      StackMap locals:
      StackMap stack: java.io.IOException
        11: astore 5 /* e */
        start local 5 // java.io.IOException e
        12: .line 113
            aload 0 /* this */
            aconst_null
            putfield jdk.incubator.http.internal.websocket.Transmitter.message:Ljdk/incubator/http/internal/websocket/OutgoingMessage;
        13: .line 114
            aload 0 /* this */
            aconst_null
            putfield jdk.incubator.http.internal.websocket.Transmitter.completionHandler:Ljava/util/function/Consumer;
        14: .line 115
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.busy:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
        15: .line 116
            aload 2 /* handler */
            aload 5 /* e */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 5 // java.io.IOException e
        end local 4 // boolean sent
        16: .line 119
            goto 20
      StackMap locals: jdk.incubator.http.internal.websocket.Transmitter jdk.incubator.http.internal.websocket.OutgoingMessage java.util.function.Consumer int
      StackMap stack: java.io.IOException
        17: astore 4 /* e */
        start local 4 // java.io.IOException e
        18: .line 120
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.Transmitter.busy:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
        19: .line 121
            aload 2 /* handler */
            aload 4 /* e */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 4 // java.io.IOException e
        20: .line 123
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean b
        end local 2 // java.util.function.Consumer handler
        end local 1 // jdk.incubator.http.internal.websocket.OutgoingMessage message
        end local 0 // jdk.incubator.http.internal.websocket.Transmitter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   21     0     this  Ljdk/incubator/http/internal/websocket/Transmitter;
            0   21     1  message  Ljdk/incubator/http/internal/websocket/OutgoingMessage;
            0   21     2  handler  Ljava/util/function/Consumer<Ljava/lang/Exception;>;
            1   21     3        b  Z
            3   16     4     sent  Z
           12   16     5        e  Ljava/io/IOException;
           18   20     4        e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           9    10      11  Class java.io.IOException
           2    16      17  Class java.io.IOException
    Signature: (Ljdk/incubator/http/internal/websocket/OutgoingMessage;Ljava/util/function/Consumer<Ljava/lang/Exception;>;)V
    MethodParameters:
         Name  Flags
      message  
      handler  
}
SourceFile: "Transmitter.java"
NestMembers:
  jdk.incubator.http.internal.websocket.Transmitter$1
InnerClasses:
  public abstract RawEvent = jdk.incubator.http.internal.websocket.RawChannel$RawEvent of jdk.incubator.http.internal.websocket.RawChannel
  jdk.incubator.http.internal.websocket.Transmitter$1