public class JsonRpcEndpoint extends Object
Modifier and Type | Class and Description |
---|---|
class |
JsonRpcEndpoint.CallContext |
Constructor and Description |
---|
JsonRpcEndpoint(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
io.netty.channel.Channel channel) |
Modifier and Type | Method and Description |
---|---|
static void |
close() |
<T> T |
getClient(Object context,
Class<T> klazz) |
Map<String,JsonRpcEndpoint.CallContext> |
getMethodContext() |
void |
processRequest(Object context,
com.fasterxml.jackson.databind.JsonNode requestJson) |
void |
processResult(com.fasterxml.jackson.databind.JsonNode response) |
static void |
setReaperInterval(int interval) |
public JsonRpcEndpoint(com.fasterxml.jackson.databind.ObjectMapper objectMapper, io.netty.channel.Channel channel)
public void processResult(com.fasterxml.jackson.databind.JsonNode response) throws NoSuchMethodException
NoSuchMethodException
public void processRequest(Object context, com.fasterxml.jackson.databind.JsonNode requestJson)
public Map<String,JsonRpcEndpoint.CallContext> getMethodContext()
public static void setReaperInterval(int interval)
public static void close()
Copyright © 2018 OpenDaylight. All rights reserved.