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

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.SimpleChannelInboundHandler<String>
              extended by com.alibaba.dubbo.qos.server.handler.TelnetProcessHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class TelnetProcessHandler
extends io.netty.channel.SimpleChannelInboundHandler<String>

 接受telnet协议,其实就是用户提交的内容,使用\r\n结尾,当然已经被netty过滤了\r\n了。
 经过了StringDecoder相关的Decode过程
 

Author:
weipeng2k

Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
TelnetProcessHandler()
           
 
Method Summary
 
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, 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, handlerRemoved
 

Constructor Detail

TelnetProcessHandler

public TelnetProcessHandler()


Copyright © 2012–2017 Alibaba. All rights reserved.