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
named net/minecraft/server/rcon/RconClient
intermediary net/minecraft/class_3389
official avu
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/rcon/RconClient;LOGGER:Lorg/slf4j/Logger;
      intermediary field_14491 Lnet/minecraft/class_3389;field_14491:Lorg/slf4j/Logger;
      official d Lavu;d:Lorg/slf4j/Logger;
    • field_29799

      private static final int field_29799
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29799 Lnet/minecraft/server/rcon/RconClient;field_29799:I
      intermediary field_29799 Lnet/minecraft/class_3389;field_29799:I
      official e Lavu;e:I
    • field_29800

      private static final int field_29800
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29800 Lnet/minecraft/server/rcon/RconClient;field_29800:I
      intermediary field_29800 Lnet/minecraft/class_3389;field_29800:I
      official f Lavu;f:I
    • field_29801

      private static final int field_29801
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29801 Lnet/minecraft/server/rcon/RconClient;field_29801:I
      intermediary field_29801 Lnet/minecraft/class_3389;field_29801:I
      official g Lavu;g:I
    • field_29802

      private static final int field_29802
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29802 Lnet/minecraft/server/rcon/RconClient;field_29802:I
      intermediary field_29802 Lnet/minecraft/class_3389;field_29802:I
      official h Lavu;h:I
    • field_29803

      private static final int field_29803
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29803 Lnet/minecraft/server/rcon/RconClient;field_29803:I
      intermediary field_29803 Lnet/minecraft/class_3389;field_29803:I
      official i Lavu;i:I
    • authenticated

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

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

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

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

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

    • RconClient

      RconClient(DedicatedServer server, String password, Socket socket)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/rcon/RconClient;<init>(Lnet/minecraft/server/dedicated/DedicatedServer;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
      official <init> Lavu;<init>(Lalw;Ljava/lang/String;Ljava/net/Socket;)V
  • Method Details

    • run

      public void run()
    • respond

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

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

      private void respond(int sessionToken, String message) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named respond Lnet/minecraft/server/rcon/RconClient;respond(ILjava/lang/String;)V
      intermediary method_14789 Lnet/minecraft/class_3389;method_14789(ILjava/lang/String;)V
      official a Lavu;a(ILjava/lang/String;)V
    • 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 Lavs;b()V
    • close

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