public class JsonRpcNotificationService extends Object implements UserNotificationService
UserNotificationService for WebSockets.| Constructor and Description |
|---|
JsonRpcNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
SessionWrapper |
addTransaction(org.kurento.jsonrpc.Transaction t,
org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request) |
void |
closeSession(ParticipantRequest participantRequest) |
org.kurento.jsonrpc.Session |
getSession(String sessionId) |
void |
sendErrorResponse(ParticipantRequest participantRequest,
Object data,
RoomException error) |
void |
sendNotification(String participantId,
String method,
Object params) |
void |
sendResponse(ParticipantRequest participantRequest,
Object result) |
public SessionWrapper addTransaction(org.kurento.jsonrpc.Transaction t, org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request)
public org.kurento.jsonrpc.Session getSession(String sessionId)
public void sendResponse(ParticipantRequest participantRequest, Object result)
sendResponse in interface UserNotificationServicepublic void sendErrorResponse(ParticipantRequest participantRequest, Object data, RoomException error)
sendErrorResponse in interface UserNotificationServicepublic void sendNotification(String participantId, String method, Object params)
sendNotification in interface UserNotificationServicepublic void closeSession(ParticipantRequest participantRequest)
closeSession in interface UserNotificationServiceCopyright © 2015 Kurento. All rights reserved.