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) |
org.springframework.web.socket.WebSocketSession |
getWebSocketSession() |
void |
handleResponse(Response<com.google.gson.JsonElement> response) |
protected void |
sendRequestWebSocket(Request<? extends Object> request,
Class<com.google.gson.JsonElement> resultClass,
Continuation<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, setTransportIdequals, getRegisterInfo, getSessionId, hashCode, isNew, setNew, setRegisterInfo, setSessionIdpublic WebSocketServerSession(String sessionId, Object registerInfo, SessionsManager sessionsManager, org.springframework.web.socket.WebSocketSession wsSession)
protected void sendRequestWebSocket(Request<? extends Object> request, Class<com.google.gson.JsonElement> resultClass, Continuation<Response<com.google.gson.JsonElement>> continuation)
public void handleResponse(Response<com.google.gson.JsonElement> response)
handleResponse in class ServerSessionpublic void close()
throws IOException
close in interface Sessionclose in class ServerSessionIOExceptionpublic void updateWebSocketSession(org.springframework.web.socket.WebSocketSession wsSession)
public void closeNativeSession(String reason)
closeNativeSession in class ServerSessionpublic org.springframework.web.socket.WebSocketSession getWebSocketSession()
Copyright © 2018 Kurento. All rights reserved.