public static class Frame.Decoder
extends org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder
| Constructor and Description |
|---|
Frame.Decoder(Connection.Tracker tracker,
Connection.Factory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
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, extractFrame, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, internalBuffer, isUnfold, messageReceived, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulationpublic Frame.Decoder(Connection.Tracker tracker, Connection.Factory factory)
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws java.lang.Exception
channelOpen in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerjava.lang.Exceptionprotected 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.frame.LengthFieldBasedFrameDecoderjava.lang.ExceptionCopyright © 2014 The Apache Software Foundation