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(OvsdbNodeId ovsdbNodeId)
Constructor from a OvsdbNodeId ovsdbNodeId.
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
java.lang.Throwable cause) |
OvsdbNodeId |
getNodeId()
Gets the OvsdbNodeId instance.
|
OvsdbProviderService |
getOvsdbProviderService()
Gets the ovsdbProviderService instance.
|
void |
setNodeId(OvsdbNodeId ovsdbNodeId)
Sets the ovsdb node id.
|
void |
setOvsdbProviderService(OvsdbProviderService ovsdbNodeDriver)
Sets the ovsdbProviderService instance.
|
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic OvsdbJsonRpcHandler(OvsdbNodeId ovsdbNodeId)
ovsdbNodeId - the ovsdbNodeId to usepublic OvsdbProviderService getOvsdbProviderService()
public void setOvsdbProviderService(OvsdbProviderService ovsdbNodeDriver)
ovsdbNodeDriver - the ovsdbNodeDriver to usepublic OvsdbNodeId getNodeId()
public void setNodeId(OvsdbNodeId ovsdbNodeId)
ovsdbNodeId - the ovsdbNodeId to usepublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
throws java.lang.Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
java.lang.Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapter