1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| package com.fzzy.gateway.api;
|
| import com.fzzy.gateway.entity.GatewayConf;
|
|
| public interface GatewayRemoteService {
|
| /**
| * 协议定义
| *
| * @return
| */
| String getProtocol();
|
|
| /**
| * 网关设备初始化
| * @param gatewayConf
| */
| void init(GatewayConf gatewayConf);
|
| /**
| * 网关设备心跳维持
| * @param gatewayConf
| */
| void heartbeat(GatewayConf gatewayConf);
|
|
| /**
| * 网关设备信息上报
| * @param gatewayConf
| */
| void pushInfo(GatewayConf gatewayConf);
| }
|
|