class sun.security.krb5.internal.TCPClient extends sun.security.krb5.internal.NetClient
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.security.krb5.internal.TCPClient
  super_class: sun.security.krb5.internal.NetClient
{
  private java.net.Socket tcpSocket;
    descriptor: Ljava/net/Socket;
    flags: (0x0002) ACC_PRIVATE

  private java.io.BufferedOutputStream out;
    descriptor: Ljava/io/BufferedOutputStream;
    flags: (0x0002) ACC_PRIVATE

  private java.io.BufferedInputStream in;
    descriptor: Ljava/io/BufferedInputStream;
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.lang.String, int, int);
    descriptor: (Ljava/lang/String;II)V
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // sun.security.krb5.internal.TCPClient this
        start local 1 // java.lang.String hostname
        start local 2 // int port
        start local 3 // int timeout
         0: .line 59
            aload 0 /* this */
            invokespecial sun.security.krb5.internal.NetClient.<init>:()V
         1: .line 61
            aload 0 /* this */
            new java.net.Socket
            dup
            invokespecial java.net.Socket.<init>:()V
            putfield sun.security.krb5.internal.TCPClient.tcpSocket:Ljava/net/Socket;
         2: .line 62
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.tcpSocket:Ljava/net/Socket;
            new java.net.InetSocketAddress
            dup
            aload 1 /* hostname */
            iload 2 /* port */
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
            iload 3 /* timeout */
            invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
         3: .line 63
            aload 0 /* this */
            new java.io.BufferedOutputStream
            dup
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.tcpSocket:Ljava/net/Socket;
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
            putfield sun.security.krb5.internal.TCPClient.out:Ljava/io/BufferedOutputStream;
         4: .line 64
            aload 0 /* this */
            new java.io.BufferedInputStream
            dup
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.tcpSocket:Ljava/net/Socket;
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
            putfield sun.security.krb5.internal.TCPClient.in:Ljava/io/BufferedInputStream;
         5: .line 65
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.tcpSocket:Ljava/net/Socket;
            iload 3 /* timeout */
            invokevirtual java.net.Socket.setSoTimeout:(I)V
         6: .line 66
            return
        end local 3 // int timeout
        end local 2 // int port
        end local 1 // java.lang.String hostname
        end local 0 // sun.security.krb5.internal.TCPClient this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lsun/security/krb5/internal/TCPClient;
            0    7     1  hostname  Ljava/lang/String;
            0    7     2      port  I
            0    7     3   timeout  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      hostname  
      port      
      timeout   

  public void send(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.krb5.internal.TCPClient this
        start local 1 // byte[] data
         0: .line 70
            iconst_4
            newarray 8
            astore 2 /* lenField */
        start local 2 // byte[] lenField
         1: .line 71
            aload 1 /* data */
            arraylength
            aload 2 /* lenField */
            iconst_0
            iconst_4
            invokestatic sun.security.krb5.internal.TCPClient.intToNetworkByteOrder:(I[BII)V
         2: .line 72
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.out:Ljava/io/BufferedOutputStream;
            aload 2 /* lenField */
            invokevirtual java.io.BufferedOutputStream.write:([B)V
         3: .line 74
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.out:Ljava/io/BufferedOutputStream;
            aload 1 /* data */
            invokevirtual java.io.BufferedOutputStream.write:([B)V
         4: .line 75
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.out:Ljava/io/BufferedOutputStream;
            invokevirtual java.io.BufferedOutputStream.flush:()V
         5: .line 76
            return
        end local 2 // byte[] lenField
        end local 1 // byte[] data
        end local 0 // sun.security.krb5.internal.TCPClient this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lsun/security/krb5/internal/TCPClient;
            0    6     1      data  [B
            1    6     2  lenField  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      data  

  public byte[] receive();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // sun.security.krb5.internal.TCPClient this
         0: .line 80
            iconst_4
            newarray 8
            astore 1 /* lenField */
        start local 1 // byte[] lenField
         1: .line 81
            aload 0 /* this */
            aload 1 /* lenField */
            iconst_4
            invokevirtual sun.security.krb5.internal.TCPClient.readFully:([BI)I
            istore 2 /* count */
        start local 2 // int count
         2: .line 83
            iload 2 /* count */
            iconst_4
            if_icmpeq 8
         3: .line 84
            getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
            ifeq 7
         4: .line 85
            getstatic java.lang.System.out:Ljava/io/PrintStream;
         5: .line 86
            ldc ">>>DEBUG: TCPClient could not read length field"
         6: .line 85
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 88
      StackMap locals: byte[] int
      StackMap stack:
            aconst_null
            areturn
         8: .line 91
      StackMap locals:
      StackMap stack:
            aload 1 /* lenField */
            iconst_0
            iconst_4
            invokestatic sun.security.krb5.internal.TCPClient.networkByteOrderToInt:([BII)I
            istore 3 /* len */
        start local 3 // int len
         9: .line 92
            getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
            ifeq 13
        10: .line 93
            getstatic java.lang.System.out:Ljava/io/PrintStream;
        11: .line 94
            new java.lang.StringBuilder
            dup
            ldc ">>>DEBUG: TCPClient reading "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* len */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 93
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 96
      StackMap locals: int
      StackMap stack:
            iload 3 /* len */
            ifgt 19
        14: .line 97
            getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
            ifeq 18
        15: .line 98
            getstatic java.lang.System.out:Ljava/io/PrintStream;
        16: .line 99
            new java.lang.StringBuilder
            dup
            ldc ">>>DEBUG: TCPClient zero or negative length field: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* len */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        17: .line 98
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        18: .line 101
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        19: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.in:Ljava/io/BufferedInputStream;
            iload 3 /* len */
            iconst_1
            invokestatic sun.security.util.IOUtils.readFully:(Ljava/io/InputStream;IZ)[B
        20: areturn
        21: .line 106
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        22: .line 107
            getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
            ifeq 28
        23: .line 108
            getstatic java.lang.System.out:Ljava/io/PrintStream;
        24: .line 109
            new java.lang.StringBuilder
            dup
            ldc ">>>DEBUG: TCPClient could not read complete packet ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        25: .line 110
            iload 3 /* len */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "/"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2 /* count */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        26: .line 109
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        27: .line 108
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        28: .line 112
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 3 // int len
        end local 2 // int count
        end local 1 // byte[] lenField
        end local 0 // sun.security.krb5.internal.TCPClient this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   29     0      this  Lsun/security/krb5/internal/TCPClient;
            1   29     1  lenField  [B
            2   29     2     count  I
            9   29     3       len  I
      Exception table:
        from    to  target  type
          19    20      21  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.krb5.internal.TCPClient this
         0: .line 118
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.tcpSocket:Ljava/net/Socket;
            invokevirtual java.net.Socket.close:()V
         1: .line 119
            return
        end local 0 // sun.security.krb5.internal.TCPClient this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/krb5/internal/TCPClient;
    Exceptions:
      throws java.io.IOException

  private int readFully(byte[], int);
    descriptor: ([BI)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // sun.security.krb5.internal.TCPClient this
        start local 1 // byte[] inBuf
        start local 2 // int total
         0: .line 126
            iconst_0
            istore 4 /* pos */
        start local 4 // int pos
         1: .line 128
            goto 9
         2: .line 129
      StackMap locals: sun.security.krb5.internal.TCPClient byte[] int top int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.krb5.internal.TCPClient.in:Ljava/io/BufferedInputStream;
            aload 1 /* inBuf */
            iload 4 /* pos */
            iload 2 /* total */
            invokevirtual java.io.BufferedInputStream.read:([BII)I
            istore 3 /* count */
        start local 3 // int count
         3: .line 131
            iload 3 /* count */
            iconst_m1
            if_icmpne 7
         4: .line 132
            iload 4 /* pos */
            ifne 5
            iconst_m1
            goto 6
      StackMap locals: sun.security.krb5.internal.TCPClient byte[] int int int
      StackMap stack:
         5: iload 4 /* pos */
      StackMap locals:
      StackMap stack: int
         6: ireturn
         7: .line 134
      StackMap locals:
      StackMap stack:
            iload 4 /* pos */
            iload 3 /* count */
            iadd
            istore 4 /* pos */
         8: .line 135
            iload 2 /* total */
            iload 3 /* count */
            isub
            istore 2 /* total */
        end local 3 // int count
         9: .line 128
      StackMap locals: sun.security.krb5.internal.TCPClient byte[] int top int
      StackMap stack:
            iload 2 /* total */
            ifgt 2
        10: .line 137
            iload 4 /* pos */
            ireturn
        end local 4 // int pos
        end local 2 // int total
        end local 1 // byte[] inBuf
        end local 0 // sun.security.krb5.internal.TCPClient this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   this  Lsun/security/krb5/internal/TCPClient;
            0   11     1  inBuf  [B
            0   11     2  total  I
            3    9     3  count  I
            1   11     4    pos  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      inBuf  
      total  

  private static int networkByteOrderToInt(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // byte[] buf
        start local 1 // int start
        start local 2 // int count
         0: .line 145
            iload 2 /* count */
            iconst_4
            if_icmple 4
         1: .line 146
            new java.lang.IllegalArgumentException
            dup
         2: .line 147
            ldc "Cannot handle more than 4 bytes"
         3: .line 146
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 150
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* answer */
        start local 3 // int answer
         5: .line 152
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         6: goto 10
         7: .line 153
      StackMap locals: int int
      StackMap stack:
            iload 3 /* answer */
            bipush 8
            ishl
            istore 3 /* answer */
         8: .line 154
            iload 3 /* answer */
            aload 0 /* buf */
            iload 1 /* start */
            iload 4 /* i */
            iadd
            baload
            sipush 255
            iand
            ior
            istore 3 /* answer */
         9: .line 152
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* i */
            iload 2 /* count */
            if_icmplt 7
        end local 4 // int i
        11: .line 156
            iload 3 /* answer */
            ireturn
        end local 3 // int answer
        end local 2 // int count
        end local 1 // int start
        end local 0 // byte[] buf
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0     buf  [B
            0   12     1   start  I
            0   12     2   count  I
            5   12     3  answer  I
            6   11     4       i  I
    MethodParameters:
       Name  Flags
      buf    
      start  
      count  

  private static void intToNetworkByteOrder(int, byte[], int, int);
    descriptor: (I[BII)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // int num
        start local 1 // byte[] buf
        start local 2 // int start
        start local 3 // int count
         0: .line 165
            iload 3 /* count */
            iconst_4
            if_icmple 4
         1: .line 166
            new java.lang.IllegalArgumentException
            dup
         2: .line 167
            ldc "Cannot handle more than 4 bytes"
         3: .line 166
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 170
      StackMap locals:
      StackMap stack:
            iload 3 /* count */
            iconst_1
            isub
            istore 4 /* i */
        start local 4 // int i
         5: goto 9
         6: .line 171
      StackMap locals: int
      StackMap stack:
            aload 1 /* buf */
            iload 2 /* start */
            iload 4 /* i */
            iadd
            iload 0 /* num */
            sipush 255
            iand
            i2b
            bastore
         7: .line 172
            iload 0 /* num */
            bipush 8
            iushr
            istore 0 /* num */
         8: .line 170
            iinc 4 /* i */ -1
      StackMap locals:
      StackMap stack:
         9: iload 4 /* i */
            ifge 6
        end local 4 // int i
        10: .line 174
            return
        end local 3 // int count
        end local 2 // int start
        end local 1 // byte[] buf
        end local 0 // int num
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0    num  I
            0   11     1    buf  [B
            0   11     2  start  I
            0   11     3  count  I
            5   10     4      i  I
    MethodParameters:
       Name  Flags
      num    
      buf    
      start  
      count  
}
SourceFile: "NetClient.java"