.class Lcom/ali/auth/third/core/ut/UserTracer$1;
.super Ljava/lang/Object;
.source "UserTracer.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/ali/auth/third/core/ut/UserTracer;->send(Ljava/lang/String;Ljava/util/Map;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/ali/auth/third/core/ut/UserTracer;

.field final synthetic val$appInfo:Lorg/json/JSONObject;


# direct methods
.method constructor <init>(Lcom/ali/auth/third/core/ut/UserTracer;Lorg/json/JSONObject;)V
    .locals 0

    .line 59
    iput-object p1, p0, Lcom/ali/auth/third/core/ut/UserTracer$1;->this$0:Lcom/ali/auth/third/core/ut/UserTracer;

    iput-object p2, p0, Lcom/ali/auth/third/core/ut/UserTracer$1;->val$appInfo:Lorg/json/JSONObject;

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

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 62
    new-instance v0, Lcom/ali/auth/third/core/model/RpcRequest;

    invoke-direct {v0}, Lcom/ali/auth/third/core/model/RpcRequest;-><init>()V

    const-string v1, "mtop.taobao.havana.mlogin.userTracerLog"

    .line 63
    iput-object v1, v0, Lcom/ali/auth/third/core/model/RpcRequest;->target:Ljava/lang/String;

    const-string v1, "1.0"

    .line 64
    iput-object v1, v0, Lcom/ali/auth/third/core/model/RpcRequest;->version:Ljava/lang/String;

    const-string v1, "userTracerInfo"

    .line 66
    iget-object v2, p0, Lcom/ali/auth/third/core/ut/UserTracer$1;->val$appInfo:Lorg/json/JSONObject;

    invoke-virtual {v0, v1, v2}, Lcom/ali/auth/third/core/model/RpcRequest;->addParam(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v1, "ts"

    .line 67
    new-instance v2, Ljava/lang/StringBuilder;

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

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/ali/auth/third/core/model/RpcRequest;->addParam(Ljava/lang/String;Ljava/lang/Object;)V

    .line 68
    const-class v1, Lcom/ali/auth/third/core/service/RpcService;

    invoke-static {v1}, Lcom/ali/auth/third/core/context/KernelContext;->getService(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/ali/auth/third/core/service/RpcService;

    const-class v2, Ljava/lang/String;

    invoke-interface {v1, v0, v2}, Lcom/ali/auth/third/core/service/RpcService;->invoke(Lcom/ali/auth/third/core/model/RpcRequest;Ljava/lang/Class;)Lcom/ali/auth/third/core/model/RpcResponse;

    return-void
.end method
