public class io.vertx.core.net.impl.NetClientImpl implements io.vertx.core.spi.metrics.MetricsProvider, io.vertx.core.net.NetClient
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.net.impl.NetClientImpl
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
protected final int idleTimeout;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.util.concurrent.TimeUnit idleTimeoutUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final boolean logEnabled;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.NetClientOptions options;
descriptor: Lio/vertx/core/net/NetClientOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final io.vertx.core.net.impl.SSLHelper sslHelper;
descriptor: Lio/vertx/core/net/impl/SSLHelper;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.util.Map<io.netty.channel.Channel, io.vertx.core.net.impl.NetSocketImpl> socketMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lio/netty/channel/Channel;Lio/vertx/core/net/impl/NetSocketImpl;>;
private final io.vertx.core.Closeable closeHook;
descriptor: Lio/vertx/core/Closeable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.ContextInternal creatingContext;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.spi.metrics.TCPMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/TCPMetrics;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/core/net/impl/NetClientImpl;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.core.net.impl.NetClientImpl.log:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.net.NetClientOptions);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/NetClientOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokespecial io.vertx.core.net.impl.NetClientImpl.<init>:(Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/NetClientOptions;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 1 vertx Lio/vertx/core/impl/VertxInternal;
0 2 2 options Lio/vertx/core/net/NetClientOptions;
MethodParameters:
Name Flags
vertx
options
public void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.net.NetClientOptions, boolean);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/NetClientOptions;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.net.impl.NetClientImpl.socketMap:Ljava/util/Map;
2: aload 0
aload 1
putfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
3: aload 0
new io.vertx.core.net.NetClientOptions
dup
aload 2
invokespecial io.vertx.core.net.NetClientOptions.<init>:(Lio/vertx/core/net/NetClientOptions;)V
putfield io.vertx.core.net.impl.NetClientImpl.options:Lio/vertx/core/net/NetClientOptions;
4: aload 0
new io.vertx.core.net.impl.SSLHelper
dup
aload 2
aload 2
invokevirtual io.vertx.core.net.NetClientOptions.getKeyCertOptions:()Lio/vertx/core/net/KeyCertOptions;
aload 2
invokevirtual io.vertx.core.net.NetClientOptions.getTrustOptions:()Lio/vertx/core/net/TrustOptions;
invokespecial io.vertx.core.net.impl.SSLHelper.<init>:(Lio/vertx/core/net/NetClientOptions;Lio/vertx/core/net/KeyCertOptions;Lio/vertx/core/net/TrustOptions;)V
putfield io.vertx.core.net.impl.NetClientImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
5: aload 0
aload 0
invokedynamic close(Lio/vertx/core/net/impl/NetClientImpl;)Lio/vertx/core/Closeable;
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:
(Lio/vertx/core/Handler;)V
io/vertx/core/net/impl/NetClientImpl.lambda$0(Lio/vertx/core/Handler;)V (7)
(Lio/vertx/core/Handler;)V
putfield io.vertx.core.net.impl.NetClientImpl.closeHook:Lio/vertx/core/Closeable;
6: iload 3
ifeq 13
7: aload 0
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.getContext:()Lio/vertx/core/impl/ContextInternal;
putfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
8: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
ifnull 14
9: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.isMultiThreadedWorkerContext:()Z
ifeq 11
10: new java.lang.IllegalStateException
dup
ldc "Cannot use NetClient in a multi-threaded worker verticle"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.impl.VertxInternal io.vertx.core.net.NetClientOptions int
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.closeHook:Lio/vertx/core/Closeable;
invokeinterface io.vertx.core.impl.ContextInternal.addCloseHook:(Lio/vertx/core/Closeable;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
14: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
astore 4
start local 4 15: aload 0
aload 4
ifnull 16
aload 4
aload 2
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createNetClientMetrics:(Lio/vertx/core/net/NetClientOptions;)Lio/vertx/core/spi/metrics/TCPMetrics;
goto 17
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.impl.VertxInternal io.vertx.core.net.NetClientOptions int io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: io.vertx.core.net.impl.NetClientImpl
16: aconst_null
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.impl.VertxInternal io.vertx.core.net.NetClientOptions int io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: io.vertx.core.net.impl.NetClientImpl io.vertx.core.spi.metrics.TCPMetrics
17: putfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
18: aload 0
aload 2
invokevirtual io.vertx.core.net.NetClientOptions.getLogActivity:()Z
putfield io.vertx.core.net.impl.NetClientImpl.logEnabled:Z
19: aload 0
aload 2
invokevirtual io.vertx.core.net.NetClientOptions.getIdleTimeout:()I
putfield io.vertx.core.net.impl.NetClientImpl.idleTimeout:I
20: aload 0
aload 2
invokevirtual io.vertx.core.net.NetClientOptions.getIdleTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
putfield io.vertx.core.net.impl.NetClientImpl.idleTimeoutUnit:Ljava/util/concurrent/TimeUnit;
21: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 22 1 vertx Lio/vertx/core/impl/VertxInternal;
0 22 2 options Lio/vertx/core/net/NetClientOptions;
0 22 3 useCreatingContext Z
15 22 4 metrics Lio/vertx/core/spi/metrics/VertxMetrics;
MethodParameters:
Name Flags
vertx
options
useCreatingContext
protected void initChannel(io.netty.channel.ChannelPipeline);
descriptor: (Lio/netty/channel/ChannelPipeline;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=11, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.logEnabled:Z
ifeq 2
1: aload 1
ldc "logging"
new io.netty.handler.logging.LoggingHandler
dup
invokespecial io.netty.handler.logging.LoggingHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
invokevirtual io.vertx.core.net.impl.SSLHelper.isSSL:()Z
ifeq 4
3: aload 1
ldc "chunkedWriter"
new io.netty.handler.stream.ChunkedWriteHandler
dup
invokespecial io.netty.handler.stream.ChunkedWriteHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.idleTimeout:I
ifle 6
5: aload 1
ldc "idle"
new io.netty.handler.timeout.IdleStateHandler
dup
lconst_0
lconst_0
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.idleTimeout:I
i2l
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.idleTimeoutUnit:Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.IdleStateHandler.<init>:(JJJLjava/util/concurrent/TimeUnit;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 7 1 pipeline Lio/netty/channel/ChannelPipeline;
MethodParameters:
Name Flags
pipeline
public synchronized io.vertx.core.net.NetClient connect(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>);
descriptor: (ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aconst_null
aload 3
invokevirtual io.vertx.core.net.impl.NetClientImpl.connect:(ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
pop
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 1 port I
0 2 2 host Ljava/lang/String;
0 2 3 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
Signature: (ILjava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;)Lio/vertx/core/net/NetClient;
MethodParameters:
Name Flags
port
host
connectHandler
public io.vertx.core.net.NetClient connect(int, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>);
descriptor: (ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
aload 3
aload 4
invokevirtual io.vertx.core.net.impl.NetClientImpl.doConnect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: aload 0
areturn
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/core/net/impl/NetClientImpl;
0 2 1 port I
0 2 2 host Ljava/lang/String;
0 2 3 serverName Ljava/lang/String;
0 2 4 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
Signature: (ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;)Lio/vertx/core/net/NetClient;
MethodParameters:
Name Flags
port
host
serverName
connectHandler
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.closed:Z
ifne 10
1: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.socketMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: io.vertx.core.net.impl.NetClientImpl top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.NetSocketImpl
astore 1
start local 1 3: aload 1
invokevirtual io.vertx.core.net.impl.NetSocketImpl.close:()V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
ifnull 7
6: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.closeHook:Lio/vertx/core/Closeable;
invokeinterface io.vertx.core.impl.ContextInternal.removeCloseHook:(Lio/vertx/core/Closeable;)Z
pop
7: StackMap locals: io.vertx.core.net.impl.NetClientImpl
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.net.impl.NetClientImpl.closed:Z
8: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
ifnull 10
9: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
invokeinterface io.vertx.core.spi.metrics.TCPMetrics.close:()V
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/net/impl/NetClientImpl;
3 4 1 sock Lio/vertx/core/net/impl/NetSocketImpl;
public boolean isMetricsEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
ifnull 1
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
invokeinterface io.vertx.core.spi.metrics.TCPMetrics.isEnabled:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
public io.vertx.core.spi.metrics.Metrics getMetrics();
descriptor: ()Lio/vertx/core/spi/metrics/Metrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/NetClientImpl;
private void checkClosed();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Client is closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/NetClientImpl;
private void applyConnectionOptions(boolean, io.netty.bootstrap.Bootstrap);
descriptor: (ZLio/netty/bootstrap/Bootstrap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.options:Lio/vertx/core/net/NetClientOptions;
iload 1
aload 2
invokevirtual io.vertx.core.net.impl.transport.Transport.configure:(Lio/vertx/core/net/ClientOptionsBase;ZLio/netty/bootstrap/Bootstrap;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 1 domainSocket Z
0 2 2 bootstrap Lio/netty/bootstrap/Bootstrap;
MethodParameters:
Name Flags
domainSocket
bootstrap
public io.vertx.core.net.NetClient connect(io.vertx.core.net.SocketAddress, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.core.net.impl.NetClientImpl.doConnect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 2 2 serverName Ljava/lang/String;
0 2 3 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
Signature: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;)Lio/vertx/core/net/NetClient;
MethodParameters:
Name Flags
remoteAddress
serverName
connectHandler
public io.vertx.core.net.NetClient connect(io.vertx.core.net.SocketAddress, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokevirtual io.vertx.core.net.impl.NetClientImpl.doConnect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 2 2 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
Signature: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;)Lio/vertx/core/net/NetClient;
MethodParameters:
Name Flags
remoteAddress
connectHandler
protected void doConnect(io.vertx.core.net.SocketAddress, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.options:Lio/vertx/core/net/NetClientOptions;
invokevirtual io.vertx.core.net.NetClientOptions.getReconnectAttempts:()I
invokevirtual io.vertx.core.net.impl.NetClientImpl.doConnect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;I)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/core/net/impl/NetClientImpl;
0 2 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 2 2 serverName Ljava/lang/String;
0 2 3 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
Signature: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;)V
MethodParameters:
Name Flags
remoteAddress
serverName
connectHandler
protected void doConnect(io.vertx.core.net.SocketAddress, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>, );
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual io.vertx.core.net.impl.NetClientImpl.checkClosed:()V
1: aload 3
ldc "No null connectHandler accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 5
start local 5 3: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokevirtual io.vertx.core.net.impl.SSLHelper.validate:(Lio/vertx/core/impl/VertxInternal;)V
4: new io.netty.bootstrap.Bootstrap
dup
invokespecial io.netty.bootstrap.Bootstrap.<init>:()V
astore 6
start local 6 5: aload 6
aload 5
invokeinterface io.vertx.core.impl.ContextInternal.nettyEventLoop:()Lio/netty/channel/EventLoop;
invokevirtual io.netty.bootstrap.Bootstrap.group:(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/AbstractBootstrap;
pop
6: aload 6
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 1
invokeinterface io.vertx.core.net.SocketAddress.path:()Ljava/lang/String;
ifnull 7
iconst_1
goto 8
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler int io.vertx.core.impl.ContextInternal io.netty.bootstrap.Bootstrap
StackMap stack: io.netty.bootstrap.Bootstrap io.vertx.core.net.impl.transport.Transport
7: iconst_0
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler int io.vertx.core.impl.ContextInternal io.netty.bootstrap.Bootstrap
StackMap stack: io.netty.bootstrap.Bootstrap io.vertx.core.net.impl.transport.Transport int
8: invokevirtual io.vertx.core.net.impl.transport.Transport.channelFactory:(Z)Lio/netty/channel/ChannelFactory;
invokevirtual io.netty.bootstrap.Bootstrap.channelFactory:(Lio/netty/channel/ChannelFactory;)Lio/netty/bootstrap/AbstractBootstrap;
pop
9: aload 0
aload 1
invokeinterface io.vertx.core.net.SocketAddress.path:()Ljava/lang/String;
ifnull 10
iconst_1
goto 11
StackMap locals:
StackMap stack: io.vertx.core.net.impl.NetClientImpl
10: iconst_0
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler int io.vertx.core.impl.ContextInternal io.netty.bootstrap.Bootstrap
StackMap stack: io.vertx.core.net.impl.NetClientImpl int
11: aload 6
invokevirtual io.vertx.core.net.impl.NetClientImpl.applyConnectionOptions:(ZLio/netty/bootstrap/Bootstrap;)V
12: new io.vertx.core.net.impl.ChannelProvider
dup
aload 6
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 5
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.options:Lio/vertx/core/net/NetClientOptions;
invokevirtual io.vertx.core.net.NetClientOptions.getProxyOptions:()Lio/vertx/core/net/ProxyOptions;
invokespecial io.vertx.core.net.impl.ChannelProvider.<init>:(Lio/netty/bootstrap/Bootstrap;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/net/ProxyOptions;)V
astore 7
start local 7 13: aload 0
aload 5
aload 3
aload 1
iload 4
aload 2
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;ILjava/lang/String;)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/core/net/impl/NetClientImpl.lambda$1(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;ILjava/lang/String;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
astore 8
start local 8 14: aload 7
aload 1
aload 1
aload 2
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
invokevirtual io.vertx.core.net.impl.SSLHelper.isSSL:()Z
aload 8
invokevirtual io.vertx.core.net.impl.ChannelProvider.connect:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
15: 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 16 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 16 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 16 2 serverName Ljava/lang/String;
0 16 3 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
0 16 4 remainingAttempts I
3 16 5 context Lio/vertx/core/impl/ContextInternal;
5 16 6 bootstrap Lio/netty/bootstrap/Bootstrap;
13 16 7 channelProvider Lio/vertx/core/net/impl/ChannelProvider;
14 16 8 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
Signature: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;I)V
MethodParameters:
Name Flags
remoteAddress
serverName
connectHandler
remainingAttempts
private void connected(io.vertx.core.impl.ContextInternal, io.netty.channel.Channel, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>, io.vertx.core.net.SocketAddress);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.net.impl.NetClientImpl.initChannel:(Lio/netty/channel/ChannelPipeline;)V
1: aload 1
aload 0
aload 4
aload 1
invokedynamic apply(Lio/vertx/core/net/impl/NetClientImpl;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/core/net/impl/NetClientImpl.lambda$4(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/net/impl/NetSocketImpl; (7)
(Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/net/impl/NetSocketImpl;
invokestatic io.vertx.core.net.impl.VertxHandler.create:(Lio/vertx/core/impl/ContextInternal;Ljava/util/function/Function;)Lio/vertx/core/net/impl/VertxHandler;
astore 5
start local 5 2: aload 5
aload 0
aload 2
aload 1
aload 3
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/netty/channel/Channel;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)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/core/net/impl/NetClientImpl.lambda$5(Lio/netty/channel/Channel;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/net/impl/NetSocketImpl;)V (7)
(Lio/vertx/core/net/impl/NetSocketImpl;)V
invokevirtual io.vertx.core.net.impl.VertxHandler.addHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/impl/VertxHandler;
pop
3: aload 5
aload 0
aload 2
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/netty/channel/Channel;)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/core/net/impl/NetClientImpl.lambda$7(Lio/netty/channel/Channel;Lio/vertx/core/net/impl/NetSocketImpl;)V (7)
(Lio/vertx/core/net/impl/NetSocketImpl;)V
invokevirtual io.vertx.core.net.impl.VertxHandler.removeHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/impl/VertxHandler;
pop
4: aload 2
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc "handler"
aload 5
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
5: 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 6 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 6 1 context Lio/vertx/core/impl/ContextInternal;
0 6 2 ch Lio/netty/channel/Channel;
0 6 3 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
0 6 4 remoteAddress Lio/vertx/core/net/SocketAddress;
2 6 5 handler Lio/vertx/core/net/impl/VertxHandler<Lio/vertx/core/net/impl/NetSocketImpl;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;Lio/vertx/core/net/SocketAddress;)V
MethodParameters:
Name Flags
context
ch
connectHandler
remoteAddress
private void failed(io.vertx.core.impl.ContextInternal, io.netty.channel.Channel, java.lang.Throwable, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Ljava/lang/Throwable;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnull 2
1: aload 2
invokeinterface io.netty.channel.Channel.close:()Lio/netty/channel/ChannelFuture;
pop
2: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 4
aload 3
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/vertx/core/Handler;Ljava/lang/Throwable;)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/core/net/impl/NetClientImpl.lambda$8(Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Lio/vertx/core/Handler;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 4 1 context Lio/vertx/core/impl/ContextInternal;
0 4 2 ch Lio/netty/channel/Channel;
0 4 3 th Ljava/lang/Throwable;
0 4 4 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Ljava/lang/Throwable;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;)V
MethodParameters:
Name Flags
context
ch
th
connectHandler
private void doFailed(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>>, java.lang.Throwable);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 1 connectHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;
0 2 2 th Ljava/lang/Throwable;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;>;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
connectHandler
th
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.net.impl.NetClientImpl.close:()V
1: aload 0
invokespecial java.lang.Object.finalize:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/NetClientImpl;
Exceptions:
throws java.lang.Throwable
private void lambda$0(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.net.impl.NetClientImpl.close:()V
1: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 3 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
private void lambda$1(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, io.vertx.core.net.SocketAddress, int, java.lang.String, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;ILjava/lang/String;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=9, args_size=7
start local 0 start local 6 0: aload 6
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 6
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.netty.channel.Channel
astore 7
start local 7 2: aload 0
aload 1
aload 7
aload 2
aload 3
invokevirtual io.vertx.core.net.impl.NetClientImpl.connected:(Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;)V
end local 7 3: goto 12
4: StackMap locals:
StackMap stack:
aload 6
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
astore 7
start local 7 5: aload 7
instanceof java.net.ConnectException
ifne 6
aload 7
instanceof java.io.FileNotFoundException
ifne 6
iconst_0
goto 7
StackMap locals: java.lang.Throwable
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 8
start local 8 8: iload 8
ifeq 11
iload 4
ifgt 9
iload 4
iconst_m1
if_icmpne 11
9: StackMap locals: int
StackMap stack:
aload 1
aload 0
aload 3
aload 5
aload 2
iload 4
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;I)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/core/net/impl/NetClientImpl.lambda$2(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;ILjava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Lio/vertx/core/Handler;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
aload 7
aload 2
invokevirtual io.vertx.core.net.impl.NetClientImpl.failed:(Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Ljava/lang/Throwable;Lio/vertx/core/Handler;)V
end local 8 end local 7 12: StackMap locals:
StackMap stack:
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 13 6 res Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
2 3 7 ch Lio/netty/channel/Channel;
5 12 7 cause Ljava/lang/Throwable;
8 12 8 connectError Z
private io.vertx.core.net.impl.NetSocketImpl lambda$4(io.vertx.core.net.SocketAddress, io.vertx.core.impl.ContextInternal, io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/net/impl/NetSocketImpl;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 3 0: new io.vertx.core.net.impl.NetSocketImpl
dup
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 3
aload 1
aload 2
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
invokespecial io.vertx.core.net.impl.NetSocketImpl.<init>:(Lio/vertx/core/impl/VertxInternal;Lio/netty/channel/ChannelHandlerContext;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/spi/metrics/TCPMetrics;)V
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 1 3 ctx Lio/netty/channel/ChannelHandlerContext;
private void lambda$5(io.netty.channel.Channel, io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, io.vertx.core.net.impl.NetSocketImpl);
descriptor: (Lio/netty/channel/Channel;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/net/impl/NetSocketImpl;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 4 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.socketMap:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
aload 0
aload 4
aload 3
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/vertx/core/net/impl/NetSocketImpl;Lio/vertx/core/Handler;)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/core/net/impl/NetClientImpl.lambda$6(Lio/vertx/core/net/impl/NetSocketImpl;Lio/vertx/core/Handler;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Lio/vertx/core/Handler;)V
2: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 3 4 sock Lio/vertx/core/net/impl/NetSocketImpl;
private void lambda$7(io.netty.channel.Channel, io.vertx.core.net.impl.NetSocketImpl);
descriptor: (Lio/netty/channel/Channel;Lio/vertx/core/net/impl/NetSocketImpl;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.socketMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 2 2 conn Lio/vertx/core/net/impl/NetSocketImpl;
private void lambda$8(io.vertx.core.Handler, java.lang.Throwable, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.net.impl.NetClientImpl.doFailed:(Lio/vertx/core/Handler;Ljava/lang/Throwable;)V
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 1 3 v Ljava/lang/Void;
private void lambda$2(io.vertx.core.net.SocketAddress, java.lang.String, io.vertx.core.Handler, int, java.lang.Void);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;ILjava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 5 0: getstatic io.vertx.core.net.impl.NetClientImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Failed to create connection. Will retry in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.options:Lio/vertx/core/net/NetClientOptions;
invokevirtual io.vertx.core.net.NetClientOptions.getReconnectInterval:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " milliseconds"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.logging.Logger.debug:(Ljava/lang/Object;)V
1: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.options:Lio/vertx/core/net/NetClientOptions;
invokevirtual io.vertx.core.net.NetClientOptions.getReconnectInterval:()J
aload 0
aload 1
aload 2
aload 3
iload 4
invokedynamic handle(Lio/vertx/core/net/impl/NetClientImpl;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;I)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/core/net/impl/NetClientImpl.lambda$3(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;ILjava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.impl.VertxInternal.setTimer:(JLio/vertx/core/Handler;)J
pop2
2: return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 3 5 v Ljava/lang/Void;
private void lambda$6(io.vertx.core.net.impl.NetSocketImpl, io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/net/impl/NetSocketImpl;Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
ifnull 2
1: aload 1
aload 0
getfield io.vertx.core.net.impl.NetClientImpl.metrics:Lio/vertx/core/spi/metrics/TCPMetrics;
aload 1
invokevirtual io.vertx.core.net.impl.NetSocketImpl.remoteAddress:()Lio/vertx/core/net/SocketAddress;
aload 1
invokevirtual io.vertx.core.net.impl.NetSocketImpl.remoteName:()Ljava/lang/String;
invokeinterface io.vertx.core.spi.metrics.TCPMetrics.connected:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Ljava/lang/Object;
invokevirtual io.vertx.core.net.impl.NetSocketImpl.metric:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.net.impl.NetSocketImpl.registerEventBusHandler:()V
3: aload 2
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 5 3 v Ljava/lang/Void;
private void lambda$3(io.vertx.core.net.SocketAddress, java.lang.String, io.vertx.core.Handler, int, java.lang.Long);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;ILjava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 5 0: aload 0
aload 1
aload 2
aload 3
iload 4
iconst_m1
if_icmpne 1
iload 4
goto 2
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler int java.lang.Long
StackMap stack: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler
1: iload 4
iconst_1
isub
StackMap locals: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler int java.lang.Long
StackMap stack: io.vertx.core.net.impl.NetClientImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.Handler int
2: invokevirtual io.vertx.core.net.impl.NetClientImpl.doConnect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;I)V
return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/NetClientImpl;
0 3 5 tid Ljava/lang/Long;
}
SourceFile: "NetClientImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles