public class TomP2PDecoderTCP
extends org.jboss.netty.handler.codec.frame.FrameDecoder
Constructor and Description |
---|
TomP2PDecoderTCP()
Default constructor with no message size limit.
|
TomP2PDecoderTCP(int maxMessageSize)
Limits the message size
|
Modifier and Type | Method and Description |
---|---|
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, cleanup, decodeLast, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, internalBuffer, isUnfold, messageReceived, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulation
public TomP2PDecoderTCP()
public TomP2PDecoderTCP(int maxMessageSize)
maxMessageSize
- The limit of a message size.Copyright © 2013. All Rights Reserved.