cn.wizzer.iot.mqtt.server.common.subscribe.ISubscribeStoreService Maven / Gradle / Ivy
/**
* Copyright (c) 2018, Mr.Wang ([email protected]) All rights reserved.
*/
package cn.wizzer.iot.mqtt.server.common.subscribe;
import java.util.List;
/**
* 订阅存储服务接口
*/
public interface ISubscribeStoreService {
/**
* 存储订阅
*/
void put(String topicFilter, SubscribeStore subscribeStore);
/**
* 删除订阅
*/
void remove(String topicFilter, String clientId);
/**
* 删除clientId的订阅
*/
void removeForClient(String clientId);
/**
* 获取订阅存储集
*/
List search(String topic);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy