LibHandlerStub$20.smali

.class Lio/rong/imlib/LibHandlerStub$20;
.super Ljava/lang/Object;
.source "LibHandlerStub.java"

# interfaces
.implements Lio/rong/imlib/NativeClient$IResultCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/LibHandlerStub;->searchPublicService(Ljava/lang/String;IILio/rong/imlib/IResultCallback;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lio/rong/imlib/NativeClient$IResultCallback<",
        "Lio/rong/imlib/model/PublicServiceProfileList;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lio/rong/imlib/LibHandlerStub;

.field final synthetic val$callback:Lio/rong/imlib/IResultCallback;


# direct methods
.method constructor <init>(Lio/rong/imlib/LibHandlerStub;Lio/rong/imlib/IResultCallback;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lio/rong/imlib/LibHandlerStub$20;->this$0:Lio/rong/imlib/LibHandlerStub;

    iput-object p2, p0, Lio/rong/imlib/LibHandlerStub$20;->val$callback:Lio/rong/imlib/IResultCallback;

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

    return-void
.end method


# virtual methods
.method public onError(I)V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$20;->val$callback:Lio/rong/imlib/IResultCallback;

    if-eqz v0, :cond_e

    .line 2
    :try_start_4
    invoke-interface {v0, p1}, Lio/rong/imlib/IResultCallback;->onFailure(I)V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_7} :catch_8

    goto :goto_e

    :catch_8
    move-exception p1

    .line 3
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$20;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {v0, p1}, Lio/rong/imlib/LibHandlerStub;->access$200(Lio/rong/imlib/LibHandlerStub;Landroid/os/RemoteException;)V

    :cond_e
    :goto_e
    return-void
.end method

.method public onSuccess(Lio/rong/imlib/model/PublicServiceProfileList;)V
    .registers 3

    .line 2
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$20;->val$callback:Lio/rong/imlib/IResultCallback;

    if-eqz v0, :cond_15

    .line 3
    new-instance v0, Lio/rong/imlib/model/RemoteModelWrap;

    invoke-direct {v0, p1}, Lio/rong/imlib/model/RemoteModelWrap;-><init>(Landroid/os/Parcelable;)V

    .line 4
    :try_start_9
    iget-object p1, p0, Lio/rong/imlib/LibHandlerStub$20;->val$callback:Lio/rong/imlib/IResultCallback;

    invoke-interface {p1, v0}, Lio/rong/imlib/IResultCallback;->onComplete(Lio/rong/imlib/model/RemoteModelWrap;)V
    :try_end_e
    .catch Landroid/os/RemoteException; {:try_start_9 .. :try_end_e} :catch_f

    goto :goto_15

    :catch_f
    move-exception p1

    .line 5
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$20;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {v0, p1}, Lio/rong/imlib/LibHandlerStub;->access$200(Lio/rong/imlib/LibHandlerStub;Landroid/os/RemoteException;)V

    :cond_15
    :goto_15
    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Lio/rong/imlib/model/PublicServiceProfileList;

    invoke-virtual {p0, p1}, Lio/rong/imlib/LibHandlerStub$20;->onSuccess(Lio/rong/imlib/model/PublicServiceProfileList;)V

    return-void
.end method