Package net.minecraft.server.rcon
Class RconListener
java.lang.Object
net.minecraft.server.rcon.RconBase
net.minecraft.server.rcon.RconListener
- All Implemented Interfaces:
Runnable
public class RconListener extends RconBase
- Mappings:
Namespace Name official aeb
intermediary net/minecraft/class_3408
named net/minecraft/server/rcon/RconListener
-
Field Summary
Fields Modifier and Type Field Description private List<RconClient>
clients
private ServerSocket
listener
private String
password
private DedicatedServer
server
private static Logger
SERVER_LOGGER
Fields inherited from class net.minecraft.server.rcon.RconBase
description, running, thread
-
Constructor Summary
Constructors Modifier Constructor Description private
RconListener(DedicatedServer dedicatedServer, ServerSocket serverSocket, String string)
-
Method Summary
Modifier and Type Method Description private void
closeSocket(ServerSocket socket)
static RconListener
create(DedicatedServer server)
private void
removeStoppedClients()
void
run()
void
stop()
-
Field Details
-
SERVER_LOGGER
- Mappings:
Namespace Name Mixin selector official d
Laeb;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
Laeb;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
Laeb;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
Laeb;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
Laeb;h:Lwo;
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
-
-
Method Details
-
removeStoppedClients
private void removeStoppedClients()- Mappings:
Namespace Name Mixin selector official d
Laeb;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()- Mappings:
Namespace Name Mixin selector official run
Laeb;run()V
intermediary run
Lnet/minecraft/class_3408;run()V
named run
Lnet/minecraft/server/rcon/RconListener;run()V
-
create
- Mappings:
Namespace Name Mixin selector official a
Laeb;a(Lwo;)Laeb;
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
Laeb;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
-