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 alz
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 Lalz;d:Lorg/slf4j/Logger;
      intermediary field_14491 Lnet/minecraft/class_3389;field_14491:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/rcon/RconClient;LOGGER:Lorg/slf4j/Logger;
    • field_29799

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

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

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

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

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

      private boolean authenticated
      Mappings:
      Namespace Name Mixin selector
      official j Lalz;j: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 k Lalz;k: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 l Lalz;l:[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 m Lalz;m: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 n Lalz;n:Ladf;
      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> Lalz;<init>(Ladf;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()
    • respond

      private void respond(int sessionToken, int responseType, String message) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lalz;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 Lalz;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 Lalz;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 Lalx;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 Lalz;e()V
      intermediary method_14788 Lnet/minecraft/class_3389;method_14788()V
      named close Lnet/minecraft/server/rcon/RconClient;close()V