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 amc
intermediary net/minecraft/class_3408
named net/minecraft/server/rcon/RconListener
  • Field Details

    • SERVER_LOGGER

      private static final Logger SERVER_LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lamc;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

      private final ServerSocket listener
      Mappings:
      Namespace Name Mixin selector
      official e Lamc;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

      private final String password
      Mappings:
      Namespace Name Mixin selector
      official f Lamc;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

      private final List<RconClient> clients
      Mappings:
      Namespace Name Mixin selector
      official g Lamc;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

      private final DedicatedServer server
      Mappings:
      Namespace Name Mixin selector
      official h Lamc;h:Ladf;
      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

      private RconListener(DedicatedServer server, ServerSocket listener, String password)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lamc;<init>(Ladf;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 Lamc;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

      @Nullable public static @Nullable RconListener create(DedicatedServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;a(Ladf;)Lamc;
      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()
      Overrides:
      stop in class RconBase
      Mappings:
      Namespace Name Mixin selector
      official b Lalz;b()V
      intermediary method_18050 Lnet/minecraft/class_3359;method_18050()V
      named stop Lnet/minecraft/server/rcon/RconBase;stop()V
    • closeSocket

      private void closeSocket(ServerSocket socket)
      Mappings:
      Namespace Name Mixin selector
      official a Lamc;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