Class RconClient

java.lang.Object
net.minecraft.server.rcon.RconBase
net.minecraft.server.rcon.RconClient
All Implemented Interfaces:
Runnable

public class RconClient
extends RconBase
Mappings:
Namespace Name
official aem
intermediary net/minecraft/class_3389
named net/minecraft/server/rcon/RconClient
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Laem;d:Lorg/apache/logging/log4j/Logger;
      intermediary field_14491 Lnet/minecraft/class_3389;field_14491:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/rcon/RconClient;LOGGER:Lorg/apache/logging/log4j/Logger;
    • authenticated

      private boolean authenticated
      Mappings:
      Namespace Name Mixin selector
      official e Laem;e:Z
      intermediary field_14488 Lnet/minecraft/class_3389;field_14488:Z
      named authenticated Lnet/minecraft/server/rcon/RconClient;authenticated:Z
    • socket

      private final Socket socket
      Mappings:
      Namespace Name Mixin selector
      official f Laem;f:Ljava/net/Socket;
      intermediary field_14489 Lnet/minecraft/class_3389;field_14489:Ljava/net/Socket;
      named socket Lnet/minecraft/server/rcon/RconClient;socket:Ljava/net/Socket;
    • packetBuffer

      private final byte[] packetBuffer
      Mappings:
      Namespace Name Mixin selector
      official g Laem;g:[B
      intermediary field_14490 Lnet/minecraft/class_3389;field_14490:[B
      named packetBuffer Lnet/minecraft/server/rcon/RconClient;packetBuffer:[B
    • password

      private final String password
      Mappings:
      Namespace Name Mixin selector
      official h Laem;h:Ljava/lang/String;
      intermediary field_14492 Lnet/minecraft/class_3389;field_14492:Ljava/lang/String;
      named password Lnet/minecraft/server/rcon/RconClient;password:Ljava/lang/String;
    • server

      private final DedicatedServer server
      Mappings:
      Namespace Name Mixin selector
      official i Laem;i:Lwy;
      intermediary field_23965 Lnet/minecraft/class_3389;field_23965:Lnet/minecraft/class_2994;
      named server Lnet/minecraft/server/rcon/RconClient;server:Lnet/minecraft/server/dedicated/DedicatedServer;
  • Constructor Details

    • RconClient

      RconClient​(DedicatedServer server, String password, Socket socket)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laem;<init>(Lwy;Ljava/lang/String;Ljava/net/Socket;)V
      intermediary <init> Lnet/minecraft/class_3389;<init>(Lnet/minecraft/class_2994;Ljava/lang/String;Ljava/net/Socket;)V
      named <init> Lnet/minecraft/server/rcon/RconClient;<init>(Lnet/minecraft/server/dedicated/DedicatedServer;Ljava/lang/String;Ljava/net/Socket;)V
  • Method Details

    • run

      public void run()
      Mappings:
      Namespace Name Mixin selector
      official run Laem;run()V
      intermediary run Lnet/minecraft/class_3389;run()V
      named run Lnet/minecraft/server/rcon/RconClient;run()V
    • respond

      private void respond​(int sessionToken, int responseType, String message) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laem;a(IILjava/lang/String;)V
      intermediary method_14790 Lnet/minecraft/class_3389;method_14790(IILjava/lang/String;)V
      named respond Lnet/minecraft/server/rcon/RconClient;respond(IILjava/lang/String;)V
    • fail

      private void fail() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official d Laem;d()V
      intermediary method_14787 Lnet/minecraft/class_3389;method_14787()V
      named fail Lnet/minecraft/server/rcon/RconClient;fail()V
    • respond

      private void respond​(int sessionToken, String message) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laem;a(ILjava/lang/String;)V
      intermediary method_14789 Lnet/minecraft/class_3389;method_14789(ILjava/lang/String;)V
      named respond Lnet/minecraft/server/rcon/RconClient;respond(ILjava/lang/String;)V
    • stop

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

      private void close()
      Mappings:
      Namespace Name Mixin selector
      official e Laem;e()V
      intermediary method_14788 Lnet/minecraft/class_3389;method_14788()V
      named close Lnet/minecraft/server/rcon/RconClient;close()V