groovyx.gpars.remote.netty
Class RemoteObjectDecoder
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.frame.FrameDecoder
org.jboss.netty.handler.codec.serialization.ObjectDecoder
groovyx.gpars.remote.netty.RemoteObjectDecoder
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
@ChannelPipelineCoverage(value="one")
public class RemoteObjectDecoder
- extends org.jboss.netty.handler.codec.serialization.ObjectDecoder
Method Summary |
protected java.lang.Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer)
|
Methods inherited from class org.jboss.netty.handler.codec.frame.FrameDecoder |
decodeLast, exceptionCaught, channelClosed, channelDisconnected, messageReceived |
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
handleUpstream, channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
private final RemoteConnection connection
RemoteObjectDecoder
public RemoteObjectDecoder(RemoteConnection connection)
- Creates a new encoder.
- Parameters:
connection
- connection handling serialization details
decode
protected java.lang.Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer)
throws java.lang.Exception
- Overrides:
decode
in class org.jboss.netty.handler.codec.serialization.ObjectDecoder
- Throws:
java.lang.Exception