xin.alum.aim.groups.ClusterFactory Maven / Gradle / Ivy
package xin.alum.aim.groups;
import xin.alum.aim.model.Transportable;
/**
* 集群处理工厂
*
* @auther Alum(alum @ live.cn)
* @date 2021/8/17 19:26
*/
public interface ClusterFactory {
/**
* 互踢
*
* @param session
*/
void kick(Session session);
/**
* 推送
*
* @param reply
*/
void push(String recipient, Transportable reply);
}