public class XioService
extends io.netty.channel.ChannelDuplexHandler
Constructor and Description |
---|
XioService() |
Modifier and Type | Method and Description |
---|---|
XioService |
andThen(io.netty.channel.ChannelHandler handler) |
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
Deque<io.netty.channel.ChannelHandler> |
getServiceList() |
XioService |
handler(io.netty.channel.ChannelHandler handler) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object _evt) |
bind, close, connect, deregister, disconnect, flush, read, write
channelRegistered, channelUnregistered, channelWritabilityChanged
handlerAdded, handlerRemoved, isSharable
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object _evt)
userEventTriggered
in interface io.netty.channel.ChannelInboundHandler
userEventTriggered
in class io.netty.channel.ChannelInboundHandlerAdapter
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelInactive
in interface io.netty.channel.ChannelInboundHandler
channelInactive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public XioService handler(io.netty.channel.ChannelHandler handler)
public XioService andThen(io.netty.channel.ChannelHandler handler)
public Deque<io.netty.channel.ChannelHandler> getServiceList()
Copyright © 2016. All Rights Reserved.