@ChannelHandler.Sharable
public class RemoteObjectDecoder
extends org.jboss.netty.handler.codec.serialization.ObjectDecoder
Modifier and Type | Field and Description |
---|---|
private RemoteConnection |
connection |
Constructor and Description |
---|
RemoteObjectDecoder(RemoteConnection connection)
Creates a new encoder.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer) |
channelClosed, channelDisconnected, decodeLast, exceptionCaught, messageReceived
private final RemoteConnection connection
public RemoteObjectDecoder(RemoteConnection connection)
connection
- connection handling serialization detailsprotected 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
decode
in class org.jboss.netty.handler.codec.serialization.ObjectDecoder
java.lang.Exception