RongHttpDns$3.smali
.class Lio/rong/imlib/httpdns/RongHttpDns$3;
.super Ljava/lang/Object;
.source "RongHttpDns.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lio/rong/imlib/httpdns/RongHttpDns;->asyncResolve(Ljava/lang/String;Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;Lio/rong/imlib/httpdns/HttpDnsCompletion;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lio/rong/imlib/httpdns/RongHttpDns;
.field final synthetic val$callback:Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;
.field final synthetic val$httpDnsEntry:Lio/rong/imlib/httpdns/HostCacheManager$HostEntry;
.field final synthetic val$resolveType:Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveType;
# direct methods
.method constructor <init>(Lio/rong/imlib/httpdns/RongHttpDns;Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveType;Lio/rong/imlib/httpdns/HostCacheManager$HostEntry;)V
.registers 5
.line 1
iput-object p1, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->this$0:Lio/rong/imlib/httpdns/RongHttpDns;
iput-object p2, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->val$callback:Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;
iput-object p3, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->val$resolveType:Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveType;
iput-object p4, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->val$httpDnsEntry:Lio/rong/imlib/httpdns/HostCacheManager$HostEntry;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 7
.line 1
iget-object v0, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->val$callback:Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;
new-instance v1, Lio/rong/imlib/httpdns/RongHttpDnsResult;
iget-object v2, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->val$resolveType:Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveType;
sget-object v3, Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveStatus;->BDHttpDnsResolveOK:Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveStatus;
iget-object v4, p0, Lio/rong/imlib/httpdns/RongHttpDns$3;->val$httpDnsEntry:Lio/rong/imlib/httpdns/HostCacheManager$HostEntry;
.line 2
invoke-virtual {v4}, Lio/rong/imlib/httpdns/HostCacheManager$HostEntry;->getIpv4List()Ljava/util/ArrayList;
move-result-object v4
const/4 v5, 0x0
invoke-direct {v1, v2, v3, v4, v5}, Lio/rong/imlib/httpdns/RongHttpDnsResult;-><init>(Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveType;Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveStatus;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
.line 3
invoke-interface {v0, v1}, Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;->completionHandler(Lio/rong/imlib/httpdns/RongHttpDnsResult;)V
return-void
.end method