Package org.apache.storm.messaging.netty
Class StormServerHandler
java.lang.Object
org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
org.apache.storm.messaging.netty.StormServerHandler
- All Implemented Interfaces:
org.apache.storm.shade.io.netty.channel.ChannelHandler,org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
public class StormServerHandler
extends org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandler
org.apache.storm.shade.io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchannelActive(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx) voidchannelRead(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Object msg) voidexceptionCaught(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause) Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
StormServerHandler
-
-
Method Details
-
channelActive
public void channelActive(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx) - Specified by:
channelActivein interfaceorg.apache.storm.shade.io.netty.channel.ChannelInboundHandler- Overrides:
channelActivein classorg.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
-
channelRead
public void channelRead(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception - Specified by:
channelReadin interfaceorg.apache.storm.shade.io.netty.channel.ChannelInboundHandler- Overrides:
channelReadin classorg.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause) - Specified by:
exceptionCaughtin interfaceorg.apache.storm.shade.io.netty.channel.ChannelHandler- Specified by:
exceptionCaughtin interfaceorg.apache.storm.shade.io.netty.channel.ChannelInboundHandler- Overrides:
exceptionCaughtin classorg.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
-