All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.healthy.common.websocket.distribute.LocalMessageDistributor Maven / Gradle / Ivy

There is a newer version: 2.0.0-M1
Show newest version
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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy