LibHandlerStub$6.smali

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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/LibHandlerStub;->sendDirectionalMessage(Lio/rong/imlib/model/Message;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lio/rong/imlib/ISendMessageCallback;)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$ISendMessageCallback<",
        "Lio/rong/imlib/model/Message;",
        ">;"
    }
.end annotation


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

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


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

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

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

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

    return-void
.end method


# virtual methods
.method public onAttached(Lio/rong/imlib/model/Message;)V
    .registers 3

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

    if-eqz v0, :cond_e

    .line 3
    :try_start_4
    invoke-interface {v0, p1}, Lio/rong/imlib/ISendMessageCallback;->onAttached(Lio/rong/imlib/model/Message;)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 4
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$6;->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 bridge synthetic onAttached(Ljava/lang/Object;)V
    .registers 2

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

    invoke-virtual {p0, p1}, Lio/rong/imlib/LibHandlerStub$6;->onAttached(Lio/rong/imlib/model/Message;)V

    return-void
.end method

.method public onError(Lio/rong/imlib/model/Message;I)V
    .registers 4

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

    if-eqz v0, :cond_e

    .line 3
    :try_start_4
    invoke-interface {v0, p1, p2}, Lio/rong/imlib/ISendMessageCallback;->onError(Lio/rong/imlib/model/Message;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 4
    iget-object p2, p0, Lio/rong/imlib/LibHandlerStub$6;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {p2, 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 bridge synthetic onError(Ljava/lang/Object;I)V
    .registers 3

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

    invoke-virtual {p0, p1, p2}, Lio/rong/imlib/LibHandlerStub$6;->onError(Lio/rong/imlib/model/Message;I)V

    return-void
.end method

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

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

    if-eqz v0, :cond_e

    .line 3
    :try_start_4
    invoke-interface {v0, p1}, Lio/rong/imlib/ISendMessageCallback;->onSuccess(Lio/rong/imlib/model/Message;)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 4
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$6;->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 bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

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

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

    return-void
.end method