vince
2023-11-15 6cfe7b4094c1babbedfd6332e9f759c091beaae6
src/main/java/com/fzzy/gateway/api/GatewayRemoteService.java
@@ -1,6 +1,5 @@
package com.fzzy.gateway.api;
import com.fzzy.gateway.data.GatewayResponse;
import com.fzzy.gateway.entity.GatewayConf;
@@ -15,11 +14,21 @@
    /**
     * 数据推送
     *
     * @param conf 参数
     * 网关设备初始化
     * @param gatewayConf
     */
    public GatewayResponse authorize(GatewayConf conf);
    void init(GatewayConf gatewayConf);
    /**
     * 网关设备心跳维持
     * @param gatewayConf
     */
    void heartbeat(GatewayConf gatewayConf);
    /**
     * 网关设备信息上报
     * @param gatewayConf
     */
    void pushInfo(GatewayConf gatewayConf);
}