com.healthy.common.websocket.distribute.LocalMessageDistributor Maven / Gradle / Ivy
package com.healthy.common.websocket.distribute;
import com.healthy.common.websocket.session.WebSocketSessionStore;
/**
* 本地消息分发,直接进行发送
*
* @author xm.z
*/
public class LocalMessageDistributor extends AbstractMessageDistributor {
public LocalMessageDistributor(WebSocketSessionStore webSocketSessionStore) {
super(webSocketSessionStore);
}
/**
* 消息分发
* @param messageDO 发送的消息
*/
@Override
public void distribute(MessageDO messageDO) {
doSend(messageDO);
}
}