BaseClientProcess.smali
.class public Lcom/sandboxol/center/download/client/BaseClientProcess;
.super Ljava/lang/Object;
.source "BaseClientProcess.java"
# interfaces
.implements Lcom/sandboxol/center/download/interfaces/IClientProcess;
# instance fields
.field private downloadResType:I
# direct methods
.method private constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(I)V
.registers 2
.line 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 3
iput p1, p0, Lcom/sandboxol/center/download/client/BaseClientProcess;->downloadResType:I
return-void
.end method
# virtual methods
.method public synthetic process(IILcom/sandboxol/center/download/entity/MergeBuilder;Lcom/sandboxol/center/download/service/IDownload;)V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
invoke-static {p0, p1, p2, p3, p4}, Lcom/sandboxol/center/download/interfaces/a;->a(Lcom/sandboxol/center/download/interfaces/IClientProcess;IILcom/sandboxol/center/download/entity/MergeBuilder;Lcom/sandboxol/center/download/service/IDownload;)V
return-void
.end method
.method public process(Lcom/sandboxol/center/download/entity/MergeBuilder;Lcom/sandboxol/center/download/service/IDownload;)V
.registers 9
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 1
iget v1, p0, Lcom/sandboxol/center/download/client/BaseClientProcess;->downloadResType:I
new-instance v0, Lcom/google/gson/j;
invoke-direct {v0}, Lcom/google/gson/j;-><init>()V
invoke-virtual {v0, p1}, Lcom/google/gson/j;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
new-instance v3, Lcom/sandboxol/center/download/client/BaseClientProcess$1;
invoke-direct {v3, p0, p1}, Lcom/sandboxol/center/download/client/BaseClientProcess$1;-><init>(Lcom/sandboxol/center/download/client/BaseClientProcess;Lcom/sandboxol/center/download/entity/MergeBuilder;)V
new-instance v4, Lcom/sandboxol/center/download/client/BaseClientProcess$2;
invoke-direct {v4, p0, p1}, Lcom/sandboxol/center/download/client/BaseClientProcess$2;-><init>(Lcom/sandboxol/center/download/client/BaseClientProcess;Lcom/sandboxol/center/download/entity/MergeBuilder;)V
new-instance v5, Lcom/sandboxol/center/download/client/BaseClientProcess$3;
invoke-direct {v5, p0, p1}, Lcom/sandboxol/center/download/client/BaseClientProcess$3;-><init>(Lcom/sandboxol/center/download/client/BaseClientProcess;Lcom/sandboxol/center/download/entity/MergeBuilder;)V
move-object v0, p2
invoke-interface/range {v0 .. v5}, Lcom/sandboxol/center/download/service/IDownload;->process(ILjava/lang/String;Lcom/sandboxol/center/download/service/IDownloadListener;Lcom/sandboxol/center/download/service/IVerifyListener;Lcom/sandboxol/center/download/service/IUnzipListener;)V
return-void
.end method