Class JsonRpcEndpoint
- java.lang.Object
 - 
- io.netty.channel.ChannelHandlerAdapter
 - 
- io.netty.channel.ChannelInboundHandlerAdapter
 - 
- org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint
 
 
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable 
- 
Nested classes/interfaces inherited from interface org.opendaylight.ovsdb.lib.message.OvsdbRPC
OvsdbRPC.Callback 
 - 
 
- 
Field Summary
- 
Fields inherited from interface org.opendaylight.ovsdb.lib.message.OvsdbRPC
REGISTER_CALLBACK_METHOD 
 - 
 
- 
Constructor Summary
Constructors Constructor Description JsonRpcEndpoint(io.netty.channel.Channel channel) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Response>cancel(String id)voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)voidchannelReadComplete(io.netty.channel.ChannelHandlerContext ctx)static voidclose()com.google.common.util.concurrent.ListenableFuture<List<String>>echo()com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode>get_schema(List<String> dbNames)com.google.common.util.concurrent.ListenableFuture<List<String>>list_dbs()com.google.common.util.concurrent.ListenableFuture<Object>lock(List<String> id)com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode>monitor(Params equest)com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode>monitor_cancel(Params jsonValue)booleanregisterCallback(OvsdbRPC.Callback callback)static voidsetReaperInterval(int interval)com.google.common.util.concurrent.ListenableFuture<Object>steal(List<String> id)com.google.common.util.concurrent.ListenableFuture<List<com.fasterxml.jackson.databind.JsonNode>>transact(TransactBuilder transact)com.google.common.util.concurrent.ListenableFuture<Object>unlock(List<String> id)- 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered 
- 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setReaperInterval
public static void setReaperInterval(int interval)
 
- 
close
public static void close()
 
- 
get_schema
public com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> get_schema(List<String> dbNames)
- Specified by:
 get_schemain interfaceOvsdbRPC
 
- 
monitor
public com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> monitor(Params equest)
 
- 
transact
public com.google.common.util.concurrent.ListenableFuture<List<com.fasterxml.jackson.databind.JsonNode>> transact(TransactBuilder transact)
 
- 
monitor_cancel
public com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> monitor_cancel(Params jsonValue)
- Specified by:
 monitor_cancelin interfaceOvsdbRPC
 
- 
registerCallback
public boolean registerCallback(OvsdbRPC.Callback callback)
- Specified by:
 registerCallbackin interfaceOvsdbRPC
 
- 
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception- Specified by:
 channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 channelReadin classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
 Exception
 
- 
channelReadComplete
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
- Specified by:
 channelReadCompletein interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 channelReadCompletein classio.netty.channel.ChannelInboundHandlerAdapter
 
 - 
 
 -