Groovy Documentation

gpars.remote.netty
[Java] Class RemoteObjectDecoder

java.lang.Object
  org.jboss.netty.channel.SimpleChannelUpstreamHandler
      org.jboss.netty.handler.codec.frame.FrameDecoder
          org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder
              org.jboss.netty.handler.codec.serialization.ObjectDecoder
                  gpars.remote.netty.RemoteObjectDecoder

@ChannelPipelineCoverage("one")
public class RemoteObjectDecoder
extends org.jboss.netty.handler.codec.serialization.ObjectDecoder

Constructor Summary
RemoteObjectDecoder(RemoteConnection connection)

Creates a new encoder.

 
Method Summary
protected 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.serialization.ObjectDecoder
org.jboss.netty.handler.codec.serialization.ObjectDecoder#messageReceived(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.MessageEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ExceptionEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelClosed(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#handleUpstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelOpen(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelBound(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelConnected(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelInterestChanged(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#channelUnbound(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#writeComplete(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.WriteCompletionEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChildChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChildChannelStateEvent), org.jboss.netty.handler.codec.serialization.ObjectDecoder#wait(long), org.jboss.netty.handler.codec.serialization.ObjectDecoder#wait(long, int), org.jboss.netty.handler.codec.serialization.ObjectDecoder#wait(), org.jboss.netty.handler.codec.serialization.ObjectDecoder#equals(java.lang.Object), org.jboss.netty.handler.codec.serialization.ObjectDecoder#toString(), org.jboss.netty.handler.codec.serialization.ObjectDecoder#hashCode(), org.jboss.netty.handler.codec.serialization.ObjectDecoder#getClass(), org.jboss.netty.handler.codec.serialization.ObjectDecoder#notify(), org.jboss.netty.handler.codec.serialization.ObjectDecoder#notifyAll()
 
Methods inherited from class org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder
org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#messageReceived(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.MessageEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ExceptionEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelClosed(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#handleUpstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelOpen(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelBound(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelConnected(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelInterestChanged(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#channelUnbound(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#writeComplete(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.WriteCompletionEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChildChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChildChannelStateEvent), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#wait(long), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#wait(long, int), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#wait(), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#equals(java.lang.Object), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#toString(), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#hashCode(), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#getClass(), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#notify(), org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder#notifyAll()
 

Constructor Detail

RemoteObjectDecoder

public RemoteObjectDecoder(RemoteConnection connection)
Creates a new encoder.
Parameters:
connection - connection handling serialization details


 
Method Detail

decode

@Override
protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer buffer)


 

Groovy Documentation