websocket并发发送消息
This commit is contained in:
parent
5af50a92df
commit
b7b11e4a26
@ -133,7 +133,7 @@ public class NodeMessageHandler extends TextWebSocketHandler {
|
|||||||
* 发送ping消息
|
* 发送ping消息
|
||||||
* @param session
|
* @param session
|
||||||
*/
|
*/
|
||||||
private void SendPingMessage(WebSocketSession session){
|
private void SendPingMessage(ConcurrentWebSocketSessionDecorator session){
|
||||||
try {
|
try {
|
||||||
session.sendMessage(new PingMessage());
|
session.sendMessage(new PingMessage());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user