public class WebSocketServerSession extends ServerSession
SESSION_RECONNECTION_TIME_PROP| Constructor and Description |
|---|
WebSocketServerSession(String sessionId,
Object registerInfo,
SessionsManager sessionsManager,
org.springframework.web.socket.WebSocketSession wsSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeNativeSession(String reason) |
void |
handleResponse(org.kurento.jsonrpc.message.Response<com.google.gson.JsonElement> response) |
protected void |
sendRequestWebSocket(org.kurento.jsonrpc.message.Request<? extends Object> request,
Class<com.google.gson.JsonElement> resultClass,
org.kurento.jsonrpc.client.Continuation<org.kurento.jsonrpc.message.Response<com.google.gson.JsonElement>> continuation) |
void |
updateWebSocketSession(org.springframework.web.socket.WebSocketSession wsSession) |
getAttributes, getCloseTimerTask, getReconnectionTimeoutInMillis, getTransportId, isGracefullyClosed, processRequest, sendNotification, sendNotification, sendNotification, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequestHonorId, sendRequestHonorId, setCloseTimerTask, setGracefullyClosed, setReconnectionTimeout, setRsHelper, setTransportIdpublic WebSocketServerSession(String sessionId, Object registerInfo, SessionsManager sessionsManager, org.springframework.web.socket.WebSocketSession wsSession)
protected void sendRequestWebSocket(org.kurento.jsonrpc.message.Request<? extends Object> request, Class<com.google.gson.JsonElement> resultClass, org.kurento.jsonrpc.client.Continuation<org.kurento.jsonrpc.message.Response<com.google.gson.JsonElement>> continuation)
public void handleResponse(org.kurento.jsonrpc.message.Response<com.google.gson.JsonElement> response)
handleResponse in class ServerSessionpublic void close()
throws IOException
close in interface org.kurento.jsonrpc.Sessionclose in class ServerSessionIOExceptionpublic void updateWebSocketSession(org.springframework.web.socket.WebSocketSession wsSession)
public void closeNativeSession(String reason)
closeNativeSession in class ServerSessionCopyright © 2017 Kurento. All rights reserved.