Top Description Methods
reactor.netty5.resources

pack-priv Interface DefaultLoop

Known Direct Implementers
reactor.netty5.resources.DefaultLoopEpoll, reactor.netty5.resources.DefaultLoopKQueue, reactor.netty5.resources.DefaultLoopNIO
Imports
java.net.ProtocolFamily, java.util.concurrent.ThreadFactory, io.netty5.channel.Channel, .EventLoop, .EventLoopGroup, .ServerChannel, reactor.util.annotation.Nullable

An EventLoopGroup with associated io.netty5.channel.Channel factory.
Author
Violeta Georgieva

Method Summary

Modifier and TypeMethod and Description
public <CHANNEL extends Channel> CHANNEL
getChannel(Class<CHANNEL> channelClass, EventLoop eventLoop, ProtocolFamily protocolFamily)

public String
public <SERVERCHANNEL extends ServerChannel> SERVERCHANNEL
getServerChannel(Class<SERVERCHANNEL> channelClass, EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ProtocolFamily protocolFamily)

public EventLoopGroup
newEventLoopGroup(int threads, ThreadFactory factory)

Method Detail

getChannelback to summary
public <CHANNEL extends Channel> CHANNEL getChannel(Class<CHANNEL> channelClass, EventLoop eventLoop, ProtocolFamily protocolFamily)
Annotations
@Nullable
getNameback to summary
public String getName()
getServerChannelback to summary
public <SERVERCHANNEL extends ServerChannel> SERVERCHANNEL getServerChannel(Class<SERVERCHANNEL> channelClass, EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ProtocolFamily protocolFamily)
Annotations
@Nullable
newEventLoopGroupback to summary
public EventLoopGroup newEventLoopGroup(int threads, ThreadFactory factory)