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;
| }
|
|