Uses of Interface
io.netty5.channel.EventLoop
-
Packages that use EventLoop Package Description 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.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty5.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty5.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000). -
-
Uses of EventLoop in io.netty5.channel
Classes in io.netty5.channel that implement EventLoop Modifier and Type Class Description classSingleThreadEventLoopMethods in io.netty5.channel that return EventLoop Modifier and Type Method Description EventLoopAbstractChannel. executor()EventLoopChannel. executor()protected EventLoopMultithreadEventLoopGroup. newChild(Executor executor, int maxPendingTasks, io.netty5.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler, IoHandler ioHandler, int maxTasksPerRun, Object... args)Creates a newEventLoopto use.protected EventLoopMultithreadEventLoopGroup. newChild(Executor executor, int maxPendingTasks, io.netty5.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler, Object... args)default EventLoopEventLoop. next()EventLoopEventLoopGroup. next()Return the nextEventLoopto useEventLoopMultithreadEventLoopGroup. next()Methods in io.netty5.channel with parameters of type EventLoop Modifier and Type Method Description TChannelFactory. newChannel(EventLoop eventLoop)Creates a new channel.TReflectiveChannelFactory. newChannel(EventLoop eventLoop)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 EventLoop Constructor Description AbstractChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect)Creates a new instance.AbstractChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect, ReadHandleFactory defaultReadHandleFactory, WriteHandleFactory defaultWriteHandleFactory)Creates a new instance.AbstractChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect, ReadHandleFactory defaultReadHandleFactory, WriteHandleFactory defaultWriteHandleFactory, ChannelId id)Creates a new instance.AbstractServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, Class<? extends Channel> childChannelType)Creates a new instance. -
Uses of EventLoop in io.netty5.channel.local
Constructors in io.netty5.channel.local with parameters of type EventLoop Constructor Description LocalChannel(EventLoop eventLoop)LocalChannel(LocalServerChannel parent, EventLoop eventLoop, LocalChannel peer)LocalServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup) -
Uses of EventLoop in io.netty5.channel.nio
Constructors in io.netty5.channel.nio with parameters of type EventLoop Constructor Description AbstractNioByteChannel(P parent, EventLoop eventLoop, WriteHandleFactory defaultWriteHandleFactory, SelectableChannel ch)Create a new instanceAbstractNioChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect, ReadHandleFactory defaultReadHandleFactory, WriteHandleFactory defaultWriteHandleFactory, SelectableChannel ch, int readInterestOp)Create a new instanceAbstractNioMessageChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect, ReadHandleFactory defaultReadHandleFactory, WriteHandleFactory defaultWriteHandleFactory, SelectableChannel ch, int readInterestOp) -
Uses of EventLoop in io.netty5.channel.socket.nio
Constructors in io.netty5.channel.socket.nio with parameters of type EventLoop Constructor Description NioDatagramChannel(EventLoop eventLoop)Create a new instance which will use the Operation Systems defaultProtocolFamily.NioDatagramChannel(EventLoop eventLoop, ProtocolFamily family)Create a new instance using the givenProtocolFamily.NioDatagramChannel(EventLoop eventLoop, DatagramChannel socket, ProtocolFamily family)Create a new instance from the givenDatagramChannel.NioDatagramChannel(EventLoop eventLoop, SelectorProvider provider)Create a new instance using the givenSelectorProviderwhich will use the Operation Systems defaultProtocolFamily.NioDatagramChannel(EventLoop eventLoop, SelectorProvider provider, ProtocolFamily family)Create a new instance using the givenSelectorProviderandProtocolFamily.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).NioSocketChannel(EventLoop eventLoop)Create a new instanceNioSocketChannel(EventLoop eventLoop, SocketChannel socket)Create a new instance using the givenSocketChannel.NioSocketChannel(EventLoop eventLoop, SelectorProvider provider)Create a new instance using the givenSelectorProvider.NioSocketChannel(EventLoop eventLoop, SelectorProvider provider, ProtocolFamily family)Create a new instance using the givenSelectorProviderand protocol family (supported only since JDK 15).NioSocketChannel(NioServerSocketChannel parent, EventLoop eventLoop, SocketChannel socket)Create a new instanceNioSocketChannel(NioServerSocketChannel parent, EventLoop eventLoop, SocketChannel socket, ProtocolFamily family)Create a new instance
-