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

    • SERVER_LOGGER

      private static final Logger SERVER_LOGGER
      Mappings:
      Namespace Name Mixin selector
      named SERVER_LOGGER Lnet/minecraft/server/rcon/RconListener;SERVER_LOGGER:Lorg/slf4j/Logger;
      intermediary field_23966 Lnet/minecraft/class_3408;field_23966:Lorg/slf4j/Logger;
      official d Laxa;d:Lorg/slf4j/Logger;
    • listener

      private final ServerSocket listener
      Mappings:
      Namespace Name Mixin selector
      named listener Lnet/minecraft/server/rcon/RconListener;listener:Ljava/net/ServerSocket;
      intermediary field_14511 Lnet/minecraft/class_3408;field_14511:Ljava/net/ServerSocket;
      official e Laxa;e:Ljava/net/ServerSocket;
    • password

      private final String password
      Mappings:
      Namespace Name Mixin selector
      named password Lnet/minecraft/server/rcon/RconListener;password:Ljava/lang/String;
      intermediary field_14512 Lnet/minecraft/class_3408;field_14512:Ljava/lang/String;
      official f Laxa;f:Ljava/lang/String;
    • clients

      private final List<RconClient> clients
      Mappings:
      Namespace Name Mixin selector
      named clients Lnet/minecraft/server/rcon/RconListener;clients:Ljava/util/List;
      intermediary field_14514 Lnet/minecraft/class_3408;field_14514:Ljava/util/List;
      official g Laxa;g:Ljava/util/List;
    • server

      private final DedicatedServer server
      Mappings:
      Namespace Name Mixin selector
      named server Lnet/minecraft/server/rcon/RconListener;server:Lnet/minecraft/server/dedicated/DedicatedServer;
      intermediary field_23967 Lnet/minecraft/class_3408;field_23967:Lnet/minecraft/class_2994;
      official h Laxa;h:Lamq;
  • Constructor Details

    • RconListener

      private RconListener(DedicatedServer server, ServerSocket listener, String password)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/rcon/RconListener;<init>(Lnet/minecraft/server/dedicated/DedicatedServer;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
      official <init> Laxa;<init>(Lamq;Ljava/net/ServerSocket;Ljava/lang/String;)V
  • Method Details

    • removeStoppedClients

      private void removeStoppedClients()
      Mappings:
      Namespace Name Mixin selector
      named removeStoppedClients Lnet/minecraft/server/rcon/RconListener;removeStoppedClients()V
      intermediary method_14820 Lnet/minecraft/class_3408;method_14820()V
      official d Laxa;d()V
    • run

      public void run()
    • create

      @Nullable public static @Nullable RconListener create(DedicatedServer server)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/server/rcon/RconListener;create(Lnet/minecraft/server/dedicated/DedicatedServer;)Lnet/minecraft/server/rcon/RconListener;
      intermediary method_30738 Lnet/minecraft/class_3408;method_30738(Lnet/minecraft/class_2994;)Lnet/minecraft/class_3408;
      official a Laxa;a(Lamq;)Laxa;
    • stop

      public void stop()
      Overrides:
      stop in class RconBase
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/server/rcon/RconBase;stop()V
      intermediary method_18050 Lnet/minecraft/class_3359;method_18050()V
      official b Lawx;b()V
    • closeSocket

      private void closeSocket(ServerSocket socket)
      Mappings:
      Namespace Name Mixin selector
      named closeSocket Lnet/minecraft/server/rcon/RconListener;closeSocket(Ljava/net/ServerSocket;)V
      intermediary method_27176 Lnet/minecraft/class_3408;method_27176(Ljava/net/ServerSocket;)V
      official a Laxa;a(Ljava/net/ServerSocket;)V