public class OFFrameDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
Modifier and Type | Field and Description |
---|---|
static byte |
LENGTH_OF_HEADER
Length of OpenFlow header.
|
Constructor and Description |
---|
OFFrameDecoder(ConnectionFacade connectionFacade,
boolean tlsPresent)
Constructor of class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext chc,
io.netty.buffer.ByteBuf bb,
List<Object> list) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged
ensureNotSharable, handlerAdded, isSharable
public static final byte LENGTH_OF_HEADER
public OFFrameDecoder(ConnectionFacade connectionFacade, boolean tlsPresent)
connectionFacade
- ConnectionFacade that will be notified
with ConnectionReadyNotification after TLS has been successfully set up.tlsPresent
- true is TLS is required, false otherwisepublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2020 OpenDaylight. All rights reserved.