@UnstableApi public class BinaryMemcacheResponseDecoder extends AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>
ByteToMessageDecoder.CumulatorChannelHandler.SharableDEFAULT_MAX_CHUNK_SIZECOMPOSITE_CUMULATOR, MERGE_CUMULATOR| Constructor and Description |
|---|
BinaryMemcacheResponseDecoder() |
BinaryMemcacheResponseDecoder(int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected BinaryMemcacheResponse |
buildInvalidMessage()
当传入分析失败时,Helper方法创建上游消息。
|
protected BinaryMemcacheResponse |
decodeHeader(ByteBuf in)
解码并返回解析的 BinaryMemcacheMessage 。
|
channelInactive, decode, resetDecoderactualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAddedpublic BinaryMemcacheResponseDecoder()
public BinaryMemcacheResponseDecoder(int chunkSize)
protected BinaryMemcacheResponse decodeHeader(ByteBuf in)
AbstractBinaryMemcacheDecoder
BinaryMemcacheMessage 。
decodeHeader在课程
AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>
in - 传入缓冲区。
protected BinaryMemcacheResponse buildInvalidMessage()
AbstractBinaryMemcacheDecoder
buildInvalidMessage在课堂上
AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>
Copyright © 2008–2018 The Netty Project. All rights reserved.