@ThreadSafe public class ThriftClientHandler extends io.netty.channel.ChannelDuplexHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftClientHandler.ThriftRequest |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext context) |
void |
channelRead(io.netty.channel.ChannelHandlerContext context,
Object message) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object message,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic void write(io.netty.channel.ChannelHandlerContext ctx,
Object message,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelDuplexHandlerExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext context,
Object message)
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelInactive(io.netty.channel.ChannelHandlerContext context)
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2012–2018. All rights reserved.