提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.framework.websocket.core.sender.redis; |
H |
2 |
|
|
3 |
import com.iailab.framework.mq.redis.core.pubsub.AbstractRedisChannelMessage; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
/** |
|
7 |
* Redis 广播 WebSocket 的消息 |
|
8 |
*/ |
|
9 |
@Data |
|
10 |
public class RedisWebSocketMessage extends AbstractRedisChannelMessage { |
|
11 |
|
|
12 |
/** |
|
13 |
* Session 编号 |
|
14 |
*/ |
|
15 |
private String sessionId; |
|
16 |
/** |
|
17 |
* 用户类型 |
|
18 |
*/ |
|
19 |
private Integer userType; |
|
20 |
/** |
|
21 |
* 用户编号 |
|
22 |
*/ |
|
23 |
private Long userId; |
|
24 |
|
|
25 |
/** |
|
26 |
* 消息类型 |
|
27 |
*/ |
|
28 |
private String messageType; |
|
29 |
/** |
|
30 |
* 消息内容 |
|
31 |
*/ |
|
32 |
private String messageContent; |
|
33 |
|
|
34 |
} |