UrlHandler$3.smali

.class Lcom/tradplus/ads/common/UrlHandler$3;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/tradplus/ads/common/UrlResolutionTask$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tradplus/ads/common/UrlHandler;->handleUrl(Landroid/content/Context;Ljava/lang/String;ZLjava/lang/Iterable;)V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Z

.field final synthetic c:Ljava/lang/Iterable;

.field final synthetic d:Ljava/lang/String;

.field final synthetic e:Lcom/tradplus/ads/common/UrlHandler;


# direct methods
.method constructor <init>(Lcom/tradplus/ads/common/UrlHandler;Landroid/content/Context;ZLjava/lang/Iterable;Ljava/lang/String;)V
    .registers 6

    iput-object p1, p0, Lcom/tradplus/ads/common/UrlHandler$3;->e:Lcom/tradplus/ads/common/UrlHandler;

    iput-object p2, p0, Lcom/tradplus/ads/common/UrlHandler$3;->a:Landroid/content/Context;

    iput-boolean p3, p0, Lcom/tradplus/ads/common/UrlHandler$3;->b:Z

    iput-object p4, p0, Lcom/tradplus/ads/common/UrlHandler$3;->c:Ljava/lang/Iterable;

    iput-object p5, p0, Lcom/tradplus/ads/common/UrlHandler$3;->d:Ljava/lang/String;

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

    return-void
.end method


# virtual methods
.method public onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
    .registers 6

    iget-object v0, p0, Lcom/tradplus/ads/common/UrlHandler$3;->e:Lcom/tradplus/ads/common/UrlHandler;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/tradplus/ads/common/UrlHandler;->a(Lcom/tradplus/ads/common/UrlHandler;Z)Z

    iget-object v0, p0, Lcom/tradplus/ads/common/UrlHandler$3;->e:Lcom/tradplus/ads/common/UrlHandler;

    iget-object v1, p0, Lcom/tradplus/ads/common/UrlHandler$3;->d:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v0, v1, v2, p1, p2}, Lcom/tradplus/ads/common/UrlHandler;->a(Lcom/tradplus/ads/common/UrlHandler;Ljava/lang/String;Lcom/tradplus/ads/common/UrlAction;Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method

.method public onSuccess(Ljava/lang/String;)V
    .registers 6

    iget-object v0, p0, Lcom/tradplus/ads/common/UrlHandler$3;->e:Lcom/tradplus/ads/common/UrlHandler;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/tradplus/ads/common/UrlHandler;->a(Lcom/tradplus/ads/common/UrlHandler;Z)Z

    iget-object v0, p0, Lcom/tradplus/ads/common/UrlHandler$3;->e:Lcom/tradplus/ads/common/UrlHandler;

    iget-object v1, p0, Lcom/tradplus/ads/common/UrlHandler$3;->a:Landroid/content/Context;

    iget-boolean v2, p0, Lcom/tradplus/ads/common/UrlHandler$3;->b:Z

    iget-object v3, p0, Lcom/tradplus/ads/common/UrlHandler$3;->c:Ljava/lang/Iterable;

    invoke-virtual {v0, v1, p1, v2, v3}, Lcom/tradplus/ads/common/UrlHandler;->handleResolvedUrl(Landroid/content/Context;Ljava/lang/String;ZLjava/lang/Iterable;)Z

    return-void
.end method