public final class io.vertx.core.dns.impl.DnsClientImpl extends java.lang.Object implements io.vertx.core.dns.DnsClient
{
private static final char[] HEX_TABLE;
private final io.vertx.core.impl.VertxInternal vertx;
private final io.netty.util.collection.LongObjectMap inProgressMap;
private final java.net.InetSocketAddress dnsServer;
private final io.vertx.core.impl.ContextInternal actualCtx;
private final io.netty.channel.socket.DatagramChannel channel;
private final io.vertx.core.dns.DnsClientOptions options;
public void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.dns.DnsClientOptions)
{
io.netty.util.collection.LongObjectHashMap v;
java.net.InetAddress v;
io.netty.channel.socket.DatagramChannel v, v, v, v, v, v, v, v, v;
io.netty.handler.logging.ByteBufFormat v;
io.netty.channel.socket.InternetProtocolFamily v;
boolean v, v, v;
io.vertx.core.dns.impl.DnsClientImpl$1 v;
io.netty.channel.ChannelPipeline v, v, v, v;
io.netty.channel.RecvByteBufAllocator v;
io.netty.channel.EventLoop v;
io.vertx.core.buffer.impl.PartialPooledByteBufAllocator v;
java.net.InetSocketAddress v, v, v;
io.netty.handler.codec.dns.DatagramDnsResponseDecoder v;
io.netty.handler.codec.dns.DatagramDnsQueryEncoder v;
io.netty.channel.ChannelOption v;
io.netty.handler.logging.LoggingHandler v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.vertx.core.dns.DnsClientOptions v, v;
io.vertx.core.impl.ContextInternal v, v;
io.vertx.core.spi.transport.Transport v;
io.netty.channel.socket.DatagramChannelConfig v, v, v;
int v;
java.lang.Boolean v;
java.lang.String v, v;
io.vertx.core.impl.VertxInternal v;
java.lang.IllegalArgumentException v;
io.netty.channel.ChannelHandler[] v, v, v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: io.vertx.core.impl.VertxInternal;
v := @parameter: io.vertx.core.dns.DnsClientOptions;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new io.netty.util.collection.LongObjectHashMap;
specialinvoke v.<io.netty.util.collection.LongObjectHashMap: void <init>()>();
v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.util.collection.LongObjectMap inProgressMap> = v;
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null options accepted");
v = virtualinvoke v.<io.vertx.core.dns.DnsClientOptions: java.lang.String getHost()>();
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null host accepted");
v = new io.vertx.core.dns.DnsClientOptions;
specialinvoke v.<io.vertx.core.dns.DnsClientOptions: void <init>(io.vertx.core.dns.DnsClientOptions)>(v);
v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.dns.DnsClientOptions options> = v;
interfaceinvoke v.<io.vertx.core.impl.VertxInternal: io.vertx.core.impl.ContextInternal getContext()>();
v = new java.net.InetSocketAddress;
v = virtualinvoke v.<io.vertx.core.dns.DnsClientOptions: java.lang.String getHost()>();
v = virtualinvoke v.<io.vertx.core.dns.DnsClientOptions: int getPort()>();
specialinvoke v.<java.net.InetSocketAddress: void <init>(java.lang.String,int)>(v, v);
v.<io.vertx.core.dns.impl.DnsClientImpl: java.net.InetSocketAddress dnsServer> = v;
v = v.<io.vertx.core.dns.impl.DnsClientImpl: java.net.InetSocketAddress dnsServer>;
v = virtualinvoke v.<java.net.InetSocketAddress: boolean isUnresolved()>();
if v == 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Cannot resolve the host to a valid ip address");
throw v;
label:
v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.impl.VertxInternal vertx> = v;
v = interfaceinvoke v.<io.vertx.core.impl.VertxInternal: io.vertx.core.spi.transport.Transport transport()>();
v = interfaceinvoke v.<io.vertx.core.impl.VertxInternal: io.vertx.core.impl.ContextInternal getOrCreateContext()>();
v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.impl.ContextInternal actualCtx> = v;
v = v.<io.vertx.core.dns.impl.DnsClientImpl: java.net.InetSocketAddress dnsServer>;
v = virtualinvoke v.<java.net.InetSocketAddress: java.net.InetAddress getAddress()>();
v = v instanceof java.net.Inet4Address;
if v == 0 goto label;
v = <io.netty.channel.socket.InternetProtocolFamily: io.netty.channel.socket.InternetProtocolFamily IPv4>;
goto label;
label:
v = <io.netty.channel.socket.InternetProtocolFamily: io.netty.channel.socket.InternetProtocolFamily IPv6>;
label:
v = interfaceinvoke v.<io.vertx.core.spi.transport.Transport: io.netty.channel.socket.DatagramChannel datagramChannel(io.netty.channel.socket.InternetProtocolFamily)>(v);
v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel> = v;
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.socket.DatagramChannelConfig config()>();
v = <io.netty.channel.ChannelOption: io.netty.channel.ChannelOption DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION>;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(1);
interfaceinvoke v.<io.netty.channel.socket.DatagramChannelConfig: boolean setOption(io.netty.channel.ChannelOption,java.lang.Object)>(v, v);
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.socket.DatagramChannelConfig config()>();
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannelConfig: io.netty.channel.RecvByteBufAllocator getRecvByteBufAllocator()>();
interfaceinvoke v.<io.netty.channel.MaxMessagesRecvByteBufAllocator: io.netty.channel.MaxMessagesRecvByteBufAllocator maxMessagesPerRead(int)>(1);
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.socket.DatagramChannelConfig config()>();
v = <io.vertx.core.buffer.impl.PartialPooledByteBufAllocator: io.vertx.core.buffer.impl.PartialPooledByteBufAllocator INSTANCE>;
interfaceinvoke v.<io.netty.channel.socket.DatagramChannelConfig: io.netty.channel.socket.DatagramChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator)>(v);
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.impl.ContextInternal actualCtx>;
v = interfaceinvoke v.<io.vertx.core.impl.ContextInternal: io.netty.channel.EventLoop nettyEventLoop()>();
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
interfaceinvoke v.<io.netty.channel.EventLoop: io.netty.channel.ChannelFuture register(io.netty.channel.Channel)>(v);
v = virtualinvoke v.<io.vertx.core.dns.DnsClientOptions: boolean getLogActivity()>();
if v == 0 goto label;
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.ChannelPipeline pipeline()>();
v = new io.netty.handler.logging.LoggingHandler;
v = virtualinvoke v.<io.vertx.core.dns.DnsClientOptions: io.netty.handler.logging.ByteBufFormat getActivityLogFormat()>();
specialinvoke v.<io.netty.handler.logging.LoggingHandler: void <init>(io.netty.handler.logging.ByteBufFormat)>(v);
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline addLast(java.lang.String,io.netty.channel.ChannelHandler)>("logging", v);
label:
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.ChannelPipeline pipeline()>();
v = newarray (io.netty.channel.ChannelHandler)[1];
v = new io.netty.handler.codec.dns.DatagramDnsQueryEncoder;
specialinvoke v.<io.netty.handler.codec.dns.DatagramDnsQueryEncoder: void <init>()>();
v[0] = v;
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline addLast(io.netty.channel.ChannelHandler[])>(v);
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.ChannelPipeline pipeline()>();
v = newarray (io.netty.channel.ChannelHandler)[1];
v = new io.netty.handler.codec.dns.DatagramDnsResponseDecoder;
specialinvoke v.<io.netty.handler.codec.dns.DatagramDnsResponseDecoder: void <init>()>();
v[0] = v;
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline addLast(io.netty.channel.ChannelHandler[])>(v);
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.netty.channel.socket.DatagramChannel channel>;
v = interfaceinvoke v.<io.netty.channel.socket.DatagramChannel: io.netty.channel.ChannelPipeline pipeline()>();
v = newarray (io.netty.channel.ChannelHandler)[1];
v = new io.vertx.core.dns.impl.DnsClientImpl$1;
specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl$1: void <init>(io.vertx.core.dns.impl.DnsClientImpl)>(v);
v[0] = v;
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline addLast(io.netty.channel.ChannelHandler[])>(v);
return;
}
public io.vertx.core.dns.DnsClient lookup4(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookup4(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future lookup4(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType A>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupSingle(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient lookup6(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookup6(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future lookup6(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType AAAA>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupSingle(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient lookup(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookup(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future lookup(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v, v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[2];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType A>;
v[0] = v;
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType AAAA>;
v[1] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupSingle(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient resolveA(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveA(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future resolveA(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType A>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient resolveCNAME(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveCNAME(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future resolveCNAME(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType CNAME>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient resolveMX(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveMX(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future resolveMX(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType MX>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.Future resolveTXT(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v, v;
java.util.function.Function v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType TXT>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
v = staticinvoke <io.vertx.core.dns.impl.DnsClientImpl$lambda_resolveTXT_0__926: java.util.function.Function bootstrap$()>();
v = interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future map(java.util.function.Function)>(v);
return v;
}
public io.vertx.core.dns.DnsClient resolveTXT(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveTXT(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future resolvePTR(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType PTR>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupSingle(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient resolvePTR(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolvePTR(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.dns.DnsClient resolveAAAA(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveAAAA(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future resolveAAAA(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType AAAA>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.Future resolveNS(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType NS>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient resolveNS(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveNS(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future resolveSRV(java.lang.String)
{
io.netty.handler.codec.dns.DnsRecordType v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v = newarray (io.netty.handler.codec.dns.DnsRecordType)[1];
v = <io.netty.handler.codec.dns.DnsRecordType: io.netty.handler.codec.dns.DnsRecordType SRV>;
v[0] = v;
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
return v;
}
public io.vertx.core.dns.DnsClient resolveSRV(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolveSRV(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
public io.vertx.core.Future reverseLookup(java.lang.String)
{
byte[] v;
java.net.InetAddress v;
byte v, v, v, v, v, v, v;
boolean v;
io.vertx.core.Future v, v;
java.lang.StringBuilder v, v, v, v, v, v, v;
io.vertx.core.dns.impl.DnsClientImpl v;
short v, v, v, v;
int v, v, v, v, v;
java.lang.String v, v;
char v, v;
java.net.UnknownHostException v;
char[] v, v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
label:
v = staticinvoke <java.net.InetAddress: java.net.InetAddress getByName(java.lang.String)>(v);
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = new java.lang.StringBuilder;
specialinvoke v.<java.lang.StringBuilder: void <init>(int)>(64);
v = v instanceof java.net.Inet4Address;
if v == 0 goto label;
v = v[3];
v = v & 255;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(".");
v = v[2];
v = v & 255;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(".");
v = v[1];
v = v & 255;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(".");
v = v[0];
v = v & 255;
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
goto label;
label:
v = 0;
label:
if v >= 16 goto label;
v = <io.vertx.core.dns.impl.DnsClientImpl: char[] HEX_TABLE>;
v = 15 - v;
v = v[v];
v = v & 15;
v = v[v];
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(char)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(".");
v = <io.vertx.core.dns.impl.DnsClientImpl: char[] HEX_TABLE>;
v = 15 - v;
v = v[v];
v = v >> 4;
v = v & 15;
v = v[v];
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(char)>(v);
if v == 15 goto label;
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(".");
label:
v = v + 1;
goto label;
label:
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(".in-addr.arpa");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.String toString()>();
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future resolvePTR(java.lang.String)>(v);
label:
return v;
label:
v := @caughtexception;
v = staticinvoke <io.vertx.core.Future: io.vertx.core.Future failedFuture(java.lang.Throwable)>(v);
return v;
catch java.net.UnknownHostException from label to label with label;
}
public io.vertx.core.dns.DnsClient reverseLookup(java.lang.String, io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
java.lang.String v;
io.vertx.core.Handler v;
io.vertx.core.Future v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.vertx.core.Handler;
v = virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future reverseLookup(java.lang.String)>(v);
interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future onComplete(io.vertx.core.Handler)>(v);
return v;
}
private transient io.vertx.core.Future lookupSingle(java.lang.String, io.netty.handler.codec.dns.DnsRecordType[])
{
io.vertx.core.dns.impl.DnsClientImpl v;
io.netty.handler.codec.dns.DnsRecordType[] v;
java.lang.String v;
io.vertx.core.Future v, v;
java.util.function.Function v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.netty.handler.codec.dns.DnsRecordType[];
v = specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.Future lookupList(java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v);
v = staticinvoke <io.vertx.core.dns.impl.DnsClientImpl$lambda_lookupSingle_1__927: java.util.function.Function bootstrap$()>();
v = interfaceinvoke v.<io.vertx.core.Future: io.vertx.core.Future map(java.util.function.Function)>(v);
return v;
}
private transient io.vertx.core.Future lookupList(java.lang.String, io.netty.handler.codec.dns.DnsRecordType[])
{
io.vertx.core.impl.VertxInternal v;
io.vertx.core.impl.future.PromiseInternal v;
io.netty.util.concurrent.Promise v;
io.vertx.core.dns.impl.DnsClientImpl v;
io.vertx.core.dns.impl.DnsClientImpl$Query v;
io.vertx.core.impl.ContextInternal v, v;
io.netty.handler.codec.dns.DnsRecordType[] v;
io.netty.channel.EventLoop v;
io.vertx.core.Future v;
java.lang.Runnable v;
java.lang.String v;
boolean v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: java.lang.String;
v := @parameter: io.netty.handler.codec.dns.DnsRecordType[];
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.impl.VertxInternal vertx>;
v = interfaceinvoke v.<io.vertx.core.impl.VertxInternal: io.vertx.core.impl.ContextInternal getOrCreateContext()>();
v = interfaceinvoke v.<io.vertx.core.impl.ContextInternal: io.vertx.core.impl.future.PromiseInternal promise()>();
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null name accepted");
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.impl.ContextInternal actualCtx>;
v = interfaceinvoke v.<io.vertx.core.impl.ContextInternal: io.netty.channel.EventLoop nettyEventLoop()>();
v = new io.vertx.core.dns.impl.DnsClientImpl$Query;
specialinvoke v.<io.vertx.core.dns.impl.DnsClientImpl$Query: void <init>(io.vertx.core.dns.impl.DnsClientImpl,java.lang.String,io.netty.handler.codec.dns.DnsRecordType[])>(v, v, v);
v = v.<io.vertx.core.dns.impl.DnsClientImpl$Query: io.netty.util.concurrent.Promise promise>;
interfaceinvoke v.<io.netty.util.concurrent.Promise: io.netty.util.concurrent.Promise addListener(io.netty.util.concurrent.GenericFutureListener)>(v);
v = interfaceinvoke v.<io.netty.channel.EventLoop: boolean inEventLoop()>();
if v == 0 goto label;
virtualinvoke v.<io.vertx.core.dns.impl.DnsClientImpl$Query: void run()>();
goto label;
label:
virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = staticinvoke <io.vertx.core.dns.impl.DnsClientImpl$run__928: java.lang.Runnable bootstrap$(io.vertx.core.dns.impl.DnsClientImpl$Query)>(v);
interfaceinvoke v.<io.netty.channel.EventLoop: void execute(java.lang.Runnable)>(v);
label:
v = interfaceinvoke v.<io.vertx.core.impl.future.PromiseInternal: io.vertx.core.Future future()>();
return v;
}
private long dnsMessageId(int, java.lang.String)
{
io.vertx.core.dns.impl.DnsClientImpl v;
long v, v;
int v, v, v, v;
java.lang.String v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: int;
v := @parameter: java.lang.String;
v = virtualinvoke v.<java.lang.String: int hashCode()>();
v = v << 16;
v = (int) 65535;
v = v & v;
v = v + v;
return v;
}
public void inProgressQueries(io.vertx.core.Handler)
{
io.vertx.core.dns.impl.DnsClientImpl v;
io.vertx.core.impl.ContextInternal v;
io.vertx.core.Handler v, v;
v := @this: io.vertx.core.dns.impl.DnsClientImpl;
v := @parameter: io.vertx.core.Handler;
v = v.<io.vertx.core.dns.impl.DnsClientImpl: io.vertx.core.impl.ContextInternal actualCtx>;
v = staticinvoke <io.vertx.core.dns.impl.DnsClientImpl$lambda_inProgressQueries_2__929: io.vertx.core.Handler bootstrap$(io.vertx.core.dns.impl.DnsClientImpl,io.vertx.core.Handler)>(v, v);
interfaceinvoke v.<io.vertx.core.impl.ContextInternal: void runOnContext(io.vertx.core.Handler)>(v);
return;
}
static void <clinit>()
{
char[] v;
java.lang.String v;
v = "0123456789abcdef";
v = virtualinvoke v.<java.lang.String: char[] toCharArray()>();
<io.vertx.core.dns.impl.DnsClientImpl: char[] HEX_TABLE> = v;
return;
}
}