Package net.minecraft.server.rcon
Class RconListener
java.lang.Object
net.minecraft.server.rcon.RconBase
net.minecraft.server.rcon.RconListener
- All Implemented Interfaces:
Runnable
- Mappings:
Namespace Name official agk
intermediary net/minecraft/class_3408
named net/minecraft/server/rcon/RconListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<RconClient>
private final ServerSocket
private final String
private final DedicatedServer
private static final Logger
Fields inherited from class net.minecraft.server.rcon.RconBase
description, running, thread
-
Constructor Summary
ModifierConstructorDescriptionprivate
RconListener
(DedicatedServer server, ServerSocket listener, String password) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
closeSocket
(ServerSocket socket) static @Nullable RconListener
create
(DedicatedServer server) private void
void
run()
void
stop()
-
Field Details
-
SERVER_LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lagk;d:Lorg/apache/logging/log4j/Logger;
intermediary field_23966
Lnet/minecraft/class_3408;field_23966:Lorg/apache/logging/log4j/Logger;
named SERVER_LOGGER
Lnet/minecraft/server/rcon/RconListener;SERVER_LOGGER:Lorg/apache/logging/log4j/Logger;
-
listener
- Mappings:
Namespace Name Mixin selector official e
Lagk;e:Ljava/net/ServerSocket;
intermediary field_14511
Lnet/minecraft/class_3408;field_14511:Ljava/net/ServerSocket;
named listener
Lnet/minecraft/server/rcon/RconListener;listener:Ljava/net/ServerSocket;
-
password
- Mappings:
Namespace Name Mixin selector official f
Lagk;f:Ljava/lang/String;
intermediary field_14512
Lnet/minecraft/class_3408;field_14512:Ljava/lang/String;
named password
Lnet/minecraft/server/rcon/RconListener;password:Ljava/lang/String;
-
clients
- Mappings:
Namespace Name Mixin selector official g
Lagk;g:Ljava/util/List;
intermediary field_14514
Lnet/minecraft/class_3408;field_14514:Ljava/util/List;
named clients
Lnet/minecraft/server/rcon/RconListener;clients:Ljava/util/List;
-
server
- Mappings:
Namespace Name Mixin selector official h
Lagk;h:Lyo;
intermediary field_23967
Lnet/minecraft/class_3408;field_23967:Lnet/minecraft/class_2994;
named server
Lnet/minecraft/server/rcon/RconListener;server:Lnet/minecraft/server/dedicated/DedicatedServer;
-
-
Constructor Details
-
RconListener
- Mappings:
Namespace Name Mixin selector official <init>
Lagk;<init>(Lyo;Ljava/net/ServerSocket;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3408;<init>(Lnet/minecraft/class_2994;Ljava/net/ServerSocket;Ljava/lang/String;)V
named <init>
Lnet/minecraft/server/rcon/RconListener;<init>(Lnet/minecraft/server/dedicated/DedicatedServer;Ljava/net/ServerSocket;Ljava/lang/String;)V
-
-
Method Details
-
removeStoppedClients
private void removeStoppedClients()- Mappings:
Namespace Name Mixin selector official d
Lagk;d()V
intermediary method_14820
Lnet/minecraft/class_3408;method_14820()V
named removeStoppedClients
Lnet/minecraft/server/rcon/RconListener;removeStoppedClients()V
-
run
public void run() -
create
- Mappings:
Namespace Name Mixin selector official a
Lagk;a(Lyo;)Lagk;
intermediary method_30738
Lnet/minecraft/class_3408;method_30738(Lnet/minecraft/class_2994;)Lnet/minecraft/class_3408;
named create
Lnet/minecraft/server/rcon/RconListener;create(Lnet/minecraft/server/dedicated/DedicatedServer;)Lnet/minecraft/server/rcon/RconListener;
-
stop
public void stop() -
closeSocket
- Mappings:
Namespace Name Mixin selector official a
Lagk;a(Ljava/net/ServerSocket;)V
intermediary method_27176
Lnet/minecraft/class_3408;method_27176(Ljava/net/ServerSocket;)V
named closeSocket
Lnet/minecraft/server/rcon/RconListener;closeSocket(Ljava/net/ServerSocket;)V
-