public final class MemcachedCommandDecoder
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Constructor and Description |
---|
MemcachedCommandDecoder(SessionStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext channelHandlerContext,
org.jboss.netty.channel.MessageEvent messageEvent)
Process an inbound string from the pipeline's downstream, and depending on the state (waiting
for data or processing commands), turn them into the correct type of command.
|
public MemcachedCommandDecoder(SessionStatus status)
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext channelHandlerContext, org.jboss.netty.channel.MessageEvent messageEvent) throws Exception
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelHandlerContext
- netty channel handler contextmessageEvent
- the netty event that corresponds to the messageException
Copyright © GigaSpaces.