public enum TransportType extends java.lang.Enum<TransportType>
| Enum Constant | Description |
|---|---|
EPOLL |
|
IO_URING |
|
KQUEUE |
|
LOCAL |
|
NIO |
|
UNIX_EPOLL |
|
UNIX_KQUEUE |
| Modifier and Type | Method | Description |
|---|---|---|
static TransportType |
getBest() |
|
static TransportType |
getBest(boolean unixAddress) |
|
static TransportType |
getBest(java.net.SocketAddress address) |
|
java.util.function.Supplier<? extends io.netty.channel.IoHandlerFactory> |
ioHandlerFactorySupplier() |
|
java.lang.Class<? extends io.netty.channel.Channel> |
tcpClientChannelClass() |
|
java.lang.Class<? extends io.netty.channel.ServerChannel> |
tcpServerChannelClass() |
|
java.lang.Class<? extends io.netty.channel.Channel> |
udpClientChannelClass() |
|
java.lang.Class<? extends io.netty.channel.Channel> |
udpServerChannelClass() |
|
static TransportType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TransportType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportType NIO
public static final TransportType EPOLL
public static final TransportType KQUEUE
public static final TransportType IO_URING
public static final TransportType LOCAL
public static final TransportType UNIX_EPOLL
public static final TransportType UNIX_KQUEUE
public static TransportType[] values()
for (TransportType c : TransportType.values()) System.out.println(c);
public static TransportType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TransportType getBest()
public static TransportType getBest(java.net.SocketAddress address)
public static TransportType getBest(boolean unixAddress)
public java.lang.Class<? extends io.netty.channel.Channel> tcpClientChannelClass()
public java.lang.Class<? extends io.netty.channel.Channel> udpClientChannelClass()
public java.lang.Class<? extends io.netty.channel.ServerChannel> tcpServerChannelClass()
public java.lang.Class<? extends io.netty.channel.Channel> udpServerChannelClass()
public java.util.function.Supplier<? extends io.netty.channel.IoHandlerFactory> ioHandlerFactorySupplier()