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 EventLoopGroupServerBootstrap. childGroup()Deprecated.UseServerBootstrap.config()instead.EventLoopGroupServerBootstrapConfig. childGroup()Returns the configuredEventLoopGroupwhich will be used for the child channels ornullif non is configured yet.EventLoopGroupAbstractBootstrap. group()Deprecated.UseAbstractBootstrap.config()instead.EventLoopGroupAbstractBootstrapConfig. group()Returns the configuredEventLoopGroupornullif non is configured yet.Methods in io.netty5.bootstrap with parameters of type EventLoopGroup Modifier and Type Method Description BootstrapBootstrap. clone(EventLoopGroup group)Returns a deep clone of this bootstrap which has the identical configuration except that it uses the givenEventLoopGroup.BAbstractBootstrap. group(EventLoopGroup group)TheEventLoopGroupwhich is used to handle all the events for the to-be-createdChannelServerBootstrapServerBootstrap. group(EventLoopGroup group)Specify theEventLoopGroupwhich is used for the parent (acceptor) and the child (client).ServerBootstrapServerBootstrap. group(EventLoopGroup parentGroup, EventLoopGroup childGroup)Set theEventLoopGroupfor 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 interfaceEventLoopWill handle all the I/O operations for aIoHandleonce registered.Classes in io.netty5.channel that implement EventLoopGroup Modifier and Type Class Description classMultithreadEventLoopGroupEventLoopGroupimplementation that will handle its tasks with multiple threads.classSingleThreadEventLoopMethods 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 EventLoopGroupAbstractServerChannel. childEventLoopGroup()EventLoopGroupServerChannel. childEventLoopGroup()Returns theEventLoopGroupthat is used to register the childChannels on.Methods in io.netty5.channel with parameters of type EventLoopGroup Modifier and Type Method Description TReflectiveServerChannelFactory. newChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup)TServerChannelFactory. 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 EventLoopGroupEpollServerSocketChannel. 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 EventLoopGroupKQueueServerSocketChannel. 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 EventLoopGroupNioServerSocketChannel. 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 givenSelectorProviderand protocol family (supported only since JDK 15).
-