sgipsocketconnection$1$receivethread.java

来自「华为java接口反编译结果!其中包含其所有接口实现过程」· Java 代码 · 共 46 行

JAVA
46 行
字号
// 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:   SGIPSocketConnection.java

package com.huawei.insa2.comm.sgip;

import com.huawei.insa2.comm.*;
import com.huawei.insa2.util.WatchThread;
import java.io.IOException;

// Referenced classes of package com.huawei.insa2.comm.sgip:
//            SGIPSocketConnection

class ReceiveThread extends WatchThread
{

    public void task()
    {
        try
        {
            if(SGIPSocketConnection.access$0(SGIPSocketConnection.this) == null)
            {
                PMessage m = in.read();
                if(m != null && m != null)
                    onReceive(m);
            } else
            {
                if(SGIPSocketConnection.access$0(SGIPSocketConnection.this) != SGIPSocketConnection.NOT_INIT)
                    try
                    {
                        Thread.sleep(reconnectInterval);
                    }
                    catch(InterruptedException interruptedexception) { }
                connect();
            }
        }
        catch(IOException ioexception) { }
    }

    public ReceiveThread()
    {
        super(String.valueOf(String.valueOf(name)).concat("-receive"));
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?