今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.9 KiB

.class Lcom/viatech/util/AppServerTCPClient$2;
.super Ljava/lang/Object;
.source "AppServerTCPClient.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/util/AppServerTCPClient;->disconnect()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/util/AppServerTCPClient;
# direct methods
.method constructor <init>(Lcom/viatech/util/AppServerTCPClient;)V
.locals 0
.prologue
.line 129
iput-object p1, p0, Lcom/viatech/util/AppServerTCPClient$2;->this$0:Lcom/viatech/util/AppServerTCPClient;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
.prologue
.line 132
iget-object v0, p0, Lcom/viatech/util/AppServerTCPClient$2;->this$0:Lcom/viatech/util/AppServerTCPClient;
invoke-static {v0}, Lcom/viatech/util/AppServerTCPClient;->access$000(Lcom/viatech/util/AppServerTCPClient;)Ljava/net/Socket;
move-result-object v0
if-eqz v0, :cond_0
.line 134
:try_start_0
iget-object v0, p0, Lcom/viatech/util/AppServerTCPClient$2;->this$0:Lcom/viatech/util/AppServerTCPClient;
invoke-static {v0}, Lcom/viatech/util/AppServerTCPClient;->access$000(Lcom/viatech/util/AppServerTCPClient;)Ljava/net/Socket;
move-result-object v0
invoke-virtual {v0}, Ljava/net/Socket;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.line 139
:goto_0
iget-object v0, p0, Lcom/viatech/util/AppServerTCPClient$2;->this$0:Lcom/viatech/util/AppServerTCPClient;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/viatech/util/AppServerTCPClient;->access$002(Lcom/viatech/util/AppServerTCPClient;Ljava/net/Socket;)Ljava/net/Socket;
.line 141
:cond_0
iget-object v0, p0, Lcom/viatech/util/AppServerTCPClient$2;->this$0:Lcom/viatech/util/AppServerTCPClient;
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/viatech/util/AppServerTCPClient;->mConnected:Z
.line 142
return-void
.line 135
:catch_0
move-exception v0
.line 136
const-string v1, "AppServerTCPClient"
const-string v2, "Error while disconnecting"
invoke-static {v1, v2, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
.line 137
iget-object v1, p0, Lcom/viatech/util/AppServerTCPClient$2;->this$0:Lcom/viatech/util/AppServerTCPClient;
invoke-static {v1}, Lcom/viatech/util/AppServerTCPClient;->access$600(Lcom/viatech/util/AppServerTCPClient;)Lcom/viatech/util/AppServerTCPClient$Listener;
move-result-object v1
invoke-interface {v1, v0}, Lcom/viatech/util/AppServerTCPClient$Listener;->onError(Ljava/lang/Exception;)V
goto :goto_0
.end method