Package net.minecraft.server
Class ServerNetworkIo
java.lang.Object
net.minecraft.server.ServerNetworkIo
- Mappings:
Namespace Name official aixintermediary net/minecraft/class_3242named net/minecraft/server/ServerNetworkIo
-
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 Lazy<NioEventLoopGroup>static final Lazy<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 official dLaix;d:Lorg/slf4j/Logger;intermediary field_14110Lnet/minecraft/class_3242;field_14110:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/ServerNetworkIo;LOGGER:Lorg/slf4j/Logger;
-
DEFAULT_CHANNEL
- Mappings:
Namespace Name Mixin selector official aLaix;a:Laov;intermediary field_14111Lnet/minecraft/class_3242;field_14111:Lnet/minecraft/class_3528;named DEFAULT_CHANNELLnet/minecraft/server/ServerNetworkIo;DEFAULT_CHANNEL:Lnet/minecraft/util/Lazy;
-
EPOLL_CHANNEL
- Mappings:
Namespace Name Mixin selector official bLaix;b:Laov;intermediary field_14105Lnet/minecraft/class_3242;field_14105:Lnet/minecraft/class_3528;named EPOLL_CHANNELLnet/minecraft/server/ServerNetworkIo;EPOLL_CHANNEL:Lnet/minecraft/util/Lazy;
-
server
- Mappings:
Namespace Name Mixin selector official eLaix;e:Lnet/minecraft/server/MinecraftServer;intermediary field_14109Lnet/minecraft/class_3242;field_14109:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/ServerNetworkIo;server:Lnet/minecraft/server/MinecraftServer;
-
active
public volatile boolean active- Mappings:
Namespace Name Mixin selector official cLaix;c:Zintermediary field_14108Lnet/minecraft/class_3242;field_14108:Znamed activeLnet/minecraft/server/ServerNetworkIo;active:Z
-
channels
- Mappings:
Namespace Name Mixin selector official fLaix;f:Ljava/util/List;intermediary field_14106Lnet/minecraft/class_3242;field_14106:Ljava/util/List;named channelsLnet/minecraft/server/ServerNetworkIo;channels:Ljava/util/List;
-
connections
- Mappings:
Namespace Name Mixin selector official gLaix;g:Ljava/util/List;intermediary field_14107Lnet/minecraft/class_3242;field_14107:Ljava/util/List;named connectionsLnet/minecraft/server/ServerNetworkIo;connections:Ljava/util/List;
-
-
Constructor Details
-
ServerNetworkIo
- Mappings:
Namespace Name Mixin selector official <init>Laix;<init>(Lnet/minecraft/server/MinecraftServer;)Vintermediary <init>Lnet/minecraft/class_3242;<init>(Lnet/minecraft/server/MinecraftServer;)Vnamed <init>Lnet/minecraft/server/ServerNetworkIo;<init>(Lnet/minecraft/server/MinecraftServer;)V
-
-
Method Details
-
bind
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLaix;a(Ljava/net/InetAddress;I)Vintermediary method_14354Lnet/minecraft/class_3242;method_14354(Ljava/net/InetAddress;I)Vnamed bindLnet/minecraft/server/ServerNetworkIo;bind(Ljava/net/InetAddress;I)V
-
bindLocal
- Mappings:
Namespace Name Mixin selector official aLaix;a()Ljava/net/SocketAddress;intermediary method_14353Lnet/minecraft/class_3242;method_14353()Ljava/net/SocketAddress;named bindLocalLnet/minecraft/server/ServerNetworkIo;bindLocal()Ljava/net/SocketAddress;
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official bLaix;b()Vintermediary method_14356Lnet/minecraft/class_3242;method_14356()Vnamed stopLnet/minecraft/server/ServerNetworkIo;stop()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official cLaix;c()Vintermediary method_14357Lnet/minecraft/class_3242;method_14357()Vnamed tickLnet/minecraft/server/ServerNetworkIo;tick()V
-
getServer
- Mappings:
Namespace Name Mixin selector official dLaix;d()Lnet/minecraft/server/MinecraftServer;intermediary method_14351Lnet/minecraft/class_3242;method_14351()Lnet/minecraft/server/MinecraftServer;named getServerLnet/minecraft/server/ServerNetworkIo;getServer()Lnet/minecraft/server/MinecraftServer;
-
getConnections
- Mappings:
Namespace Name Mixin selector official eLaix;e()Ljava/util/List;intermediary method_37909Lnet/minecraft/class_3242;method_37909()Ljava/util/List;named getConnectionsLnet/minecraft/server/ServerNetworkIo;getConnections()Ljava/util/List;
-