PingClient$a.smali
.class public Lcom/cleanmaster/gameboost/ping/PingClient$a;
.super Ljava/lang/Object;
.source "PingClient.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/cleanmaster/gameboost/ping/PingClient;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "a"
.end annotation
# instance fields
.field final synthetic a:Lcom/cleanmaster/gameboost/ping/PingClient;
.field private b:Ljava/lang/String;
# direct methods
.method constructor <init>(Lcom/cleanmaster/gameboost/ping/PingClient;Ljava/lang/String;)V
.registers 3
.prologue
.line 194
iput-object p1, p0, Lcom/cleanmaster/gameboost/ping/PingClient$a;->a:Lcom/cleanmaster/gameboost/ping/PingClient;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 195
iput-object p2, p0, Lcom/cleanmaster/gameboost/ping/PingClient$a;->b:Ljava/lang/String;
.line 196
return-void
.end method
# virtual methods
.method public a()Ljava/net/InetAddress;
.registers 2
.prologue
.line 200
:try_start_0
iget-object v0, p0, Lcom/cleanmaster/gameboost/ping/PingClient$a;->b:Ljava/lang/String;
invoke-static {v0}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;
:try_end_5
.catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_5} :catch_7
move-result-object v0
.line 204
:goto_6
return-object v0
.line 201
:catch_7
move-exception v0
.line 202
invoke-virtual {v0}, Ljava/net/UnknownHostException;->printStackTrace()V
.line 204
const/4 v0, 0x0
goto :goto_6
.end method
.method public synthetic call()Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.prologue
.line 190
invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ping/PingClient$a;->a()Ljava/net/InetAddress;
move-result-object v0
return-object v0
.end method