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 ajr
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 org.slf4j.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
private static final org.slf4j.Logger SERVER_LOGGER- Mappings:
Namespace Name Mixin selector official d
Lajr;d:Lorg/slf4j/Logger;
intermediary field_23966
Lnet/minecraft/class_3408;field_23966:Lorg/slf4j/Logger;
named SERVER_LOGGER
Lnet/minecraft/server/rcon/RconListener;SERVER_LOGGER:Lorg/slf4j/Logger;
-
listener
- Mappings:
Namespace Name Mixin selector official e
Lajr;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
Lajr;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
Lajr;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
Lajr;h:Labp;
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>
Lajr;<init>(Labp;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
Lajr;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
Lajr;a(Labp;)Lajr;
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
Lajr;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
-