严智鑫
2025-06-13 d14cdaf28222bfef468185e34de7c823f1436b19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mes.connect.IndustrialInterface;
 
import java.io.IOException;
 
/**
 * 工业通信统一接口 - 服务器模式
 */
public interface IndustrialServer extends AutoCloseable {
    void start() throws IOException;
    void stop();
    boolean isRunning();
    void setDataHandler(IndustrialDataHandler handler);
    
    @Override
    void close() throws IOException;
}