com.iteaj.iot.client.mqtt.gateway.adapter.MqttGatewayJsonHandle Maven / Gradle / Ivy
package com.iteaj.iot.client.mqtt.gateway.adapter;
import com.iteaj.iot.Protocol;
import com.iteaj.iot.client.mqtt.gateway.MqttGatewayHandle;
/**
* 发布json格式的数据
* @param
*/
public interface MqttGatewayJsonHandle extends MqttGatewayHandle {
/**
* @param protocol
* @return 返回的对象将格式化成json格式然后进行发布
*/
@Override
Object handle(T protocol);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy