@ChannelHandler.Sharable
public class RemoteObjectEncoder
extends org.jboss.netty.handler.codec.serialization.ObjectEncoder
| Modifier and Type | Field and Description | 
|---|---|
private RemoteConnection | 
connection  | 
| Constructor and Description | 
|---|
RemoteObjectEncoder(RemoteConnection connection)
Creates a new encoder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.Object | 
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
      org.jboss.netty.channel.Channel channel,
      java.lang.Object msg)  | 
private final RemoteConnection connection
public RemoteObjectEncoder(RemoteConnection connection)
connection - connection handling serialization detailsprotected java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
                      org.jboss.netty.channel.Channel channel,
                      java.lang.Object msg)
                           throws java.lang.Exception
encode in class org.jboss.netty.handler.codec.serialization.ObjectEncoderjava.lang.Exception