public final class OvsdbJsonRpcHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
OvsdbJsonRpcHandler(org.onosproject.ovsdb.controller.OvsdbNodeId ovsdbNodeId)
Constructor from a OvsdbNodeId ovsdbNodeId.
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause) |
org.onosproject.ovsdb.controller.OvsdbNodeId |
getNodeId()
Gets the OvsdbNodeId instance.
|
org.onosproject.ovsdb.controller.driver.OvsdbProviderService |
getOvsdbProviderService()
Gets the ovsdbProviderService instance.
|
void |
setNodeId(org.onosproject.ovsdb.controller.OvsdbNodeId ovsdbNodeId)
Sets the ovsdb node id.
|
void |
setOvsdbProviderService(org.onosproject.ovsdb.controller.driver.OvsdbProviderService ovsdbNodeDriver)
Sets the ovsdbProviderService instance.
|
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic OvsdbJsonRpcHandler(org.onosproject.ovsdb.controller.OvsdbNodeId ovsdbNodeId)
ovsdbNodeId - the ovsdbNodeId to usepublic org.onosproject.ovsdb.controller.driver.OvsdbProviderService getOvsdbProviderService()
public void setOvsdbProviderService(org.onosproject.ovsdb.controller.driver.OvsdbProviderService ovsdbNodeDriver)
ovsdbNodeDriver - the ovsdbNodeDriver to usepublic org.onosproject.ovsdb.controller.OvsdbNodeId getNodeId()
public void setNodeId(org.onosproject.ovsdb.controller.OvsdbNodeId ovsdbNodeId)
ovsdbNodeId - the ovsdbNodeId to usepublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2015. All rights reserved.