public abstract class RxEventLoopProvider
extends java.lang.Object
EventLoopGroup to be used for RxNetty's clients and servers when they are not
provided explicitly.| Constructor and Description |
|---|
RxEventLoopProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract io.netty.channel.EventLoopGroup |
globalClientEventLoop()
The
EventLoopGroup to be used by all client instances if it is not explicitly provided in the client. |
abstract io.netty.channel.EventLoopGroup |
globalClientEventLoop(boolean nativeTransport)
The
EventLoopGroup to be used by all client instances if it is not explicitly provided. |
abstract io.netty.channel.EventLoopGroup |
globalServerEventLoop()
The
EventLoopGroup to be used by all server instances if it is not explicitly provided. |
abstract io.netty.channel.EventLoopGroup |
globalServerEventLoop(boolean nativeTransport)
The
EventLoopGroup to be used by all server instances if it is not explicitly provided. |
abstract io.netty.channel.EventLoopGroup |
globalServerParentEventLoop()
The
EventLoopGroup to be used by all server instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided. |
abstract io.netty.channel.EventLoopGroup |
globalServerParentEventLoop(boolean nativeTransport)
The
EventLoopGroup to be used by all server instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided. |
public abstract io.netty.channel.EventLoopGroup globalClientEventLoop()
EventLoopGroup to be used by all client instances if it is not explicitly provided in the client.EventLoopGroup to be used for all clients.public abstract io.netty.channel.EventLoopGroup globalServerEventLoop()
EventLoopGroup to be used by all server instances if it is not explicitly provided.EventLoopGroup to be used for all servers.public abstract io.netty.channel.EventLoopGroup globalServerParentEventLoop()
EventLoopGroup to be used by all server instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided.EventLoopGroup to be used for all servers.public abstract io.netty.channel.EventLoopGroup globalClientEventLoop(boolean nativeTransport)
EventLoopGroup to be used by all client instances if it is not explicitly provided.nativeTransport - true If the eventloop for native transport is to be returned (if configured)EventLoopGroup to be used for all client. If nativeTransport was true then
return the EventLoopGroup for native transport.public abstract io.netty.channel.EventLoopGroup globalServerEventLoop(boolean nativeTransport)
EventLoopGroup to be used by all server instances if it is not explicitly provided.nativeTransport - true If the eventloop for native transport is to be returned (if configured)EventLoopGroup to be used for all servers. If nativeTransport was true then
return the EventLoopGroup for native transport.public abstract io.netty.channel.EventLoopGroup globalServerParentEventLoop(boolean nativeTransport)
EventLoopGroup to be used by all server instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided.nativeTransport - true If the eventloop for native transport is to be returned (if configured)EventLoopGroup to be used for all servers. If nativeTransport was true then
return the EventLoopGroup for native transport.