.class Lcom/moji/mjad/base/network/AdRequestCallback$1;
.super Landroid/os/CountDownTimer;
.source "AdRequestCallback.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/base/network/AdRequestCallback;->a(Ljava/lang/String;JJ)V
.end annotation

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


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/moji/mjad/base/network/AdRequestCallback;


# direct methods
.method constructor <init>(Lcom/moji/mjad/base/network/AdRequestCallback;JJLjava/lang/String;)V
    .locals 0

    .line 168
    iput-object p1, p0, Lcom/moji/mjad/base/network/AdRequestCallback$1;->b:Lcom/moji/mjad/base/network/AdRequestCallback;

    iput-object p6, p0, Lcom/moji/mjad/base/network/AdRequestCallback$1;->a:Ljava/lang/String;

    invoke-direct {p0, p2, p3, p4, p5}, Landroid/os/CountDownTimer;-><init>(JJ)V

    return-void
.end method


# virtual methods
.method public onFinish()V
    .locals 2

    .line 175
    iget-object v0, p0, Lcom/moji/mjad/base/network/AdRequestCallback$1;->b:Lcom/moji/mjad/base/network/AdRequestCallback;

    sget-object v1, Lcom/moji/mjad/enumdata/ERROR_CODE;->TIMEOUT:Lcom/moji/mjad/enumdata/ERROR_CODE;

    invoke-virtual {v0, v1}, Lcom/moji/mjad/base/network/AdRequestCallback;->b(Lcom/moji/mjad/enumdata/ERROR_CODE;)V

    .line 176
    iget-object v0, p0, Lcom/moji/mjad/base/network/AdRequestCallback$1;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 177
    invoke-static {}, Lcom/moji/mjad/base/network/socket/AdSocketManager;->a()Lcom/moji/mjad/base/network/socket/AdSocketManager;

    move-result-object v0

    iget-object v0, v0, Lcom/moji/mjad/base/network/socket/AdSocketManager;->a:Ljava/util/Map;

    iget-object v1, p0, Lcom/moji/mjad/base/network/AdRequestCallback$1;->a:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 178
    invoke-static {}, Lcom/moji/mjad/base/network/socket/AdSocketManager;->a()Lcom/moji/mjad/base/network/socket/AdSocketManager;

    move-result-object v0

    iget-object v0, v0, Lcom/moji/mjad/base/network/socket/AdSocketManager;->a:Ljava/util/Map;

    iget-object v1, p0, Lcom/moji/mjad/base/network/AdRequestCallback$1;->a:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-void
.end method

.method public onTick(J)V
    .locals 0

    return-void
.end method
