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, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, isSharablepublic 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.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2020 OpenDaylight. All rights reserved.