CustomServiceManager$5.smali

.class Lio/rong/imlib/cs/CustomServiceManager$5;
.super Ljava/lang/Object;
.source "CustomServiceManager.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/cs/CustomServiceManager;->onReceived(Lio/rong/imlib/model/Message;IZI)Z
.end annotation

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


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

.field final synthetic val$csHandShakeResponseMessage:Lio/rong/message/CSHandShakeResponseMessage;

.field final synthetic val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;


# direct methods
.method constructor <init>(Lio/rong/imlib/cs/CustomServiceManager;Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;Lio/rong/message/CSHandShakeResponseMessage;)V
    .registers 4

    .line 1
    iput-object p1, p0, Lio/rong/imlib/cs/CustomServiceManager$5;->this$0:Lio/rong/imlib/cs/CustomServiceManager;

    iput-object p2, p0, Lio/rong/imlib/cs/CustomServiceManager$5;->val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;

    iput-object p3, p0, Lio/rong/imlib/cs/CustomServiceManager$5;->val$csHandShakeResponseMessage:Lio/rong/message/CSHandShakeResponseMessage;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/cs/CustomServiceManager$5;->val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;

    iget-object v0, v0, Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;->customServiceListener:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lio/rong/imlib/ICustomServiceListener;

    if-eqz v0, :cond_15

    .line 2
    iget-object v1, p0, Lio/rong/imlib/cs/CustomServiceManager$5;->val$csHandShakeResponseMessage:Lio/rong/message/CSHandShakeResponseMessage;

    invoke-virtual {v1}, Lio/rong/message/CSHandShakeResponseMessage;->getMode()Lio/rong/imlib/model/CustomServiceMode;

    move-result-object v1

    invoke-interface {v0, v1}, Lio/rong/imlib/ICustomServiceListener;->onModeChanged(Lio/rong/imlib/model/CustomServiceMode;)V

    :cond_15
    return-void
.end method