OvsdbRPC.Callback
REGISTER_CALLBACK_METHOD
Constructor and Description |
---|
JsonRpcEndpoint(io.netty.channel.Channel channel) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Response> |
cancel(String id) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
static void |
close() |
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_cancel(Params jsonValue) |
com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> |
monitor(Params equest) |
boolean |
registerCallback(OvsdbRPC.Callback callback) |
static void |
setReaperInterval(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) |
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public static void setReaperInterval(int interval)
public static void close()
public com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> get_schema(List<String> dbNames)
get_schema
in interface OvsdbRPC
public com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> monitor(Params equest)
public com.google.common.util.concurrent.ListenableFuture<List<com.fasterxml.jackson.databind.JsonNode>> transact(TransactBuilder transact)
public com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> monitor_cancel(Params jsonValue)
monitor_cancel
in interface OvsdbRPC
public boolean registerCallback(OvsdbRPC.Callback callback)
registerCallback
in interface OvsdbRPC
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2019 OpenDaylight. All rights reserved.