public final class MemcachedCommandDecoder
extends io.netty.channel.ChannelInboundHandlerAdapter
Constructor and Description |
---|
MemcachedCommandDecoder(SessionStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
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.
|
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public MemcachedCommandDecoder(SessionStatus status)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
ctx
- netty channel handler contextmsg
- the netty event that corresponds to the messageException
Copyright © GigaSpaces.