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 awz
  • 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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;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 Lawz;n:Lamq;
  • 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> Lawz;<init>(Lamq;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 Lawz;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 Lawz;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 Lawz;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 Lawx;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 Lawz;e()V