vince
2024-01-16 236cf59aae727d304487676413c4337f73b16e67
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,33 @@
    /**
     * 数据推送
     * 网关设备初始化
     *
     * @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);
    /**
     * 获取当前网关下的设备列表,并上报设备状态
     *
     * @param gatewayConf
     */
    void pushDeviceStatus(GatewayConf gatewayConf);
}