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 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.I0Itec.zkclient.Gateway._port:I
2: aload 0
iload 2
putfield org.I0Itec.zkclient.Gateway._destinationPort:I
3: return
end local 2 end local 1 end local 0 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 0: aload 0
getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
ifnull 2
1: new java.lang.IllegalStateException
dup
ldc "Gateway already running"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new org.I0Itec.zkclient.GatewayThread
dup
aload 0
getfield org.I0Itec.zkclient.Gateway._port:I
aload 0
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: aload 0
getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
invokevirtual org.I0Itec.zkclient.GatewayThread.start:()V
4: aload 0
getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
invokevirtual org.I0Itec.zkclient.GatewayThread.awaitUp:()V
5: return
end local 0 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 0: aload 0
getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
ifnull 6
1: aload 0
getfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
invokevirtual org.I0Itec.zkclient.GatewayThread.interruptAndJoin:()V
2: goto 5
StackMap locals:
StackMap stack: java.lang.InterruptedException
3: pop
4: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.I0Itec.zkclient.Gateway._thread:Lorg/I0Itec/zkclient/GatewayThread;
6: StackMap locals:
StackMap stack:
return
end local 0 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"