Package net.minecraft.server
Class ServerNetworkIo
java.lang.Object
net.minecraft.server.ServerNetworkIo
public class ServerNetworkIo extends Object
- Mappings:
Namespace Name official abm
intermediary net/minecraft/class_3242
named net/minecraft/server/ServerNetworkIo
-
Field Summary
Fields Modifier and Type Field Description boolean
active
private List<ChannelFuture>
channels
private List<ClientConnection>
connections
static Lazy<NioEventLoopGroup>
DEFAULT_CHANNEL
static Lazy<EpollEventLoopGroup>
EPOLL_CHANNEL
private static Logger
LOGGER
private MinecraftServer
server
-
Constructor Summary
Constructors Constructor Description ServerNetworkIo(MinecraftServer server)
-
Method Summary
Modifier and Type Method Description void
bind(InetAddress address, int port)
SocketAddress
bindLocal()
MinecraftServer
getServer()
void
stop()
void
tick()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Labm;d:Lorg/apache/logging/log4j/Logger;
intermediary field_14110
Lnet/minecraft/class_3242;field_14110:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/server/ServerNetworkIo;LOGGER:Lorg/apache/logging/log4j/Logger;
-
DEFAULT_CHANNEL
- Mappings:
Namespace Name Mixin selector official a
Labm;a:Lafz;
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
Labm;b:Lafz;
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
Labm;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
Labm;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
Labm;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
Labm;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>
Labm;<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
Labm;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
Labm;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
Labm;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
Labm;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
Labm;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;
-