public class BinaryMemcacheResponseDecoder extends AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse,BinaryMemcacheResponseHeader>
ChannelHandler.Sharable, ChannelHandler.SkipDEFAULT_MAX_CHUNK_SIZE| Constructor and Description |
|---|
BinaryMemcacheResponseDecoder() |
BinaryMemcacheResponseDecoder(int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected BinaryMemcacheResponse |
buildMessage(BinaryMemcacheResponseHeader header,
ByteBuf extras,
String key)
Build the complete message, based on the information decoded.
|
protected BinaryMemcacheResponseHeader |
decodeHeader(ByteBuf in)
Decode and return the parsed
BinaryMemcacheMessageHeader. |
channelInactive, decode, resetDecoderactualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecodebind, channelActive, channelRegistered, channelWritabilityChanged, close, connect, disconnect, exceptionCaught, flush, handlerAdded, isSharable, read, userEventTriggered, writepublic BinaryMemcacheResponseDecoder()
public BinaryMemcacheResponseDecoder(int chunkSize)
protected BinaryMemcacheResponseHeader decodeHeader(ByteBuf in)
AbstractBinaryMemcacheDecoderBinaryMemcacheMessageHeader.decodeHeader in class AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse,BinaryMemcacheResponseHeader>in - the incoming buffer.protected BinaryMemcacheResponse buildMessage(BinaryMemcacheResponseHeader header, ByteBuf extras, String key)
AbstractBinaryMemcacheDecoderbuildMessage in class AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse,BinaryMemcacheResponseHeader>header - the header of the message.extras - possible extras.key - possible key.Copyright © 2008–2013 The Netty Project. All rights reserved.