package com.cmvr.framework.websocket.handler;

import com.cmvr.framework.websocket.message.WSMessage;
import org.springframework.web.socket.WebSocketSession;

/**
 * 消息分发处理器接口
 */
public interface WSMessageHandler<T extends WSMessage> {
    void handle(WebSocketSession session, T message) throws Exception;
}
