cn.wizzer.iot.mqtt.server.common.session.ISessionStoreService Maven / Gradle / Ivy
/**
* Copyright (c) 2018, Mr.Wang ([email protected]) All rights reserved.
*/
package cn.wizzer.iot.mqtt.server.common.session;
/**
* 会话存储服务接口
*/
public interface ISessionStoreService {
/**
* 存储会话
*/
void put(String clientId, SessionStore sessionStore);
/**
* 获取会话
*/
SessionStore get(String clientId);
/**
* clientId的会话是否存在
*/
boolean containsKey(String clientId);
/**
* 删除会话
*/
void remove(String clientId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy