@ChannelHandler.Sharable public class TelnetServerHandler extends io.netty.channel.SimpleChannelInboundHandler<String>
| Constructor and Description |
|---|
TelnetServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
String request) |
acceptInboundMessage, channelReadpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelHandlerchannelActive in class io.netty.channel.ChannelHandlerAdapterExceptionpublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
String request)
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<String>public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete in interface io.netty.channel.ChannelHandlerchannelReadComplete in class io.netty.channel.ChannelHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterCopyright © 2008–2015 The Netty Project. All rights reserved.