@ChannelHandler.Sharable public class TomP2PDecoderUDP extends Object implements org.jboss.netty.channel.ChannelUpstreamHandler
| Constructor and Description |
|---|
TomP2PDecoderUDP() |
| Modifier and Type | Method and Description |
|---|---|
protected Message |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer,
SocketAddress socketAddress) |
void |
handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent evt) |
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent evt)
throws Exception
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandlerExceptionprotected Message decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer buffer, SocketAddress socketAddress) throws Exception
ExceptionCopyright © 2011. All Rights Reserved.