73 lines
1.9 KiB
Smali
73 lines
1.9 KiB
Smali
.class Lcom/vilyever/socketclient/SocketClient$5;
|
|
.super Landroid/os/CountDownTimer;
|
|
.source "SocketClient.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vilyever/socketclient/SocketClient;->getHearBeatCountDownTimer()Landroid/os/CountDownTimer;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/vilyever/socketclient/SocketClient;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/vilyever/socketclient/SocketClient;JJ)V
|
|
.locals 0
|
|
|
|
.line 449
|
|
iput-object p1, p0, Lcom/vilyever/socketclient/SocketClient$5;->this$0:Lcom/vilyever/socketclient/SocketClient;
|
|
|
|
invoke-direct {p0, p2, p3, p4, p5}, Landroid/os/CountDownTimer;-><init>(JJ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onFinish()V
|
|
.locals 1
|
|
|
|
.line 462
|
|
iget-object v0, p0, Lcom/vilyever/socketclient/SocketClient$5;->this$0:Lcom/vilyever/socketclient/SocketClient;
|
|
|
|
iget-object v0, v0, Lcom/vilyever/socketclient/SocketClient;->self:Lcom/vilyever/socketclient/SocketClient;
|
|
|
|
invoke-virtual {v0}, Lcom/vilyever/socketclient/SocketClient;->isConnected()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 463
|
|
invoke-virtual {p0}, Lcom/vilyever/socketclient/SocketClient$5;->start()Landroid/os/CountDownTimer;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTick(J)V
|
|
.locals 0
|
|
|
|
.line 452
|
|
new-instance p1, Ljava/lang/Thread;
|
|
|
|
new-instance p2, Lcom/vilyever/socketclient/SocketClient$5$1;
|
|
|
|
invoke-direct {p2, p0}, Lcom/vilyever/socketclient/SocketClient$5$1;-><init>(Lcom/vilyever/socketclient/SocketClient$5;)V
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V
|
|
|
|
.line 457
|
|
invoke-virtual {p1}, Ljava/lang/Thread;->start()V
|
|
|
|
return-void
|
|
.end method
|