public class UscFrameDecoderTcp
extends io.netty.handler.codec.LengthFieldBasedFrameDecoder
Constructor and Description |
---|
UscFrameDecoderTcp()
Constructs a new UscFrameDecoderTcp
|
Modifier and Type | Method and Description |
---|---|
protected Object |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
protected io.netty.buffer.ByteBuf |
extractFrame(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
int index,
int length) |
decode, getUnadjustedFrameLength
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public UscFrameDecoderTcp()
protected Object decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in) throws Exception
decode
in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
Exception
protected io.netty.buffer.ByteBuf extractFrame(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buffer, int index, int length)
extractFrame
in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
Copyright © 2019 OpenDaylight. All rights reserved.