public class org.apache.cassandra.thrift.TCustomSocket extends org.apache.thrift.transport.TIOStreamTransport
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.thrift.TCustomSocket
  super_class: org.apache.thrift.transport.TIOStreamTransport
{
  private static final org.slf4j.Logger LOGGER;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private java.net.Socket socket;
    descriptor: Ljava/net/Socket;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String host;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

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

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 42
            ldc Lorg/apache/cassandra/thrift/TCustomSocket;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/String;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.thrift.TCustomSocket.LOGGER:Lorg/slf4j/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.net.Socket);
    descriptor: (Ljava/net/Socket;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
        start local 1 // java.net.Socket socket
         0: .line 70
            aload 0 /* this */
            invokespecial org.apache.thrift.transport.TIOStreamTransport.<init>:()V
         1: .line 47
            aload 0 /* this */
            aconst_null
            putfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
         2: .line 52
            aload 0 /* this */
            aconst_null
            putfield org.apache.cassandra.thrift.TCustomSocket.host:Ljava/lang/String;
         3: .line 57
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.thrift.TCustomSocket.port:I
         4: .line 62
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.thrift.TCustomSocket.timeout:I
         5: .line 72
            aload 0 /* this */
            aload 1 /* socket */
            putfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
         6: .line 75
            aload 1 /* socket */
            iconst_0
            iconst_0
            invokevirtual java.net.Socket.setSoLinger:(ZI)V
         7: .line 76
            aload 1 /* socket */
            iconst_1
            invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
         8: .line 77
            goto 11
         9: .line 78
      StackMap locals: org.apache.cassandra.thrift.TCustomSocket java.net.Socket
      StackMap stack: java.net.SocketException
            astore 2 /* sx */
        start local 2 // java.net.SocketException sx
        10: .line 80
            getstatic org.apache.cassandra.thrift.TCustomSocket.LOGGER:Lorg/slf4j/Logger;
            ldc "Could not configure socket."
            aload 2 /* sx */
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 2 // java.net.SocketException sx
        11: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.isOpen:()Z
            ifeq 18
        12: .line 87
            aload 0 /* this */
            new java.io.BufferedInputStream
            dup
            aload 1 /* socket */
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            sipush 1024
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
            putfield org.apache.cassandra.thrift.TCustomSocket.inputStream_:Ljava/io/InputStream;
        13: .line 88
            aload 0 /* this */
            new java.io.BufferedOutputStream
            dup
            aload 1 /* socket */
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            sipush 1024
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
            putfield org.apache.cassandra.thrift.TCustomSocket.outputStream_:Ljava/io/OutputStream;
        14: .line 89
            goto 18
        15: .line 90
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* iox */
        start local 2 // java.io.IOException iox
        16: .line 92
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.close:()V
        17: .line 93
            new org.apache.thrift.transport.TTransportException
            dup
            iconst_1
            aload 2 /* iox */
            invokespecial org.apache.thrift.transport.TTransportException.<init>:(ILjava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException iox
        18: .line 96
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.net.Socket socket
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   19     0    this  Lorg/apache/cassandra/thrift/TCustomSocket;
            0   19     1  socket  Ljava/net/Socket;
           10   11     2      sx  Ljava/net/SocketException;
           16   18     2     iox  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           6     8       9  Class java.net.SocketException
          12    14      15  Class java.io.IOException
    Exceptions:
      throws org.apache.thrift.transport.TTransportException
    MethodParameters:
        Name  Flags
      socket  

  public void <init>(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
        start local 1 // java.lang.String host
        start local 2 // int port
         0: .line 107
            aload 0 /* this */
            aload 1 /* host */
            iload 2 /* port */
            iconst_0
            invokespecial org.apache.cassandra.thrift.TCustomSocket.<init>:(Ljava/lang/String;II)V
         1: .line 108
            return
        end local 2 // int port
        end local 1 // java.lang.String host
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/thrift/TCustomSocket;
            0    2     1  host  Ljava/lang/String;
            0    2     2  port  I
    MethodParameters:
      Name  Flags
      host  
      port  

  public void <init>(java.lang.String, int, int);
    descriptor: (Ljava/lang/String;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
        start local 1 // java.lang.String host
        start local 2 // int port
        start local 3 // int timeout
         0: .line 118
            aload 0 /* this */
            invokespecial org.apache.thrift.transport.TIOStreamTransport.<init>:()V
         1: .line 47
            aload 0 /* this */
            aconst_null
            putfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
         2: .line 52
            aload 0 /* this */
            aconst_null
            putfield org.apache.cassandra.thrift.TCustomSocket.host:Ljava/lang/String;
         3: .line 57
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.thrift.TCustomSocket.port:I
         4: .line 62
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.thrift.TCustomSocket.timeout:I
         5: .line 120
            aload 0 /* this */
            aload 1 /* host */
            putfield org.apache.cassandra.thrift.TCustomSocket.host:Ljava/lang/String;
         6: .line 121
            aload 0 /* this */
            iload 2 /* port */
            putfield org.apache.cassandra.thrift.TCustomSocket.port:I
         7: .line 122
            aload 0 /* this */
            iload 3 /* timeout */
            putfield org.apache.cassandra.thrift.TCustomSocket.timeout:I
         8: .line 123
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.initSocket:()V
         9: .line 124
            return
        end local 3 // int timeout
        end local 2 // int port
        end local 1 // java.lang.String host
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lorg/apache/cassandra/thrift/TCustomSocket;
            0   10     1     host  Ljava/lang/String;
            0   10     2     port  I
            0   10     3  timeout  I
    MethodParameters:
         Name  Flags
      host     
      port     
      timeout  

  private void initSocket();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
         0: .line 131
            aload 0 /* this */
            new java.net.Socket
            dup
            invokespecial java.net.Socket.<init>:()V
            putfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
         1: .line 134
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            iconst_0
            iconst_0
            invokevirtual java.net.Socket.setSoLinger:(ZI)V
         2: .line 135
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            iconst_1
            invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
         3: .line 136
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.timeout:I
            invokevirtual java.net.Socket.setSoTimeout:(I)V
         4: .line 137
            goto 7
         5: .line 138
      StackMap locals:
      StackMap stack: java.net.SocketException
            astore 1 /* sx */
        start local 1 // java.net.SocketException sx
         6: .line 140
            getstatic org.apache.cassandra.thrift.TCustomSocket.LOGGER:Lorg/slf4j/Logger;
            ldc "Could not configure socket."
            aload 1 /* sx */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.net.SocketException sx
         7: .line 142
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/cassandra/thrift/TCustomSocket;
            6    7     1    sx  Ljava/net/SocketException;
      Exception table:
        from    to  target  type
           1     4       5  Class java.net.SocketException

  public void setTimeout(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
        start local 1 // int timeout
         0: .line 151
            aload 0 /* this */
            iload 1 /* timeout */
            putfield org.apache.cassandra.thrift.TCustomSocket.timeout:I
         1: .line 154
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            iload 1 /* timeout */
            invokevirtual java.net.Socket.setSoTimeout:(I)V
         2: .line 155
            goto 5
         3: .line 156
      StackMap locals:
      StackMap stack: java.net.SocketException
            astore 2 /* sx */
        start local 2 // java.net.SocketException sx
         4: .line 158
            getstatic org.apache.cassandra.thrift.TCustomSocket.LOGGER:Lorg/slf4j/Logger;
            ldc "Could not set socket timeout."
            aload 2 /* sx */
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 2 // java.net.SocketException sx
         5: .line 160
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int timeout
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/apache/cassandra/thrift/TCustomSocket;
            0    6     1  timeout  I
            4    5     2       sx  Ljava/net/SocketException;
      Exception table:
        from    to  target  type
           1     2       3  Class java.net.SocketException
    MethodParameters:
         Name  Flags
      timeout  

  public java.net.Socket getSocket();
    descriptor: ()Ljava/net/Socket;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
         0: .line 167
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            ifnonnull 2
         1: .line 169
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.initSocket:()V
         2: .line 171
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            areturn
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/thrift/TCustomSocket;

  public boolean isOpen();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
         0: .line 179
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            ifnonnull 2
         1: .line 181
            iconst_0
            ireturn
         2: .line 183
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            invokevirtual java.net.Socket.isConnected:()Z
            ireturn
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/thrift/TCustomSocket;

  public void open();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
         0: .line 191
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.isOpen:()Z
            ifeq 2
         1: .line 193
            new org.apache.thrift.transport.TTransportException
            dup
            iconst_2
            ldc "Socket already connected."
            invokespecial org.apache.thrift.transport.TTransportException.<init>:(ILjava/lang/String;)V
            athrow
         2: .line 196
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.host:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            ifne 4
         3: .line 198
            new org.apache.thrift.transport.TTransportException
            dup
            iconst_1
            ldc "Cannot open null host."
            invokespecial org.apache.thrift.transport.TTransportException.<init>:(ILjava/lang/String;)V
            athrow
         4: .line 200
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.port:I
            ifgt 6
         5: .line 202
            new org.apache.thrift.transport.TTransportException
            dup
            iconst_1
            ldc "Cannot open without port."
            invokespecial org.apache.thrift.transport.TTransportException.<init>:(ILjava/lang/String;)V
            athrow
         6: .line 205
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            ifnonnull 8
         7: .line 207
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.initSocket:()V
         8: .line 212
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            new java.net.InetSocketAddress
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.host:Ljava/lang/String;
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.port:I
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.timeout:I
            invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
         9: .line 213
            aload 0 /* this */
            new java.io.BufferedInputStream
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            sipush 1024
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
            putfield org.apache.cassandra.thrift.TCustomSocket.inputStream_:Ljava/io/InputStream;
        10: .line 214
            aload 0 /* this */
            new java.io.BufferedOutputStream
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            sipush 1024
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
            putfield org.apache.cassandra.thrift.TCustomSocket.outputStream_:Ljava/io/OutputStream;
        11: .line 215
            goto 15
        12: .line 216
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 1 /* iox */
        start local 1 // java.io.IOException iox
        13: .line 218
            aload 0 /* this */
            invokevirtual org.apache.cassandra.thrift.TCustomSocket.close:()V
        14: .line 219
            new org.apache.thrift.transport.TTransportException
            dup
            iconst_1
            aload 1 /* iox */
            invokespecial org.apache.thrift.transport.TTransportException.<init>:(ILjava/lang/Throwable;)V
            athrow
        end local 1 // java.io.IOException iox
        15: .line 221
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lorg/apache/cassandra/thrift/TCustomSocket;
           13   15     1   iox  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           8    11      12  Class java.io.IOException
    Exceptions:
      throws org.apache.thrift.transport.TTransportException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.apache.cassandra.thrift.TCustomSocket this
         0: .line 229
            aload 0 /* this */
            invokespecial org.apache.thrift.transport.TIOStreamTransport.close:()V
         1: .line 232
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            ifnull 7
         2: .line 236
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
            invokevirtual java.net.Socket.close:()V
         3: .line 237
            goto 6
         4: .line 238
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 1 /* iox */
        start local 1 // java.io.IOException iox
         5: .line 240
            getstatic org.apache.cassandra.thrift.TCustomSocket.LOGGER:Lorg/slf4j/Logger;
            ldc "Could not close socket."
            aload 1 /* iox */
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.io.IOException iox
         6: .line 242
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.cassandra.thrift.TCustomSocket.socket:Ljava/net/Socket;
         7: .line 244
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.cassandra.thrift.TCustomSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/cassandra/thrift/TCustomSocket;
            5    6     1   iox  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
}
SourceFile: "TCustomSocket.java"