@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) |
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, cleanup, decodeLast, exceptionCaught, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, internalBuffer, isUnfold, messageReceived, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulationprivate 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