Top Methods
io.netty5.channel

public Interface ChannelInboundInvoker

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

Method Summary

Modifier and TypeMethod and Description
public ChannelInboundInvoker
fireChannelActive()

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

public ChannelInboundInvoker
fireChannelExceptionCaught(Throwable cause)

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

public ChannelInboundInvoker
fireChannelInactive()

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

public ChannelInboundInvoker
fireChannelInboundEvent(Object event)

A Channel received a custom defined inbound event.

public ChannelInboundInvoker
fireChannelRead(Object msg)

A Channel received a message.

public ChannelInboundInvoker
public ChannelInboundInvoker
fireChannelRegistered()

A Channel was registered to its EventLoop.

public ChannelInboundInvoker
fireChannelShutdown(ChannelShutdownDirection direction)

A Channel was shutdown in a specific direction.

public ChannelInboundInvoker
fireChannelUnregistered()

A Channel was unregistered from its EventLoop.

public ChannelInboundInvoker

Method Detail

fireChannelActiveback to summary
public ChannelInboundInvoker fireChannelActive()

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

fireChannelExceptionCaughtback to summary
public ChannelInboundInvoker fireChannelExceptionCaught(Throwable cause)

A Channel received an Throwable in one of its inbound operations. This will result in having the ChannelHandler#channelExceptionCaught(ChannelHandlerContext, Throwable) method called of the next ChannelHandler 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 ChannelHandler#channelInactive(ChannelHandlerContext) method called of the next ChannelHandler contained in the ChannelPipeline of the Channel.

fireChannelInboundEventback to summary
public ChannelInboundInvoker fireChannelInboundEvent(Object event)

A Channel received a custom defined inbound event. This will result in having the ChannelHandler#channelInboundEvent(ChannelHandlerContext, Object) method called of the next ChannelHandler 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 ChannelHandler#channelRead(ChannelHandlerContext, Object) method called of the next ChannelHandler contained in the ChannelPipeline of the Channel.

fireChannelReadCompleteback to summary
public ChannelInboundInvoker fireChannelReadComplete()

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

fireChannelRegisteredback to summary
public ChannelInboundInvoker fireChannelRegistered()

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

fireChannelShutdownback to summary
public ChannelInboundInvoker fireChannelShutdown(ChannelShutdownDirection direction)

A Channel was shutdown in a specific direction. This will result in having the ChannelHandler#channelShutdown(ChannelHandlerContext, ChannelShutdownDirection) method called of the next ChannelHandler 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 ChannelHandler#channelUnregistered(ChannelHandlerContext) method called of the next ChannelHandler contained in the ChannelPipeline of the Channel.

fireChannelWritabilityChangedback to summary
public ChannelInboundInvoker fireChannelWritabilityChanged()

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