org.infinispan.server.core.transport.netty
Class NettyNoStateDecoder
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.replay.ReplayingDecoder<NoState>
org.infinispan.server.core.transport.netty.NettyNoStateDecoder
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
public class NettyNoStateDecoder
- extends org.jboss.netty.handler.codec.replay.ReplayingDecoder<NoState>
// TODO: Document this
- Author:
- Galder ZamarreƱo
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
Method Summary |
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext nCtx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer nBuffer,
NoState state)
|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
|
Methods inherited from class org.jboss.netty.handler.codec.replay.ReplayingDecoder |
actualReadableBytes, channelClosed, channelDisconnected, checkpoint, checkpoint, decodeLast, getState, messageReceived, setState |
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyNoStateDecoder
public NettyNoStateDecoder(NoStateDecoder decoder)
decode
protected Object decode(org.jboss.netty.channel.ChannelHandlerContext nCtx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer nBuffer,
NoState state)
throws Exception
- Specified by:
decode
in class org.jboss.netty.handler.codec.replay.ReplayingDecoder<NoState>
- Throws:
Exception
exceptionCaught
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
- Overrides:
exceptionCaught
in class org.jboss.netty.handler.codec.replay.ReplayingDecoder<NoState>
- Throws:
Exception
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.