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
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
public static io.netty.util.concurrent.Future<io.netty.channel.Channel> 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/netty/util/concurrent/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface io.vertx.core.impl.VertxInternal.getAcceptorEventLoopGroup:()Lio/netty/channel/EventLoopGroup;
invokeinterface io.netty.channel.EventLoopGroup.next:()Lio/netty/channel/EventLoop;
invokeinterface io.netty.channel.EventLoop.newPromise:()Lio/netty/util/concurrent/Promise;
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.isDomainSocket:()Z
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
2: goto 6
StackMap locals: io.vertx.core.impl.VertxInternal io.vertx.core.net.SocketAddress io.netty.bootstrap.ServerBootstrap io.netty.util.concurrent.Promise
StackMap stack: java.lang.Exception
3: astore 4
start local 4 4: aload 3
aload 4
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
5: aload 3
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.net.SocketAddress.isDomainSocket:()Z
ifeq 11
7: aload 0
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 1
invokevirtual io.vertx.core.net.impl.transport.Transport.convert:(Lio/vertx/core/net/SocketAddress;)Ljava/net/SocketAddress;
astore 4
start local 4 8: aload 2
aload 4
invokevirtual io.netty.bootstrap.ServerBootstrap.bind:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
astore 5
start local 5 9: aload 5
aload 3
aload 5
invokedynamic operationComplete(Lio/netty/util/concurrent/Promise;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$0(Lio/netty/util/concurrent/Promise;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 10: goto 17
11: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.core.net.impl.SocketAddressImpl
astore 4
start local 4 12: aload 1
aload 2
aload 3
invokedynamic handle(Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;Lio/netty/util/concurrent/Promise;)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$1(Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;Lio/netty/util/concurrent/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
astore 5
start local 5 13: aload 4
invokevirtual io.vertx.core.net.impl.SocketAddressImpl.ipAddress:()Ljava/net/InetAddress;
ifnull 16
14: aload 5
aload 4
invokevirtual io.vertx.core.net.impl.SocketAddressImpl.ipAddress:()Ljava/net/InetAddress;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
15: goto 17
16: StackMap locals: io.vertx.core.net.impl.SocketAddressImpl io.vertx.core.Handler
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
aload 5
invokeinterface io.vertx.core.impl.VertxInternal.resolveAddress:(Ljava/lang/String;Lio/vertx/core/Handler;)V
end local 5 end local 4 17: 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 18 0 vertx Lio/vertx/core/impl/VertxInternal;
0 18 1 socketAddress Lio/vertx/core/net/SocketAddress;
0 18 2 bootstrap Lio/netty/bootstrap/ServerBootstrap;
1 18 3 promise Lio/netty/util/concurrent/Promise<Lio/netty/channel/Channel;>;
4 6 4 e Ljava/lang/Exception;
8 10 4 converted Ljava/net/SocketAddress;
9 10 5 future Lio/netty/channel/ChannelFuture;
12 17 4 impl Lio/vertx/core/net/impl/SocketAddressImpl;
13 17 5 cont Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/net/InetAddress;>;>;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Signature: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;)Lio/netty/util/concurrent/Future<Lio/netty/channel/Channel;>;
MethodParameters:
Name Flags
vertx
socketAddress
bootstrap
private static void lambda$0(io.netty.util.concurrent.Promise, io.netty.channel.ChannelFuture, io.netty.util.concurrent.Future);
descriptor: (Lio/netty/util/concurrent/Promise;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, 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
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.util.concurrent.Promise.setSuccess:(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
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$1(io.vertx.core.net.SocketAddress, io.netty.bootstrap.ServerBootstrap, io.netty.util.concurrent.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;Lio/netty/util/concurrent/Promise;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/netty/util/concurrent/Promise;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$2(Lio/netty/util/concurrent/Promise;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
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
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$2(io.netty.util.concurrent.Promise, io.netty.channel.ChannelFuture, io.netty.util.concurrent.Future);
descriptor: (Lio/netty/util/concurrent/Promise;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, 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
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.util.concurrent.Promise.setSuccess:(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
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