xiaoyong931011
2021-03-26 7ddacd5fe4e7e3a889fc79fa2098f7ef4e00bda7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.xcong.excoin.monitor.service;
 
import com.xcong.excoin.monitor.entity.ActiveUser;
 
import java.util.List;
 
/**
 * @author MrBird
 */
public interface ISessionService {
 
    /**
     * 获取在线用户列表
     *
     * @param username 用户名
     * @return List<ActiveUser>
     */
    List<ActiveUser> list(String username);
 
    /**
     * 踢出用户
     *
     * @param sessionId sessionId
     */
    void forceLogout(String sessionId);
}