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) |
handleBinaryMessagepublic 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.WebSocketHandlerafterConnectionEstablished in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionpublic void afterConnectionClosed(org.springframework.web.socket.WebSocketSession wsSession,
org.springframework.web.socket.CloseStatus status)
throws Exception
afterConnectionClosed in interface org.springframework.web.socket.WebSocketHandlerafterConnectionClosed in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionpublic void handleTransportError(org.springframework.web.socket.WebSocketSession session,
Throwable exception)
throws Exception
handleTransportError in interface org.springframework.web.socket.WebSocketHandlerhandleTransportError in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionCopyright © 2017 Kurento. All rights reserved.