Class ChunkedFramingMechanismEncoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
-
- org.opendaylight.netconf.nettyutil.handler.ChunkedFramingMechanismEncoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelOutboundHandler
public class ChunkedFramingMechanismEncoder extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_CHUNK_SIZEstatic intMAX_CHUNK_SIZEstatic intMIN_CHUNK_SIZE
-
Constructor Summary
Constructors Constructor Description ChunkedFramingMechanismEncoder()ChunkedFramingMechanismEncoder(int chunkSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidencode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBuf out)intgetChunkSize()-
Methods inherited from class io.netty.handler.codec.MessageToByteEncoder
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
-
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
DEFAULT_CHUNK_SIZE
public static final int DEFAULT_CHUNK_SIZE
- See Also:
- Constant Field Values
-
MIN_CHUNK_SIZE
public static final int MIN_CHUNK_SIZE
- See Also:
- Constant Field Values
-
MAX_CHUNK_SIZE
public static final int MAX_CHUNK_SIZE
- See Also:
- Constant Field Values
-
-