org.codehaus.gpars

groovyx.gpars.remote.netty
[Java] Class RemoteObjectEncoder

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

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

Field Summary
private RemoteConnection connection

 
Constructor Summary
RemoteObjectEncoder(RemoteConnection connection)

Creates a new encoder.

 
Method Summary
protected java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, java.lang.Object msg)

 
Methods inherited from class org.jboss.netty.handler.codec.serialization.ObjectEncoder
org.jboss.netty.handler.codec.serialization.ObjectEncoder#handleDownstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent), org.jboss.netty.handler.codec.serialization.ObjectEncoder#wait(long), org.jboss.netty.handler.codec.serialization.ObjectEncoder#wait(), org.jboss.netty.handler.codec.serialization.ObjectEncoder#wait(long, int), org.jboss.netty.handler.codec.serialization.ObjectEncoder#equals(java.lang.Object), org.jboss.netty.handler.codec.serialization.ObjectEncoder#toString(), org.jboss.netty.handler.codec.serialization.ObjectEncoder#hashCode(), org.jboss.netty.handler.codec.serialization.ObjectEncoder#getClass(), org.jboss.netty.handler.codec.serialization.ObjectEncoder#notify(), org.jboss.netty.handler.codec.serialization.ObjectEncoder#notifyAll()
 
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
org.jboss.netty.handler.codec.oneone.OneToOneEncoder#handleDownstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#wait(long), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#wait(), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#wait(long, int), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#equals(java.lang.Object), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#toString(), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#hashCode(), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#getClass(), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#notify(), org.jboss.netty.handler.codec.oneone.OneToOneEncoder#notifyAll()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

connection

private final RemoteConnection connection


 
Constructor Detail

RemoteObjectEncoder

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


 
Method Detail

encode

@Override
protected java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, java.lang.Object msg)


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.