public class ServerJsonRpcHandler
extends org.kurento.jsonrpc.DefaultJsonRpcHandler<com.google.gson.JsonObject>
| Constructor and Description |
|---|
ServerJsonRpcHandler() |
| Modifier and Type | Method and Description |
|---|---|
Notification |
getNotification()
Blocks until an element is available and then returns it by removing it
from the queue.
|
void |
handleRequest(org.kurento.jsonrpc.Transaction transaction,
org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request) |
afterConnectionClosed, afterConnectionEstablished, allowedOrigins, getHandlerType, getLabel, handleTransportError, handleUncaughtException, isPingWatchdog, isSockJSEnabled, withAllowedOrigins, withLabel, withPingWatchdog, withSockJSpublic void handleRequest(org.kurento.jsonrpc.Transaction transaction,
org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request)
throws Exception
Exceptionpublic Notification getNotification()
Notification from the queue, null when interruptedBlockingQueue.take()Copyright © 2015 Kurento. All rights reserved.