Package net.minecraft.server
Class ServerNetworkIo
java.lang.Object
net.minecraft.server.ServerNetworkIo
- Mappings:
Namespace Name official aiv
intermediary net/minecraft/class_3242
named net/minecraft/server/ServerNetworkIo
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
A channel in-bound handler that only forwards received messages to the next channel in-bound handler in the channel pipeline after a random delay betweenServerNetworkIo.DelayingChannelInboundHandler.baseDelay
andbaseDelay +
ServerNetworkIo.DelayingChannelInboundHandler.extraDelay
milliseconds. -
Field Summary
Modifier and TypeFieldDescriptionboolean
private final List<ChannelFuture>
(package private) final List<ClientConnection>
static final Lazy<NioEventLoopGroup>
static final Lazy<EpollEventLoopGroup>
private static final Logger
(package private) final MinecraftServer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(@Nullable InetAddress address, int port) void
stop()
void
tick()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Laiv;d:Lorg/slf4j/Logger;
intermediary field_14110
Lnet/minecraft/class_3242;field_14110:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/server/ServerNetworkIo;LOGGER:Lorg/slf4j/Logger;
-
DEFAULT_CHANNEL
- Mappings:
Namespace Name Mixin selector official a
Laiv;a:Laot;
intermediary field_14111
Lnet/minecraft/class_3242;field_14111:Lnet/minecraft/class_3528;
named DEFAULT_CHANNEL
Lnet/minecraft/server/ServerNetworkIo;DEFAULT_CHANNEL:Lnet/minecraft/util/Lazy;
-
EPOLL_CHANNEL
- Mappings:
Namespace Name Mixin selector official b
Laiv;b:Laot;
intermediary field_14105
Lnet/minecraft/class_3242;field_14105:Lnet/minecraft/class_3528;
named EPOLL_CHANNEL
Lnet/minecraft/server/ServerNetworkIo;EPOLL_CHANNEL:Lnet/minecraft/util/Lazy;
-
server
- Mappings:
Namespace Name Mixin selector official e
Laiv;e:Lnet/minecraft/server/MinecraftServer;
intermediary field_14109
Lnet/minecraft/class_3242;field_14109:Lnet/minecraft/server/MinecraftServer;
named server
Lnet/minecraft/server/ServerNetworkIo;server:Lnet/minecraft/server/MinecraftServer;
-
active
public volatile boolean active- Mappings:
Namespace Name Mixin selector official c
Laiv;c:Z
intermediary field_14108
Lnet/minecraft/class_3242;field_14108:Z
named active
Lnet/minecraft/server/ServerNetworkIo;active:Z
-
channels
- Mappings:
Namespace Name Mixin selector official f
Laiv;f:Ljava/util/List;
intermediary field_14106
Lnet/minecraft/class_3242;field_14106:Ljava/util/List;
named channels
Lnet/minecraft/server/ServerNetworkIo;channels:Ljava/util/List;
-
connections
- Mappings:
Namespace Name Mixin selector official g
Laiv;g:Ljava/util/List;
intermediary field_14107
Lnet/minecraft/class_3242;field_14107:Ljava/util/List;
named connections
Lnet/minecraft/server/ServerNetworkIo;connections:Ljava/util/List;
-
-
Constructor Details
-
ServerNetworkIo
- Mappings:
Namespace Name Mixin selector official <init>
Laiv;<init>(Lnet/minecraft/server/MinecraftServer;)V
intermediary <init>
Lnet/minecraft/class_3242;<init>(Lnet/minecraft/server/MinecraftServer;)V
named <init>
Lnet/minecraft/server/ServerNetworkIo;<init>(Lnet/minecraft/server/MinecraftServer;)V
-
-
Method Details
-
bind
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Laiv;a(Ljava/net/InetAddress;I)V
intermediary method_14354
Lnet/minecraft/class_3242;method_14354(Ljava/net/InetAddress;I)V
named bind
Lnet/minecraft/server/ServerNetworkIo;bind(Ljava/net/InetAddress;I)V
-
bindLocal
- Mappings:
Namespace Name Mixin selector official a
Laiv;a()Ljava/net/SocketAddress;
intermediary method_14353
Lnet/minecraft/class_3242;method_14353()Ljava/net/SocketAddress;
named bindLocal
Lnet/minecraft/server/ServerNetworkIo;bindLocal()Ljava/net/SocketAddress;
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official b
Laiv;b()V
intermediary method_14356
Lnet/minecraft/class_3242;method_14356()V
named stop
Lnet/minecraft/server/ServerNetworkIo;stop()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official c
Laiv;c()V
intermediary method_14357
Lnet/minecraft/class_3242;method_14357()V
named tick
Lnet/minecraft/server/ServerNetworkIo;tick()V
-
getServer
- Mappings:
Namespace Name Mixin selector official d
Laiv;d()Lnet/minecraft/server/MinecraftServer;
intermediary method_14351
Lnet/minecraft/class_3242;method_14351()Lnet/minecraft/server/MinecraftServer;
named getServer
Lnet/minecraft/server/ServerNetworkIo;getServer()Lnet/minecraft/server/MinecraftServer;
-
getConnections
- Mappings:
Namespace Name Mixin selector official e
Laiv;e()Ljava/util/List;
intermediary method_37909
Lnet/minecraft/class_3242;method_37909()Ljava/util/List;
named getConnections
Lnet/minecraft/server/ServerNetworkIo;getConnections()Ljava/util/List;
-