BaseSocket$1.smali

.class Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket;->receive(Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket;

.field final synthetic val$socket:Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection;


# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket;Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection;)V
    .registers 3

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket;

    iput-object p2, p0, Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1;->val$socket:Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection;

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

    return-void
.end method


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

    :try_start_0
    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1;->val$socket:Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection;

    new-instance v1, Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1$1;

    invoke-direct {v1, p0}, Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1$1;-><init>(Lcom/cmcm/xiaobao/phone/smarthome/socket/data/BaseSocket$1;)V

    invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection;->receive(Lcom/cmcm/xiaobao/phone/smarthome/socket/data/SocketConnection$GetMessageListener;)V
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_a} :catch_b

    :goto_a
    return-void

    :catch_b
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_a
.end method