public class org.I0Itec.zkclient.Gateway
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.I0Itec.zkclient.Gateway
  super_class: java.lang.Object
{
  private org.I0Itec.zkclient.GatewayThread _thread;
    descriptor: Lorg/I0Itec/zkclient/GatewayThread;
    flags: (0x0002) ACC_PRIVATE

  private final int _port;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int _destinationPort;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(int, int);
    descriptor: (II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.I0Itec.zkclient.Gateway this
        start local 1 // int port
        start local 2 // int destinationPort
         0: .line 24
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 25
            aload 0 /* this */
            iload 1 /* port */
            putfield org.I0Itec.zkclient.Gateway._port:I
         2: .line 26
            aload 0 /* this */
            iload 2 /* destinationPort */
            putfield org.I0Itec.zkclient.Gateway._destinationPort:I
         3: .line 27
            return
        end local 2 // int destinationPort
        end local 1 // int port
        end local 0 // org.I0Itec.zkclient.Gateway this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0             this  Lorg/I0Itec/zkclient/Gateway;
            0    4     1             port  I
            0    4     2  destinationPort  I
    MethodParameters:
                 Name  Flags
      port             
      destinationPort  

  public synchronized void start();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.I0Itec.zkclient.Gateway this
         0: .line 30
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
            ifnull 2
         1: .line 31
            new java.lang.IllegalStateException
            dup
            ldc "Gateway already running"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 33
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new org.I0Itec.zkclient.GatewayThread
            dup
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._port:I
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._destinationPort:I
            invokespecial org.I0Itec.zkclient.GatewayThread.<init>:(II)V
            putfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
         3: .line 34
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
            invokevirtual org.I0Itec.zkclient.GatewayThread.start:()V
         4: .line 35
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
            invokevirtual org.I0Itec.zkclient.GatewayThread.awaitUp:()V
         5: .line 36
            return
        end local 0 // org.I0Itec.zkclient.Gateway this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/I0Itec/zkclient/Gateway;

  public synchronized void stop();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.I0Itec.zkclient.Gateway this
         0: .line 39
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
            ifnull 6
         1: .line 41
            aload 0 /* this */
            getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
            invokevirtual org.I0Itec.zkclient.GatewayThread.interruptAndJoin:()V
         2: .line 42
            goto 5
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         3: pop
         4: .line 43
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         5: .line 45
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
         6: .line 47
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.I0Itec.zkclient.Gateway this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/I0Itec/zkclient/Gateway;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.InterruptedException
}
SourceFile: "Gateway.java"