com.alibaba.dubbo.qos.server.handler
Class QosProcessHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.handler.codec.ByteToMessageDecoder
              extended by com.alibaba.dubbo.qos.server.handler.QosProcessHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class QosProcessHandler
extends io.netty.handler.codec.ByteToMessageDecoder

Author:
weipeng2k, qinliujie

Nested Class Summary
 
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
io.netty.handler.codec.ByteToMessageDecoder.Cumulator
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Field Summary
static String prompt
           
 
Fields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
 
Constructor Summary
QosProcessHandler(String welcome)
           
 
Method Summary
 void channelActive(io.netty.channel.ChannelHandlerContext ctx)
           
 
Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
channelInactive, channelRead, channelReadComplete, handlerRemoved, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, isSharable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded
 

Field Detail

prompt

public static String prompt
Constructor Detail

QosProcessHandler

public QosProcessHandler(String welcome)
Method Detail

channelActive

public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
                   throws Exception
Specified by:
channelActive in interface io.netty.channel.ChannelInboundHandler
Overrides:
channelActive in class io.netty.channel.ChannelInboundHandlerAdapter
Throws:
Exception


Copyright © 2012–2017 Alibaba. All rights reserved.