RongHttpDns$1.smali
.class Lio/rong/imlib/httpdns/RongHttpDns$1;
.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$ipv4List:Ljava/util/ArrayList;
# direct methods
.method constructor <init>(Lio/rong/imlib/httpdns/RongHttpDns;Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;Ljava/util/ArrayList;)V
.registers 4
.line 1
iput-object p1, p0, Lio/rong/imlib/httpdns/RongHttpDns$1;->this$0:Lio/rong/imlib/httpdns/RongHttpDns;
iput-object p2, p0, Lio/rong/imlib/httpdns/RongHttpDns$1;->val$callback:Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;
iput-object p3, p0, Lio/rong/imlib/httpdns/RongHttpDns$1;->val$ipv4List:Ljava/util/ArrayList;
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$1;->val$callback:Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;
new-instance v1, Lio/rong/imlib/httpdns/RongHttpDnsResult;
sget-object v2, Lio/rong/imlib/httpdns/RongHttpDnsResult$ResolveType;->RESOLVE_NONEED: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$1;->val$ipv4List:Ljava/util/ArrayList;
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
invoke-interface {v0, v1}, Lio/rong/imlib/httpdns/RongHttpDns$CompletionHandler;->completionHandler(Lio/rong/imlib/httpdns/RongHttpDnsResult;)V
return-void
.end method