public class BinaryMemcacheResponseDecoder extends AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>
ByteToMessageDecoder.CumulatorChannelHandler.Sharable, ChannelHandler.SkipDEFAULT_MAX_CHUNK_SIZECOMPOSITE_CUMULATOR, MERGE_CUMULATOR| Constructor and Description |
|---|
BinaryMemcacheResponseDecoder() |
BinaryMemcacheResponseDecoder(int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected BinaryMemcacheResponse |
buildInvalidMessage()
Helper method to create a upstream message when the incoming parsing did fail.
|
protected BinaryMemcacheResponse |
decodeHeader(ByteBuf in)
Decode and return the parsed
BinaryMemcacheMessage. |
channelInactive, decode, resetDecoderactualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setSingleDecodebind, channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, isSharable, read, userEventTriggered, writepublic BinaryMemcacheResponseDecoder()
public BinaryMemcacheResponseDecoder(int chunkSize)
protected BinaryMemcacheResponse decodeHeader(ByteBuf in)
AbstractBinaryMemcacheDecoderBinaryMemcacheMessage.decodeHeader in class AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>in - the incoming buffer.protected BinaryMemcacheResponse buildInvalidMessage()
AbstractBinaryMemcacheDecoderbuildInvalidMessage in class AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>Copyright © 2008–2015 The Netty Project. All rights reserved.