public class BinaryMemcacheRequestDecoder extends AbstractBinaryMemcacheDecoder<BinaryMemcacheRequest,BinaryMemcacheRequestHeader>
ChannelHandler.Sharable, ChannelHandler.SkipDEFAULT_MAX_CHUNK_SIZE| Constructor and Description |
|---|
BinaryMemcacheRequestDecoder() |
BinaryMemcacheRequestDecoder(int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected BinaryMemcacheRequest |
buildMessage(BinaryMemcacheRequestHeader header,
ByteBuf extras,
String key)
Build the complete message, based on the information decoded.
|
protected BinaryMemcacheRequestHeader |
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 BinaryMemcacheRequestDecoder()
public BinaryMemcacheRequestDecoder(int chunkSize)
protected BinaryMemcacheRequestHeader decodeHeader(ByteBuf in)
AbstractBinaryMemcacheDecoderBinaryMemcacheMessageHeader.decodeHeader in class AbstractBinaryMemcacheDecoder<BinaryMemcacheRequest,BinaryMemcacheRequestHeader>in - the incoming buffer.protected BinaryMemcacheRequest buildMessage(BinaryMemcacheRequestHeader header, ByteBuf extras, String key)
AbstractBinaryMemcacheDecoderbuildMessage in class AbstractBinaryMemcacheDecoder<BinaryMemcacheRequest,BinaryMemcacheRequestHeader>header - the header of the message.extras - possible extras.key - possible key.Copyright © 2008–2013 The Netty Project. All rights reserved.