LibHandlerStub$22.smali
.class Lio/rong/imlib/LibHandlerStub$22;
.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;->getPublicServiceProfile(Ljava/lang/String;ILio/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/PublicServiceProfile;",
">;"
}
.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$22;->this$0:Lio/rong/imlib/LibHandlerStub;
iput-object p2, p0, Lio/rong/imlib/LibHandlerStub$22;->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$22;->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$22;->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/PublicServiceProfile;)V
.registers 3
.line 2
iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$22;->val$callback:Lio/rong/imlib/IResultCallback;
if-eqz v0, :cond_18
const/4 v0, 0x0
if-eqz p1, :cond_c
.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
:cond_c
:try_start_c
iget-object p1, p0, Lio/rong/imlib/LibHandlerStub$22;->val$callback:Lio/rong/imlib/IResultCallback;
invoke-interface {p1, v0}, Lio/rong/imlib/IResultCallback;->onComplete(Lio/rong/imlib/model/RemoteModelWrap;)V
:try_end_11
.catch Landroid/os/RemoteException; {:try_start_c .. :try_end_11} :catch_12
goto :goto_18
:catch_12
move-exception p1
.line 5
iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$22;->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_18
:goto_18
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lio/rong/imlib/model/PublicServiceProfile;
invoke-virtual {p0, p1}, Lio/rong/imlib/LibHandlerStub$22;->onSuccess(Lio/rong/imlib/model/PublicServiceProfile;)V
return-void
.end method