Uses of Interface
io.netty5.channel.EventLoopGroup
-
Packages that use EventLoopGroup Package Description io.netty5.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty5.channel.kqueue BSD specific transport.io.netty5.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty5.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000). -
-
Uses of EventLoopGroup in io.netty5.bootstrap
Methods in io.netty5.bootstrap that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
ServerBootstrap. childGroup()
Deprecated.UseServerBootstrap.config()
instead.EventLoopGroup
ServerBootstrapConfig. childGroup()
Returns the configuredEventLoopGroup
which will be used for the child channels ornull
if non is configured yet.EventLoopGroup
AbstractBootstrap. group()
Deprecated.UseAbstractBootstrap.config()
instead.EventLoopGroup
AbstractBootstrapConfig. group()
Returns the configuredEventLoopGroup
ornull
if non is configured yet.Methods in io.netty5.bootstrap with parameters of type EventLoopGroup Modifier and Type Method Description Bootstrap
Bootstrap. clone(EventLoopGroup group)
Returns a deep clone of this bootstrap which has the identical configuration except that it uses the givenEventLoopGroup
.B
AbstractBootstrap. group(EventLoopGroup group)
TheEventLoopGroup
which is used to handle all the events for the to-be-createdChannel
ServerBootstrap
ServerBootstrap. group(EventLoopGroup group)
Specify theEventLoopGroup
which is used for the parent (acceptor) and the child (client).ServerBootstrap
ServerBootstrap. group(EventLoopGroup parentGroup, EventLoopGroup childGroup)
Set theEventLoopGroup
for the parent (acceptor) and the child (client). -
Uses of EventLoopGroup in io.netty5.channel
Subinterfaces of EventLoopGroup in io.netty5.channel Modifier and Type Interface Description interface
EventLoop
Will handle all the I/O operations for aIoHandle
once registered.Classes in io.netty5.channel that implement EventLoopGroup Modifier and Type Class Description class
MultithreadEventLoopGroup
EventLoopGroup
implementation that will handle its tasks with multiple threads.class
SingleThreadEventLoop
Methods in io.netty5.channel with type parameters of type EventLoopGroup Modifier and Type Method Description protected static <T extends EventLoopGroup>
TAbstractChannel. validateEventLoopGroup(T group, String name, Class<? extends Channel> channelType)
Methods in io.netty5.channel that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
AbstractServerChannel. childEventLoopGroup()
EventLoopGroup
ServerChannel. childEventLoopGroup()
Returns theEventLoopGroup
that is used to register the childChannel
s on.Methods in io.netty5.channel with parameters of type EventLoopGroup Modifier and Type Method Description T
ReflectiveServerChannelFactory. newChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)
T
ServerChannelFactory. newChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)
Creates a new channel.Constructors in io.netty5.channel with parameters of type EventLoopGroup Constructor Description AbstractServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ChannelMetadata metadata, Class<? extends Channel> childChannelType)
AbstractServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, Class<? extends Channel> childChannelType)
Creates a new instance. -
Uses of EventLoopGroup in io.netty5.channel.epoll
Methods in io.netty5.channel.epoll that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
EpollServerSocketChannel. childEventLoopGroup()
Constructors in io.netty5.channel.epoll with parameters of type EventLoopGroup Constructor Description EpollServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)
EpollServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, int fd, ProtocolFamily protocolFamily)
EpollServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ProtocolFamily protocolFamily)
-
Uses of EventLoopGroup in io.netty5.channel.kqueue
Methods in io.netty5.channel.kqueue that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
KQueueServerSocketChannel. childEventLoopGroup()
Constructors in io.netty5.channel.kqueue with parameters of type EventLoopGroup Constructor Description KQueueServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)
KQueueServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, int fd, ProtocolFamily protocolFamily)
KQueueServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, SocketProtocolFamily protocolFamily)
-
Uses of EventLoopGroup in io.netty5.channel.local
Constructors in io.netty5.channel.local with parameters of type EventLoopGroup Constructor Description LocalServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)
-
Uses of EventLoopGroup in io.netty5.channel.socket.nio
Methods in io.netty5.channel.socket.nio that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
NioServerSocketChannel. childEventLoopGroup()
Constructors in io.netty5.channel.socket.nio with parameters of type EventLoopGroup Constructor Description NioServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)
Create a new instanceNioServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ServerSocketChannel channel)
Create a new instance using the givenServerSocketChannel
.NioServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ServerSocketChannel channel, ProtocolFamily family)
Create a new instance using the givenServerSocketChannel
.NioServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, SelectorProvider provider)
Create a new instance using the givenSelectorProvider
.NioServerSocketChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, SelectorProvider provider, ProtocolFamily protocolFamily)
Create a new instance using the givenSelectorProvider
and protocol family (supported only since JDK 15).
-