final class sun.rmi.transport.tcp.MultiplexInputStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.rmi.transport.tcp.MultiplexInputStream
  super_class: java.io.InputStream
{
  private sun.rmi.transport.tcp.ConnectionMultiplexer manager;
    descriptor: Lsun/rmi/transport/tcp/ConnectionMultiplexer;
    flags: (0x0002) ACC_PRIVATE

  private sun.rmi.transport.tcp.MultiplexConnectionInfo info;
    descriptor: Lsun/rmi/transport/tcp/MultiplexConnectionInfo;
    flags: (0x0002) ACC_PRIVATE

  private byte[] buffer;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private int present;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int pos;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int requested;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private boolean disconnected;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Object lock;
    descriptor: Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE

  private int waterMark;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private byte[] temp;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  void <init>(sun.rmi.transport.tcp.ConnectionMultiplexer, sun.rmi.transport.tcp.MultiplexConnectionInfo, int);
    descriptor: (Lsun/rmi/transport/tcp/ConnectionMultiplexer;Lsun/rmi/transport/tcp/MultiplexConnectionInfo;I)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
        start local 1 // sun.rmi.transport.tcp.ConnectionMultiplexer manager
        start local 2 // sun.rmi.transport.tcp.MultiplexConnectionInfo info
        start local 3 // int bufferLength
         0: .line 83
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 49
            aload 0 /* this */
            iconst_0
            putfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
         2: .line 52
            aload 0 /* this */
            iconst_0
            putfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
         3: .line 55
            aload 0 /* this */
            iconst_0
            putfield sun.rmi.transport.tcp.MultiplexInputStream.requested:I
         4: .line 58
            aload 0 /* this */
            iconst_0
            putfield sun.rmi.transport.tcp.MultiplexInputStream.disconnected:Z
         5: .line 69
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
         6: .line 75
            aload 0 /* this */
            iconst_1
            newarray 8
            putfield sun.rmi.transport.tcp.MultiplexInputStream.temp:[B
         7: .line 88
            aload 0 /* this */
            aload 1 /* manager */
            putfield sun.rmi.transport.tcp.MultiplexInputStream.manager:Lsun/rmi/transport/tcp/ConnectionMultiplexer;
         8: .line 89
            aload 0 /* this */
            aload 2 /* info */
            putfield sun.rmi.transport.tcp.MultiplexInputStream.info:Lsun/rmi/transport/tcp/MultiplexConnectionInfo;
         9: .line 91
            aload 0 /* this */
            iload 3 /* bufferLength */
            newarray 8
            putfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
        10: .line 92
            aload 0 /* this */
            iload 3 /* bufferLength */
            iconst_2
            idiv
            putfield sun.rmi.transport.tcp.MultiplexInputStream.waterMark:I
        11: .line 93
            return
        end local 3 // int bufferLength
        end local 2 // sun.rmi.transport.tcp.MultiplexConnectionInfo info
        end local 1 // sun.rmi.transport.tcp.ConnectionMultiplexer manager
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Lsun/rmi/transport/tcp/MultiplexInputStream;
            0   12     1       manager  Lsun/rmi/transport/tcp/ConnectionMultiplexer;
            0   12     2          info  Lsun/rmi/transport/tcp/MultiplexConnectionInfo;
            0   12     3  bufferLength  I
    MethodParameters:
              Name  Flags
      manager       
      info          
      bufferLength  

  public synchronized int read();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
         0: .line 100
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.temp:[B
            iconst_0
            iconst_1
            invokevirtual sun.rmi.transport.tcp.MultiplexInputStream.read:([BII)I
            istore 1 /* n */
        start local 1 // int n
         1: .line 101
            iload 1 /* n */
            iconst_1
            if_icmpeq 3
         2: .line 102
            iconst_m1
            ireturn
         3: .line 103
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.temp:[B
            iconst_0
            baload
            sipush 255
            iand
            ireturn
        end local 1 // int n
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/rmi/transport/tcp/MultiplexInputStream;
            1    4     1     n  I
    Exceptions:
      throws java.io.IOException

  public synchronized int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=7, args_size=4
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 116
            iload 3 /* len */
            ifgt 2
         1: .line 117
            iconst_0
            ireturn
         2: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
         3: .line 121
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            if_icmplt 5
         4: .line 122
            aload 0 /* this */
            aload 0 /* this */
            iconst_0
            dup_x1
            putfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            putfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            goto 9
         5: .line 123
      StackMap locals: sun.rmi.transport.tcp.MultiplexInputStream byte[] int int top java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.waterMark:I
            if_icmplt 9
         6: .line 124
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            iconst_0
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            isub
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 125
            aload 0 /* this */
            dup
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            isub
            putfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
         8: .line 126
            aload 0 /* this */
            iconst_0
            putfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
         9: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            arraylength
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            isub
            istore 6 /* freeSpace */
        start local 6 // int freeSpace
        10: .line 129
            iload 6 /* freeSpace */
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.requested:I
            isub
            iconst_0
            invokestatic java.lang.Math.max:(II)I
            istore 4 /* moreSpace */
        end local 6 // int freeSpace
        start local 4 // int moreSpace
        11: .line 120
            aload 5
            monitorexit
        12: goto 15
        end local 4 // int moreSpace
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 5
            monitorexit
        14: athrow
        start local 4 // int moreSpace
        15: .line 131
      StackMap locals: sun.rmi.transport.tcp.MultiplexInputStream byte[] int int int
      StackMap stack:
            iload 4 /* moreSpace */
            ifle 17
        16: .line 132
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.manager:Lsun/rmi/transport/tcp/ConnectionMultiplexer;
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.info:Lsun/rmi/transport/tcp/MultiplexConnectionInfo;
            iload 4 /* moreSpace */
            invokevirtual sun.rmi.transport.tcp.ConnectionMultiplexer.sendRequest:(Lsun/rmi/transport/tcp/MultiplexConnectionInfo;I)V
        17: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
        18: .line 134
            aload 0 /* this */
            dup
            getfield sun.rmi.transport.tcp.MultiplexInputStream.requested:I
            iload 4 /* moreSpace */
            iadd
            putfield sun.rmi.transport.tcp.MultiplexInputStream.requested:I
        19: .line 135
            goto 23
        20: .line 137
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            invokevirtual java.lang.Object.wait:()V
        21: .line 138
            goto 23
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        22: pop
        23: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            if_icmplt 24
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.disconnected:Z
            ifeq 20
        24: .line 141
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.disconnected:Z
            ifeq 27
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            if_icmplt 27
        25: .line 142
            aload 5
            monitorexit
        26: iconst_m1
            ireturn
        27: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            isub
            istore 6 /* available */
        start local 6 // int available
        28: .line 145
            iload 3 /* len */
            iload 6 /* available */
            if_icmpge 33
        29: .line 146
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        30: .line 147
            aload 0 /* this */
            dup
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            iload 3 /* len */
            iadd
            putfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
        31: .line 148
            iload 3 /* len */
            aload 5
            monitorexit
        32: ireturn
        33: .line 151
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 1 /* b */
            iload 2 /* off */
            iload 6 /* available */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        34: .line 152
            aload 0 /* this */
            aload 0 /* this */
            iconst_0
            dup_x1
            putfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            putfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
        35: .line 154
            iload 6 /* available */
            aload 5
            monitorexit
        36: ireturn
        end local 6 // int available
        37: .line 133
      StackMap locals: sun.rmi.transport.tcp.MultiplexInputStream byte[] int int int java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 5
            monitorexit
        38: athrow
        end local 4 // int moreSpace
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   39     0       this  Lsun/rmi/transport/tcp/MultiplexInputStream;
            0   39     1          b  [B
            0   39     2        off  I
            0   39     3        len  I
           11   13     4  moreSpace  I
           15   39     4  moreSpace  I
           10   11     6  freeSpace  I
           28   37     6  available  I
      Exception table:
        from    to  target  type
           3    12      13  any
          13    14      13  any
          20    21      22  Class java.lang.InterruptedException
          18    26      37  any
          27    32      37  any
          33    36      37  any
          37    38      37  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
         0: .line 164
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 165
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            isub
            aload 1
            monitorexit
         2: ireturn
         3: .line 164
      StackMap locals: sun.rmi.transport.tcp.MultiplexInputStream java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/rmi/transport/tcp/MultiplexInputStream;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
         0: .line 174
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.manager:Lsun/rmi/transport/tcp/ConnectionMultiplexer;
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.info:Lsun/rmi/transport/tcp/MultiplexConnectionInfo;
            invokevirtual sun.rmi.transport.tcp.ConnectionMultiplexer.sendClose:(Lsun/rmi/transport/tcp/MultiplexConnectionInfo;)V
         1: .line 175
            return
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/rmi/transport/tcp/MultiplexInputStream;
    Exceptions:
      throws java.io.IOException

  void receive(int, java.io.DataInputStream);
    descriptor: (ILjava/io/DataInputStream;)V
    flags: (0x0000) 
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
        start local 1 // int length
        start local 2 // java.io.DataInputStream in
         0: .line 188
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         1: .line 189
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            ifle 5
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            arraylength
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            isub
            iload 1 /* length */
            if_icmpge 5
         2: .line 190
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            iconst_0
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            isub
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         3: .line 191
            aload 0 /* this */
            dup
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
            isub
            putfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
         4: .line 192
            aload 0 /* this */
            iconst_0
            putfield sun.rmi.transport.tcp.MultiplexInputStream.pos:I
         5: .line 194
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            arraylength
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            isub
            iload 1 /* length */
            if_icmpge 7
         6: .line 195
            new java.io.IOException
            dup
            ldc "Receive buffer overflow"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 196
      StackMap locals:
      StackMap stack:
            aload 2 /* in */
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.buffer:[B
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            iload 1 /* length */
            invokevirtual java.io.DataInputStream.readFully:([BII)V
         8: .line 197
            aload 0 /* this */
            dup
            getfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
            iload 1 /* length */
            iadd
            putfield sun.rmi.transport.tcp.MultiplexInputStream.present:I
         9: .line 198
            aload 0 /* this */
            dup
            getfield sun.rmi.transport.tcp.MultiplexInputStream.requested:I
            iload 1 /* length */
            isub
            putfield sun.rmi.transport.tcp.MultiplexInputStream.requested:I
        10: .line 199
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
        11: .line 188
            aload 3
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 3
            monitorexit
        14: athrow
        15: .line 201
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.io.DataInputStream in
        end local 1 // int length
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   16     0    this  Lsun/rmi/transport/tcp/MultiplexInputStream;
            0   16     1  length  I
            0   16     2      in  Ljava/io/DataInputStream;
      Exception table:
        from    to  target  type
           1    12      13  any
          13    14      13  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      length  
      in      

  void disconnect();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
         0: .line 208
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 209
            aload 0 /* this */
            iconst_1
            putfield sun.rmi.transport.tcp.MultiplexInputStream.disconnected:Z
         2: .line 210
            aload 0 /* this */
            getfield sun.rmi.transport.tcp.MultiplexInputStream.lock:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
         3: .line 208
            aload 1
            monitorexit
         4: goto 7
      StackMap locals: sun.rmi.transport.tcp.MultiplexInputStream java.lang.Object
      StackMap stack: java.lang.Throwable
         5: aload 1
            monitorexit
         6: athrow
         7: .line 212
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.rmi.transport.tcp.MultiplexInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/rmi/transport/tcp/MultiplexInputStream;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
}
SourceFile: "MultiplexInputStream.java"