ConnectionService$6.smali

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

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/ConnectionService;->setIpcConnectTimeOut()V
.end annotation

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


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


# direct methods
.method constructor <init>(Lio/rong/imlib/ConnectionService;)V
    .registers 2

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

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

    return-void
.end method


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

    .line 1
    iget-object v0, p0, Lio/rong/imlib/ConnectionService$6;->this$0:Lio/rong/imlib/ConnectionService;

    # getter for: Lio/rong/imlib/ConnectionService;->mConnectionState:Lio/rong/imlib/ConnectionState;
    invoke-static {v0}, Lio/rong/imlib/ConnectionService;->access$700(Lio/rong/imlib/ConnectionService;)Lio/rong/imlib/ConnectionState;

    move-result-object v0

    invoke-virtual {v0}, Lio/rong/imlib/ConnectionState;->getCurrentStatus()Lio/rong/imlib/RongIMClient$ConnectionStatusListener$ConnectionStatus;

    move-result-object v0

    sget-object v1, Lio/rong/imlib/RongIMClient$ConnectionStatusListener$ConnectionStatus;->CONNECTED:Lio/rong/imlib/RongIMClient$ConnectionStatusListener$ConnectionStatus;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_30

    const-string v0, "ConnectionService"

    const-string v1, "IM \u91cd\u8fde\u8d85\u65f6\uff0c\u5c06\u4e0d\u4f1a\u7ee7\u7eed\u8fde\u63a5"

    .line 2
    invoke-static {v0, v1}, Lio/rong/common/rlog/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

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

    sget-object v1, Lio/rong/imlib/RongIMClient$ErrorCode;->RC_CONNECT_TIMEOUT:Lio/rong/imlib/RongIMClient$ErrorCode;

    invoke-virtual {v1}, Lio/rong/imlib/RongIMClient$ErrorCode;->getValue()I

    move-result v1

    const/4 v2, -0x1

    invoke-virtual {v0, v1, v2}, Lio/rong/imlib/ConnectionService;->disposeReconnectByErrorCode(II)Z

    .line 4
    iget-object v0, p0, Lio/rong/imlib/ConnectionService$6;->this$0:Lio/rong/imlib/ConnectionService;

    sget-object v1, Lio/rong/imlib/RongIMClient$ErrorCode;->RC_CONNECT_TIMEOUT:Lio/rong/imlib/RongIMClient$ErrorCode;

    invoke-virtual {v1}, Lio/rong/imlib/RongIMClient$ErrorCode;->getValue()I

    move-result v1

    # invokes: Lio/rong/imlib/ConnectionService;->responseConnectErrorBlock(I)V
    invoke-static {v0, v1}, Lio/rong/imlib/ConnectionService;->access$800(Lio/rong/imlib/ConnectionService;I)V

    :cond_30
    return-void
.end method