public final class MemcachedFrameDecoder
extends org.jboss.netty.handler.codec.frame.FrameDecoder
Constructor and Description |
---|
MemcachedFrameDecoder(SessionStatus status,
int maxFrameLength)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer) |
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, cleanup, decodeLast, exceptionCaught, extractFrame, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, internalBuffer, isUnfold, messageReceived, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulation
public MemcachedFrameDecoder(SessionStatus status, int maxFrameLength)
status
- session status instance for holding state of the sessionmaxFrameLength
- the maximum length of the decoded frame. A TooLongFrameException
is thrown if
frame length is exceededCopyright © GigaSpaces.