📄 psocketconnection$1$heartbeatthread.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: PSocketConnection.java
package com.huawei.insa2.comm;
import com.huawei.insa2.util.WatchThread;
import java.io.IOException;
// Referenced classes of package com.huawei.insa2.comm:
// PSocketConnection
class HeartbeatThread extends WatchThread
{
public void task()
{
try
{
Thread.sleep(heartbeatInterval);
}
catch(InterruptedException interruptedexception) { }
if(PSocketConnection.access$0(PSocketConnection.this) == null && out != null)
try
{
heartbeat();
}
catch(IOException ex)
{
setError(String.valueOf(PSocketConnection.SEND_ERROR) + String.valueOf(explain(ex)));
}
}
public HeartbeatThread()
{
super(String.valueOf(String.valueOf(name)).concat("-heartbeat"));
setState(PSocketConnection.HEARTBEATING);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -