@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, messageReceivedprivate 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.ObjectDecoderjava.lang.Exception