Top Methods
io.netty.channel

public Interface ChannelInboundInvoker

Known Direct Subinterfaces
io.netty.channel.ChannelPipeline, io.netty.channel.ChannelHandlerContext

Method Summary

Modifier and TypeMethod and Description
public ChannelInboundInvoker
fireChannelActive()

A Channel is active now, which means it is connected.

public ChannelInboundInvoker
fireChannelInactive()

A Channel is inactive now, which means it is closed.

public ChannelInboundInvoker
fireChannelRead(Object msg)

A Channel received a message.

public ChannelInboundInvoker
public ChannelInboundInvoker
fireChannelRegistered()

A Channel was registered to its EventLoop.

public ChannelInboundInvoker
fireChannelUnregistered()

A Channel was unregistered from its EventLoop.

public ChannelInboundInvoker
public ChannelInboundInvoker
fireExceptionCaught(Throwable cause)

A Channel received an Throwable in one of its inbound operations.

public ChannelInboundInvoker
fireUserEventTriggered(Object event)

A Channel received an user defined event.

Method Detail

fireChannelActiveback to summary
public ChannelInboundInvoker fireChannelActive()

A Channel is active now, which means it is connected. This will result in having the ChannelInboundHandler#channelActive(ChannelHandlerContext) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.

fireChannelInactiveback to summary
public ChannelInboundInvoker fireChannelInactive()

A Channel is inactive now, which means it is closed. This will result in having the ChannelInboundHandler#channelInactive(ChannelHandlerContext) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.

fireChannelReadback to summary
public ChannelInboundInvoker fireChannelRead(Object msg)

A Channel received a message. This will result in having the ChannelInboundHandler#channelRead(ChannelHandlerContext, Object) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.

fireChannelReadCompleteback to summary
public ChannelInboundInvoker fireChannelReadComplete()

Triggers an ChannelInboundHandler#channelReadComplete(ChannelHandlerContext) event to the next ChannelInboundHandler in the ChannelPipeline.

fireChannelRegisteredback to summary
public ChannelInboundInvoker fireChannelRegistered()

A Channel was registered to its EventLoop. This will result in having the ChannelInboundHandler#channelRegistered(ChannelHandlerContext) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.

fireChannelUnregisteredback to summary
public ChannelInboundInvoker fireChannelUnregistered()

A Channel was unregistered from its EventLoop. This will result in having the ChannelInboundHandler#channelUnregistered(ChannelHandlerContext) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.

fireChannelWritabilityChangedback to summary
public ChannelInboundInvoker fireChannelWritabilityChanged()

Triggers an ChannelInboundHandler#channelWritabilityChanged(ChannelHandlerContext) event to the next ChannelInboundHandler in the ChannelPipeline.

fireExceptionCaughtback to summary
public ChannelInboundInvoker fireExceptionCaught(Throwable cause)

A Channel received an Throwable in one of its inbound operations. This will result in having the ChannelInboundHandler#exceptionCaught(ChannelHandlerContext, Throwable) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.

fireUserEventTriggeredback to summary
public ChannelInboundInvoker fireUserEventTriggered(Object event)

A Channel received an user defined event. This will result in having the ChannelInboundHandler#userEventTriggered(ChannelHandlerContext, Object) method called of the next ChannelInboundHandler contained in the ChannelPipeline of the Channel.