public class io.vertx.proton.impl.ProtonClientImpl implements io.vertx.proton.ProtonClient
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.proton.impl.ProtonClientImpl
super_class: java.lang.Object
{
private static final io.vertx.core.logging.Logger LOG;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/proton/impl/ProtonClientImpl;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.proton.impl.ProtonClientImpl.LOG:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.proton.impl.ProtonClientImpl.vertx:Lio/vertx/core/Vertx;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void connect(java.lang.String, int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.proton.ProtonConnection>>);
descriptor: (Ljava/lang/String;ILio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aconst_null
aconst_null
aload 3
invokevirtual io.vertx.proton.impl.ProtonClientImpl.connect:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 2 1 host Ljava/lang/String;
0 2 2 port I
0 2 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;
Signature: (Ljava/lang/String;ILio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;)V
MethodParameters:
Name Flags
host
port
handler
public void connect(java.lang.String, int, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.proton.ProtonConnection>>);
descriptor: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
new io.vertx.proton.ProtonClientOptions
dup
invokespecial io.vertx.proton.ProtonClientOptions.<init>:()V
aload 1
iload 2
aload 3
aload 4
aload 5
invokevirtual io.vertx.proton.impl.ProtonClientImpl.connect:(Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 2 1 host Ljava/lang/String;
0 2 2 port I
0 2 3 username Ljava/lang/String;
0 2 4 password Ljava/lang/String;
0 2 5 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;
Signature: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;)V
MethodParameters:
Name Flags
host
port
username
password
handler
public void connect(io.vertx.proton.ProtonClientOptions, java.lang.String, int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.proton.ProtonConnection>>);
descriptor: (Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;ILio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
aconst_null
aconst_null
aload 4
invokevirtual io.vertx.proton.impl.ProtonClientImpl.connect:(Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 2 1 options Lio/vertx/proton/ProtonClientOptions;
0 2 2 host Ljava/lang/String;
0 2 3 port I
0 2 4 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;
Signature: (Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;ILio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;)V
MethodParameters:
Name Flags
options
host
port
handler
public void connect(io.vertx.proton.ProtonClientOptions, java.lang.String, int, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.proton.ProtonConnection>>);
descriptor: (Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield io.vertx.proton.impl.ProtonClientImpl.vertx:Lio/vertx/core/Vertx;
aload 1
invokeinterface io.vertx.core.Vertx.createNetClient:(Lio/vertx/core/net/NetClientOptions;)Lio/vertx/core/net/NetClient;
astore 7
start local 7 1: aload 0
aload 7
aload 2
iload 3
aload 4
aload 5
new io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler
dup
aload 6
aload 7
invokespecial io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler.<init>:(Lio/vertx/core/Handler;Lio/vertx/core/net/NetClient;)V
aload 1
invokevirtual io.vertx.proton.impl.ProtonClientImpl.connectNetClient:(Lio/vertx/core/net/NetClient;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Lio/vertx/proton/ProtonClientOptions;)V
2: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 3 1 options Lio/vertx/proton/ProtonClientOptions;
0 3 2 host Ljava/lang/String;
0 3 3 port I
0 3 4 username Ljava/lang/String;
0 3 5 password Ljava/lang/String;
0 3 6 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;
1 3 7 netClient Lio/vertx/core/net/NetClient;
Signature: (Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/proton/ProtonConnection;>;>;)V
MethodParameters:
Name Flags
options
host
port
username
password
handler
private void connectNetClient(io.vertx.core.net.NetClient, java.lang.String, int, java.lang.String, java.lang.String, io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler, io.vertx.proton.ProtonClientOptions);
descriptor: (Lio/vertx/core/net/NetClient;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Lio/vertx/proton/ProtonClientOptions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 7
invokevirtual io.vertx.proton.ProtonClientOptions.getSniServerName:()Ljava/lang/String;
ifnull 1
aload 7
invokevirtual io.vertx.proton.ProtonClientOptions.getSniServerName:()Ljava/lang/String;
goto 3
1: StackMap locals:
StackMap stack:
aload 7
invokevirtual io.vertx.proton.ProtonClientOptions.getVirtualHost:()Ljava/lang/String;
ifnull 2
aload 7
invokevirtual io.vertx.proton.ProtonClientOptions.getVirtualHost:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: java.lang.String
astore 8
start local 8 4: aload 1
iload 3
aload 2
aload 8
aload 0
aload 7
aload 2
aload 6
aload 4
aload 5
aload 1
invokedynamic handle(Lio/vertx/proton/impl/ProtonClientImpl;Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/net/NetClient;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/proton/impl/ProtonClientImpl.lambda$0(Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/net/NetClient;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.net.NetClient.connect:(ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
pop
5: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 6 1 netClient Lio/vertx/core/net/NetClient;
0 6 2 host Ljava/lang/String;
0 6 3 port I
0 6 4 username Ljava/lang/String;
0 6 5 password Ljava/lang/String;
0 6 6 connectHandler Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;
0 6 7 options Lio/vertx/proton/ProtonClientOptions;
4 6 8 serverName Ljava/lang/String;
MethodParameters:
Name Flags
netClient
host
port
username
password
connectHandler
options
private void lambda$0(io.vertx.proton.ProtonClientOptions, java.lang.String, io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler, java.lang.String, java.lang.String, io.vertx.core.net.NetClient, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/proton/ProtonClientOptions;Ljava/lang/String;Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/net/NetClient;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=12, args_size=8
start local 0 start local 7 0: aload 7
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 15
1: aload 1
invokevirtual io.vertx.proton.ProtonClientOptions.getVirtualHost:()Ljava/lang/String;
ifnull 2
aload 1
invokevirtual io.vertx.proton.ProtonClientOptions.getVirtualHost:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.String
3: astore 8
start local 8 4: new io.vertx.proton.impl.ProtonConnectionImpl
dup
aload 0
getfield io.vertx.proton.impl.ProtonClientImpl.vertx:Lio/vertx/core/Vertx;
aload 8
invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
invokespecial io.vertx.proton.impl.ProtonConnectionImpl.<init>:(Lio/vertx/core/Vertx;Ljava/lang/String;Lio/vertx/core/impl/ContextInternal;)V
astore 9
start local 9 5: aload 9
aload 3
invokedynamic handle(Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/proton/impl/ProtonClientImpl.lambda$1(Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Lio/vertx/proton/ProtonConnection;)V (6)
(Lio/vertx/proton/ProtonConnection;)V
invokevirtual io.vertx.proton.impl.ProtonConnectionImpl.disconnectHandler:(Lio/vertx/core/Handler;)Lio/vertx/proton/ProtonConnection;
pop
6: new io.vertx.proton.impl.ProtonSaslClientAuthenticatorImpl
dup
aload 4
aload 5
7: aload 1
invokevirtual io.vertx.proton.ProtonClientOptions.getEnabledSaslMechanisms:()Ljava/util/Set;
aload 3
8: invokespecial io.vertx.proton.impl.ProtonSaslClientAuthenticatorImpl.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;Lio/vertx/core/Handler;)V
astore 10
start local 10 9: new io.vertx.proton.ProtonTransportOptions
dup
invokespecial io.vertx.proton.ProtonTransportOptions.<init>:()V
astore 11
start local 11 10: aload 11
aload 1
invokevirtual io.vertx.proton.ProtonClientOptions.getHeartbeat:()I
invokevirtual io.vertx.proton.ProtonTransportOptions.setHeartbeat:(I)Lio/vertx/proton/ProtonTransportOptions;
pop
11: aload 11
aload 1
invokevirtual io.vertx.proton.ProtonClientOptions.getMaxFrameSize:()I
invokevirtual io.vertx.proton.ProtonTransportOptions.setMaxFrameSize:(I)Lio/vertx/proton/ProtonTransportOptions;
pop
12: aload 9
aload 6
aload 7
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.net.NetSocket
aload 10
aload 11
invokevirtual io.vertx.proton.impl.ProtonConnectionImpl.bindClient:(Lio/vertx/core/net/NetClient;Lio/vertx/core/net/NetSocket;Lio/vertx/proton/impl/ProtonSaslClientAuthenticatorImpl;Lio/vertx/proton/ProtonTransportOptions;)V
13: aload 9
invokevirtual io.vertx.proton.impl.ProtonConnectionImpl.flush:()V
end local 11 end local 10 end local 9 end local 8 14: goto 16
15: StackMap locals:
StackMap stack:
aload 3
aload 7
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokevirtual io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler.handle:(Lio/vertx/core/AsyncResult;)V
16: StackMap locals:
StackMap stack:
return
end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/proton/impl/ProtonClientImpl;
0 17 7 res Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;
4 14 8 virtualHost Ljava/lang/String;
5 14 9 conn Lio/vertx/proton/impl/ProtonConnectionImpl;
9 14 10 authenticator Lio/vertx/proton/impl/ProtonSaslClientAuthenticatorImpl;
10 14 11 transportOptions Lio/vertx/proton/ProtonTransportOptions;
private static void lambda$1(io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler, io.vertx.proton.ProtonConnection);
descriptor: (Lio/vertx/proton/impl/ProtonClientImpl$ConnectCompletionHandler;Lio/vertx/proton/ProtonConnection;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: getstatic io.vertx.proton.impl.ProtonClientImpl.LOG:Lio/vertx/core/logging/Logger;
ldc "Connection disconnected"
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;)V
1: aload 0
invokevirtual io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler.isComplete:()Z
ifne 3
2: aload 0
new io.vertx.core.VertxException
dup
ldc "Disconnected"
invokespecial io.vertx.core.VertxException.<init>:(Ljava/lang/String;)V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokevirtual io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler.handle:(Lio/vertx/core/AsyncResult;)V
3: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 h Lio/vertx/proton/ProtonConnection;
}
SourceFile: "ProtonClientImpl.java"
NestMembers:
io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler
InnerClasses:
ConnectCompletionHandler = io.vertx.proton.impl.ProtonClientImpl$ConnectCompletionHandler of io.vertx.proton.impl.ProtonClientImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles