t.smali

.class public Lcom/qq/e/comm/plugin/ab/c/t;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/qq/e/comm/plugin/ab/c/k;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/qq/e/comm/plugin/ab/c/t$a;
    }
.end annotation


# direct methods
.method private constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/qq/e/comm/plugin/ab/c/t$1;)V
    .registers 2

    invoke-direct {p0}, Lcom/qq/e/comm/plugin/ab/c/t;-><init>()V

    return-void
.end method

.method public static a()Lcom/qq/e/comm/plugin/ab/c/t;
    .registers 1

    sget-object v0, Lcom/qq/e/comm/plugin/ab/c/t$a;->a:Lcom/qq/e/comm/plugin/ab/c/t;

    return-object v0
.end method

.method private a(Lorg/json/JSONObject;)V
    .registers 11

    :try_start_0
    new-instance v0, Lcom/qq/e/comm/services/RetCodeService$RetCodeInfo;

    const-string v1, "host"

    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "cgi"

    invoke-virtual {p1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "jsver"

    invoke-virtual {p1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "code"

    invoke-virtual {p1, v4}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v4

    const-string v5, "duration"

    invoke-virtual {p1, v5}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v5

    const-string v6, "reqsize"

    const/4 v7, 0x0

    invoke-virtual {p1, v6, v7}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v6

    const-string v7, "rspsize"

    const/4 v8, 0x0

    invoke-virtual {p1, v7, v8}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v7

    const-string v8, "type"

    invoke-virtual {p1, v8}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v8

    invoke-direct/range {v0 .. v8}, Lcom/qq/e/comm/services/RetCodeService$RetCodeInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIII)V

    invoke-static {}, Lcom/qq/e/comm/services/RetCodeService;->getInstance()Lcom/qq/e/comm/services/RetCodeService;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/qq/e/comm/services/RetCodeService;->send(Lcom/qq/e/comm/services/RetCodeService$RetCodeInfo;)V
    :try_end_3e
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_3e} :catch_3f

    :goto_3e
    return-void

    :catch_3f
    move-exception v0

    const-string v1, "Exception While sendingRetCode"

    invoke-static {v1, v0}, Lcom/qq/e/comm/util/GDTLogger;->report(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_3e
.end method


# virtual methods
.method public a(Lcom/qq/e/comm/plugin/ab/i;Lcom/qq/e/comm/plugin/ab/b/d;)V
    .registers 4

    invoke-virtual {p2}, Lcom/qq/e/comm/plugin/ab/b/d;->d()Lorg/json/JSONObject;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/qq/e/comm/plugin/ab/c/t;->a(Lorg/json/JSONObject;)V

    return-void
.end method

.method public b()Ljava/lang/String;
    .registers 2

    const-string v0, "sendRetCode"

    return-object v0
.end method