Package net.minecraft.server
Class ServerNetworkIo
java.lang.Object
net.minecraft.server.ServerNetworkIo
- Mappings:
Namespace Name named net/minecraft/server/ServerNetworkIointermediary net/minecraft/class_3242official art
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classA 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.baseDelayandbaseDelay +ServerNetworkIo.DelayingChannelInboundHandler.extraDelaymilliseconds. -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanprivate final List<ChannelFuture> (package private) final List<ClientConnection> static final Supplier<NioEventLoopGroup> static final Supplier<EpollEventLoopGroup> private static final Logger(package private) final MinecraftServer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(@Nullable InetAddress address, int port) voidstop()voidtick()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/ServerNetworkIo;LOGGER:Lorg/slf4j/Logger;intermediary field_14110Lnet/minecraft/class_3242;field_14110:Lorg/slf4j/Logger;official dLart;d:Lorg/slf4j/Logger;
-
DEFAULT_CHANNEL
- Mappings:
Namespace Name Mixin selector named DEFAULT_CHANNELLnet/minecraft/server/ServerNetworkIo;DEFAULT_CHANNEL:Ljava/util/function/Supplier;intermediary field_14111Lnet/minecraft/class_3242;field_14111:Ljava/util/function/Supplier;official aLart;a:Ljava/util/function/Supplier;
-
EPOLL_CHANNEL
- Mappings:
Namespace Name Mixin selector named EPOLL_CHANNELLnet/minecraft/server/ServerNetworkIo;EPOLL_CHANNEL:Ljava/util/function/Supplier;intermediary field_14105Lnet/minecraft/class_3242;field_14105:Ljava/util/function/Supplier;official bLart;b:Ljava/util/function/Supplier;
-
server
- Mappings:
Namespace Name Mixin selector named serverLnet/minecraft/server/ServerNetworkIo;server:Lnet/minecraft/server/MinecraftServer;intermediary field_14109Lnet/minecraft/class_3242;field_14109:Lnet/minecraft/server/MinecraftServer;official eLart;e:Lnet/minecraft/server/MinecraftServer;
-
active
public volatile boolean active- Mappings:
Namespace Name Mixin selector named activeLnet/minecraft/server/ServerNetworkIo;active:Zintermediary field_14108Lnet/minecraft/class_3242;field_14108:Zofficial cLart;c:Z
-
channels
- Mappings:
Namespace Name Mixin selector named channelsLnet/minecraft/server/ServerNetworkIo;channels:Ljava/util/List;intermediary field_14106Lnet/minecraft/class_3242;field_14106:Ljava/util/List;official fLart;f:Ljava/util/List;
-
connections
- Mappings:
Namespace Name Mixin selector named connectionsLnet/minecraft/server/ServerNetworkIo;connections:Ljava/util/List;intermediary field_14107Lnet/minecraft/class_3242;field_14107:Ljava/util/List;official gLart;g:Ljava/util/List;
-
-
Constructor Details
-
ServerNetworkIo
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/ServerNetworkIo;<init>(Lnet/minecraft/server/MinecraftServer;)Vintermediary <init>Lnet/minecraft/class_3242;<init>(Lnet/minecraft/server/MinecraftServer;)Vofficial <init>Lart;<init>(Lnet/minecraft/server/MinecraftServer;)V
-
-
Method Details
-
bind
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named bindLnet/minecraft/server/ServerNetworkIo;bind(Ljava/net/InetAddress;I)Vintermediary method_14354Lnet/minecraft/class_3242;method_14354(Ljava/net/InetAddress;I)Vofficial aLart;a(Ljava/net/InetAddress;I)V
-
bindLocal
- Mappings:
Namespace Name Mixin selector named bindLocalLnet/minecraft/server/ServerNetworkIo;bindLocal()Ljava/net/SocketAddress;intermediary method_14353Lnet/minecraft/class_3242;method_14353()Ljava/net/SocketAddress;official aLart;a()Ljava/net/SocketAddress;
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector named stopLnet/minecraft/server/ServerNetworkIo;stop()Vintermediary method_14356Lnet/minecraft/class_3242;method_14356()Vofficial bLart;b()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/server/ServerNetworkIo;tick()Vintermediary method_14357Lnet/minecraft/class_3242;method_14357()Vofficial cLart;c()V
-
getServer
- Mappings:
Namespace Name Mixin selector named getServerLnet/minecraft/server/ServerNetworkIo;getServer()Lnet/minecraft/server/MinecraftServer;intermediary method_14351Lnet/minecraft/class_3242;method_14351()Lnet/minecraft/server/MinecraftServer;official dLart;d()Lnet/minecraft/server/MinecraftServer;
-
getConnections
- Mappings:
Namespace Name Mixin selector named getConnectionsLnet/minecraft/server/ServerNetworkIo;getConnections()Ljava/util/List;intermediary method_37909Lnet/minecraft/class_3242;method_37909()Ljava/util/List;official eLart;e()Ljava/util/List;
-