Groovy Documentation

gpars.remote.netty
Class RemoteObjectEncoder

java.lang.Object
  org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      org.jboss.netty.handler.codec.serialization.ObjectEncoder
          gpars.remote.netty.RemoteObjectEncoder

@ChannelPipelineCoverage("one")
class RemoteObjectEncoder
extends org.jboss.netty.handler.codec.serialization.ObjectEncoder

Constructor Summary
RemoteObjectEncoder(RemoteConnection connection)

Creates a new encoder.

 
Method Summary
protected Object encode(ChannelHandlerContext ctx, Channel channel, Object msg)

 
Methods inherited from class org.jboss.netty.handler.codec.serialization.ObjectEncoder
handleDownstream, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
handleDownstream, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

RemoteObjectEncoder

public RemoteObjectEncoder(RemoteConnection connection)
Creates a new encoder.
param:
connection connection handling serialization details


 
Method Detail

encode

@Override
protected Object encode(ChannelHandlerContext ctx, Channel channel, Object msg)


 

Groovy Documentation