.class public Lcom/moji/mjad/common/network/AdLiveBannerRequest;
.super Lcom/moji/mjad/base/network/AdRequest;
.source "AdLiveBannerRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/mjad/base/network/AdRequest<",
        "Lcom/moji/mjad/common/network/AdCommonRequestCallBack;",
        ">;"
    }
.end annotation


# instance fields
.field private h:Z

.field private i:I


# direct methods
.method public constructor <init>(ILandroid/content/Context;Lcom/moji/launchserver/AdCommonInterface$AdPosition;)V
    .locals 0

    .line 36
    invoke-direct {p0, p2, p3}, Lcom/moji/mjad/base/network/AdRequest;-><init>(Landroid/content/Context;Lcom/moji/launchserver/AdCommonInterface$AdPosition;)V

    const/4 p2, -0x1

    .line 27
    iput p2, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->i:I

    .line 37
    iput p1, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->i:I

    return-void
.end method

.method static synthetic a(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method

.method static synthetic b(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method

.method static synthetic c(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method

.method static synthetic d(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method

.method static synthetic e(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method

.method static synthetic f(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method

.method static synthetic g(Lcom/moji/mjad/common/network/AdLiveBannerRequest;)Lcom/moji/launchserver/AdCommonInterface$AdPosition;
    .locals 0

    .line 25
    iget-object p0, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    return-object p0
.end method


# virtual methods
.method protected synthetic a(Lcom/moji/mjad/base/network/AdRequestCallback;)V
    .locals 0

    .line 25
    check-cast p1, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    invoke-virtual {p0, p1}, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->b(Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    return-void
.end method

.method public a(Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V
    .locals 0

    .line 50
    invoke-super {p0, p1}, Lcom/moji/mjad/base/network/AdRequest;->b(Lcom/moji/mjad/base/network/AdRequestCallback;)V

    return-void
.end method

.method public a(Ljava/util/List;Ljava/lang/String;Lcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/mjad/common/data/AdCommon;",
            ">;",
            "Ljava/lang/String;",
            "Lcom/moji/mjad/common/data/AdCommon;",
            "Lcom/moji/mjad/common/network/AdCommonRequestCallBack;",
            ")V"
        }
    .end annotation

    if-eqz p3, :cond_0

    .line 102
    iget-object v0, p3, Lcom/moji/mjad/common/data/AdCommon;->partener:Lcom/moji/mjad/enumdata/ThirdAdPartener;

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 105
    sget-object v1, Lcom/moji/mjad/common/network/AdLiveBannerRequest$2;->a:[I

    invoke-virtual {v0}, Lcom/moji/mjad/enumdata/ThirdAdPartener;->ordinal()I

    move-result v0

    aget v0, v1, v0

    packed-switch v0, :pswitch_data_0

    .line 117
    sget-object v0, Lcom/moji/mjad/enumdata/ERROR_CODE;->NODATA:Lcom/moji/mjad/enumdata/ERROR_CODE;

    invoke-virtual {p4, v0, p2}, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;->a(Lcom/moji/mjad/enumdata/ERROR_CODE;Ljava/lang/String;)V

    goto :goto_1

    .line 113
    :pswitch_0
    new-instance v0, Lcom/moji/mjad/third/LoadCrystalAd;

    iget-object v1, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->b:Landroid/content/Context;

    move-object v2, p2

    move-object v3, p1

    move-object v4, p3

    move-object v5, p4

    invoke-direct/range {v0 .. v5}, Lcom/moji/mjad/third/LoadCrystalAd;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/util/List;Lcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    goto :goto_1

    .line 110
    :pswitch_1
    new-instance v0, Lcom/moji/mjad/third/LoadGDTAd;

    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object v1

    iget-boolean v3, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->h:Z

    move-object v2, p2

    move-object v4, p1

    move-object v5, p3

    move-object v6, p4

    invoke-direct/range {v0 .. v6}, Lcom/moji/mjad/third/LoadGDTAd;-><init>(Landroid/content/Context;Ljava/lang/String;ZLjava/util/List;Lcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    goto :goto_1

    .line 107
    :pswitch_2
    new-instance v0, Lcom/moji/mjad/third/LoadBaiduAd;

    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object v1

    move-object v2, p2

    move-object v3, p1

    move-object v4, p3

    move-object v5, p4

    invoke-direct/range {v0 .. v5}, Lcom/moji/mjad/third/LoadBaiduAd;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/util/List;Lcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    goto :goto_1

    .line 121
    :cond_1
    sget-object v0, Lcom/moji/mjad/enumdata/ERROR_CODE;->NODATA:Lcom/moji/mjad/enumdata/ERROR_CODE;

    invoke-virtual {p4, v0, p2}, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;->a(Lcom/moji/mjad/enumdata/ERROR_CODE;Ljava/lang/String;)V

    :goto_1
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public synthetic b(Lcom/moji/mjad/base/network/AdRequestCallback;)V
    .locals 0

    .line 25
    check-cast p1, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    invoke-virtual {p0, p1}, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->a(Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    return-void
.end method

.method protected b(Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V
    .locals 4

    .line 55
    new-instance v0, Lcom/moji/mjad/common/network/MjAdCommonRequest;

    iget v1, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->i:I

    iget-object v2, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->b:Landroid/content/Context;

    iget-object v3, p0, Lcom/moji/mjad/common/network/AdLiveBannerRequest;->c:Lcom/moji/launchserver/AdCommonInterface$AdPosition;

    invoke-direct {v0, v1, v2, v3}, Lcom/moji/mjad/common/network/MjAdCommonRequest;-><init>(ILandroid/content/Context;Lcom/moji/launchserver/AdCommonInterface$AdPosition;)V

    new-instance v1, Lcom/moji/mjad/common/network/AdLiveBannerRequest$1;

    invoke-direct {v1, p0, p1}, Lcom/moji/mjad/common/network/AdLiveBannerRequest$1;-><init>(Lcom/moji/mjad/common/network/AdLiveBannerRequest;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    invoke-virtual {v0, v1}, Lcom/moji/mjad/common/network/MjAdCommonRequest;->a(Lcom/moji/mjad/common/network/MjAdCommonRequestCallback;)V

    return-void
.end method
