public class io.vertx.core.net.impl.AsyncResolveConnectHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.net.impl.AsyncResolveConnectHelper
super_class: java.lang.Object
{
private java.util.List<io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>> handlers;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;>;
private io.netty.channel.ChannelFuture future;
descriptor: Lio/netty/channel/ChannelFuture;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.AsyncResult<io.netty.channel.Channel> result;
descriptor: Lio/vertx/core/AsyncResult;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.net.impl.AsyncResolveConnectHelper.handlers:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
public synchronized void addListener(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.result:Lio/vertx/core/AsyncResult;
ifnull 6
1: aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.future:Lio/netty/channel/ChannelFuture;
ifnull 4
2: aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.future:Lio/netty/channel/ChannelFuture;
aload 0
aload 1
invokedynamic operationComplete(Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/vertx/core/Handler;)Lio/netty/util/concurrent/GenericFutureListener;
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/netty/util/concurrent/Future;)V
io/vertx/core/net/impl/AsyncResolveConnectHelper.lambda$0(Lio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.result:Lio/vertx/core/AsyncResult;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.handlers:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
0 8 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;)V
MethodParameters:
Name Flags
handler
private synchronized void handle(io.netty.channel.ChannelFuture, io.vertx.core.AsyncResult<io.netty.channel.Channel>);
descriptor: (Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.result:Lio/vertx/core/AsyncResult;
ifnonnull 8
1: aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.handlers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: io.vertx.core.net.impl.AsyncResolveConnectHelper io.netty.channel.ChannelFuture io.vertx.core.AsyncResult top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.Handler
astore 3
start local 3 3: aload 3
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
aload 1
putfield io.vertx.core.net.impl.AsyncResolveConnectHelper.future:Lio/netty/channel/ChannelFuture;
6: aload 0
aload 2
putfield io.vertx.core.net.impl.AsyncResolveConnectHelper.result:Lio/vertx/core/AsyncResult;
7: goto 9
8: StackMap locals: io.vertx.core.net.impl.AsyncResolveConnectHelper io.netty.channel.ChannelFuture io.vertx.core.AsyncResult
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Already complete!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
0 10 1 cf Lio/netty/channel/ChannelFuture;
0 10 2 res Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
3 4 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
Signature: (Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;)V
MethodParameters:
Name Flags
cf
res
private static void checkPort(int);
descriptor: (I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iload 0
ldc 65535
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid port "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 port I
MethodParameters:
Name Flags
port
public static io.vertx.core.net.impl.AsyncResolveConnectHelper doBind(io.vertx.core.impl.VertxInternal, io.vertx.core.net.SocketAddress, io.netty.bootstrap.ServerBootstrap);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;)Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.net.impl.AsyncResolveConnectHelper
dup
invokespecial io.vertx.core.net.impl.AsyncResolveConnectHelper.<init>:()V
astore 3
start local 3 1: aload 2
aload 0
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 2
iconst_1
goto 3
StackMap locals: io.vertx.core.impl.VertxInternal io.vertx.core.net.SocketAddress io.netty.bootstrap.ServerBootstrap io.vertx.core.net.impl.AsyncResolveConnectHelper
StackMap stack: io.netty.bootstrap.ServerBootstrap io.vertx.core.net.impl.transport.Transport
2: iconst_0
StackMap locals: io.vertx.core.impl.VertxInternal io.vertx.core.net.SocketAddress io.netty.bootstrap.ServerBootstrap io.vertx.core.net.impl.AsyncResolveConnectHelper
StackMap stack: io.netty.bootstrap.ServerBootstrap io.vertx.core.net.impl.transport.Transport int
3: invokevirtual io.vertx.core.net.impl.transport.Transport.serverChannelFactory:(Z)Lio/netty/channel/ChannelFactory;
invokevirtual io.netty.bootstrap.ServerBootstrap.channelFactory:(Lio/netty/channel/ChannelFactory;)Lio/netty/bootstrap/AbstractBootstrap;
pop
4: aload 1
invokeinterface io.vertx.core.net.SocketAddress.path:()Ljava/lang/String;
ifnull 9
5: aload 0
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 1
iconst_1
invokevirtual io.vertx.core.net.impl.transport.Transport.convert:(Lio/vertx/core/net/SocketAddress;Z)Ljava/net/SocketAddress;
astore 4
start local 4 6: aload 2
aload 4
invokevirtual io.netty.bootstrap.ServerBootstrap.bind:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
astore 5
start local 5 7: aload 5
aload 3
aload 5
invokedynamic operationComplete(Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/netty/channel/ChannelFuture;)Lio/netty/util/concurrent/GenericFutureListener;
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/netty/util/concurrent/Future;)V
io/vertx/core/net/impl/AsyncResolveConnectHelper.lambda$1(Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V (6)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 5 end local 4 8: goto 11
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.net.SocketAddress.port:()I
invokestatic io.vertx.core.net.impl.AsyncResolveConnectHelper.checkPort:(I)V
10: aload 0
aload 1
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
aload 1
aload 2
aload 3
invokedynamic handle(Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;Lio/vertx/core/net/impl/AsyncResolveConnectHelper;)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/AsyncResolveConnectHelper.lambda$2(Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.impl.VertxInternal.resolveAddress:(Ljava/lang/String;Lio/vertx/core/Handler;)V
11: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 vertx Lio/vertx/core/impl/VertxInternal;
0 12 1 socketAddress Lio/vertx/core/net/SocketAddress;
0 12 2 bootstrap Lio/netty/bootstrap/ServerBootstrap;
1 12 3 asyncResolveConnectHelper Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
6 8 4 converted Ljava/net/SocketAddress;
7 8 5 future Lio/netty/channel/ChannelFuture;
MethodParameters:
Name Flags
vertx
socketAddress
bootstrap
private void lambda$0(io.vertx.core.Handler, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 1
aload 0
getfield io.vertx.core.net.impl.AsyncResolveConnectHelper.result:Lio/vertx/core/AsyncResult;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
0 1 2 v Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
private static void lambda$1(io.vertx.core.net.impl.AsyncResolveConnectHelper, io.netty.channel.ChannelFuture, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 3
1: aload 0
aload 1
aload 1
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokevirtual io.vertx.core.net.impl.AsyncResolveConnectHelper.handle:(Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokevirtual io.vertx.core.net.impl.AsyncResolveConnectHelper.handle:(Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 f Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
private static void lambda$2(io.vertx.core.net.SocketAddress, io.netty.bootstrap.ServerBootstrap, io.vertx.core.net.impl.AsyncResolveConnectHelper, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: new java.net.InetSocketAddress
dup
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.net.InetAddress
aload 0
invokeinterface io.vertx.core.net.SocketAddress.port:()I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
astore 4
start local 4 2: aload 1
aload 4
invokevirtual io.netty.bootstrap.ServerBootstrap.bind:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
astore 5
start local 5 3: aload 5
aload 2
aload 5
invokedynamic operationComplete(Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/netty/channel/ChannelFuture;)Lio/netty/util/concurrent/GenericFutureListener;
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/netty/util/concurrent/Future;)V
io/vertx/core/net/impl/AsyncResolveConnectHelper.lambda$3(Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V (6)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 5 end local 4 4: goto 6
5: StackMap locals:
StackMap stack:
aload 2
aconst_null
aload 3
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.core.net.impl.AsyncResolveConnectHelper.handle:(Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult;)V
6: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 7 3 res Lio/vertx/core/AsyncResult<Ljava/net/InetAddress;>;
2 4 4 t Ljava/net/InetSocketAddress;
3 4 5 future Lio/netty/channel/ChannelFuture;
private static void lambda$3(io.vertx.core.net.impl.AsyncResolveConnectHelper, io.netty.channel.ChannelFuture, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/net/impl/AsyncResolveConnectHelper;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 3
1: aload 0
aload 1
aload 1
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokevirtual io.vertx.core.net.impl.AsyncResolveConnectHelper.handle:(Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokevirtual io.vertx.core.net.impl.AsyncResolveConnectHelper.handle:(Lio/netty/channel/ChannelFuture;Lio/vertx/core/AsyncResult;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 f Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
}
SourceFile: "AsyncResolveConnectHelper.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles