public class JsonRpcWebSocketHandler
extends org.springframework.web.socket.handler.TextWebSocketHandler
Modifier and Type | Class and Description |
---|---|
class |
JsonRpcWebSocketHandler.MaxNumberWsConnectionsReachedException |
Constructor and Description |
---|
JsonRpcWebSocketHandler(ProtocolManager protocolManager) |
Modifier and Type | Method and Description |
---|---|
void |
afterConnectionClosed(org.springframework.web.socket.WebSocketSession wsSession,
org.springframework.web.socket.CloseStatus status) |
void |
afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session) |
void |
handleTextMessage(org.springframework.web.socket.WebSocketSession wsSession,
org.springframework.web.socket.TextMessage message) |
void |
handleTransportError(org.springframework.web.socket.WebSocketSession session,
Throwable exception) |
void |
setLabel(String label) |
handleBinaryMessage
public JsonRpcWebSocketHandler(ProtocolManager protocolManager)
public void setLabel(String label)
public void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session) throws Exception
afterConnectionEstablished
in interface org.springframework.web.socket.WebSocketHandler
afterConnectionEstablished
in class org.springframework.web.socket.handler.AbstractWebSocketHandler
Exception
public void afterConnectionClosed(org.springframework.web.socket.WebSocketSession wsSession, org.springframework.web.socket.CloseStatus status) throws Exception
afterConnectionClosed
in interface org.springframework.web.socket.WebSocketHandler
afterConnectionClosed
in class org.springframework.web.socket.handler.AbstractWebSocketHandler
Exception
public void handleTransportError(org.springframework.web.socket.WebSocketSession session, Throwable exception) throws Exception
handleTransportError
in interface org.springframework.web.socket.WebSocketHandler
handleTransportError
in class org.springframework.web.socket.handler.AbstractWebSocketHandler
Exception
Copyright © 2017 Kurento. All rights reserved.