Top Description Methods
io.netty5.channel

public Interface ServerChannel

extends Channel
Known Direct Subinterfaces
io.netty5.channel.socket.ServerSocketChannel
Known Direct Implementers
io.netty5.channel.AbstractServerChannel
Imports
io.netty5.util.concurrent.Future, java.net.SocketAddress

A Channel that accepts an incoming connection attempts and creates its child Channels by accepting them. A ServerChannel does not allow the following operations and so will fail the returned Future of these operations:

Method Summary

Modifier and TypeMethod and Description
public EventLoopGroup
childEventLoopGroup()

Returns the EventLoopGroup that is used to register the child Channels on after accepting these.

Inherited from io.netty5.channel.Channel:
bindbufferAllocatorclosecloseFutureconnectconnectderegisterdisconnectexecutorflushgetOptionidisActiveisOpenisOptionSupportedisShutdownisWritablelocalAddressparentpipelinereadreadregisterremoteAddresssendOutboundEventsetOptionshutdownwritableByteswritewriteAndFlush

Method Detail

childEventLoopGroupback to summary
public EventLoopGroup childEventLoopGroup()

Returns the EventLoopGroup that is used to register the child Channels on after accepting these.