public class RxtxClientHandler extends SimpleChannelInboundHandler<String>
ChannelHandler.Sharable| Constructor and Description |
|---|
RxtxClientHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(ChannelHandlerContext ctx)
Calls
ChannelHandlerContext.fireChannelActive() to forward
to the next ChannelInboundHandler in the ChannelPipeline. |
void |
channelRead0(ChannelHandlerContext ctx,
String msg)
Please keep in mind that this method will be renamed to
messageReceived(ChannelHandlerContext, I) in 5.0. |
acceptInboundMessage, channelReadchannelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedpublic void channelActive(ChannelHandlerContext ctx)
ChannelInboundHandlerAdapterChannelHandlerContext.fireChannelActive() to forward
to the next ChannelInboundHandler in the ChannelPipeline.
Sub-classes may override this method to change behavior.channelActive in interface ChannelInboundHandlerchannelActive in class ChannelInboundHandlerAdapterpublic void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception
SimpleChannelInboundHandlermessageReceived(ChannelHandlerContext, I) in 5.0.
Is called for each message of type I.channelRead0 in class SimpleChannelInboundHandler<String>ctx - the ChannelHandlerContext which this SimpleChannelInboundHandler
belongs tomsg - the message to handleException - is thrown if an error occurredCopyright © 2008–2017 The Netty Project. All rights reserved.