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) |
channelClosed, channelDisconnected, decodeLast, exceptionCaught, messageReceived
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.