sgipsocketconnection$1$receivethread1.java

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

JAVA
45 行
字号
// 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 ReceiveThread1 extends WatchThread
{

    public void task()
    {
        try
        {
            if(SGIPSocketConnection.access$0(SGIPSocketConnection.this) == null)
            {
                PMessage m = in.read();
                if(m != null && m != null)
                    onReceive(m);
            }
        }
        catch(IOException ex)
        {
            setError(explain(ex));
            if(SGIPSocketConnection.access$0(SGIPSocketConnection.this) == SGIPSocketConnection.RECEIVE_TIMEOUT)
            {
                setError(null);
                onReadTimeOut();
            }
        }
    }

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

⌨️ 快捷键说明

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