Class ConnectionListener

java.lang.Object
net.minecraft.server.network.ConnectionListener

@Environment(SERVER) public class ConnectionListener extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_9
glue class_105
server cu
client net/minecraft/class_9
named net/minecraft/server/network/ConnectionListener
  • Field Details

    • LOGGER

      public static Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      intermediary field_28 Lnet/minecraft/class_9;field_28:Ljava/util/logging/Logger;
      glue field_263 Lclass_105;field_263:Ljava/util/logging/Logger;
      server a Lcu;a:Ljava/util/logging/Logger;
      client field_28 Lnet/minecraft/class_9;field_28:Ljava/util/logging/Logger;
      named LOGGER Lnet/minecraft/server/network/ConnectionListener;LOGGER:Ljava/util/logging/Logger;
    • socket

      private ServerSocket socket
      Mappings:
      Namespace Name Mixin selector
      intermediary field_31 Lnet/minecraft/class_9;field_31:Ljava/net/ServerSocket;
      glue field_266 Lclass_105;field_266:Ljava/net/ServerSocket;
      server d Lcu;d:Ljava/net/ServerSocket;
      client field_31 Lnet/minecraft/class_9;field_31:Ljava/net/ServerSocket;
      named socket Lnet/minecraft/server/network/ConnectionListener;socket:Ljava/net/ServerSocket;
    • thread

      private Thread thread
      Mappings:
      Namespace Name Mixin selector
      intermediary field_32 Lnet/minecraft/class_9;field_32:Ljava/lang/Thread;
      glue field_267 Lclass_105;field_267:Ljava/lang/Thread;
      server e Lcu;e:Ljava/lang/Thread;
      client field_32 Lnet/minecraft/class_9;field_32:Ljava/lang/Thread;
      named thread Lnet/minecraft/server/network/ConnectionListener;thread:Ljava/lang/Thread;
    • open

      public volatile boolean open
      Mappings:
      Namespace Name Mixin selector
      intermediary field_29 Lnet/minecraft/class_9;field_29:Z
      glue field_264 Lclass_105;field_264:Z
      server b Lcu;b:Z
      client field_29 Lnet/minecraft/class_9;field_29:Z
      named open Lnet/minecraft/server/network/ConnectionListener;open:Z
    • connectionCounter

      private int connectionCounter
      Mappings:
      Namespace Name Mixin selector
      intermediary field_33 Lnet/minecraft/class_9;field_33:I
      glue field_268 Lclass_105;field_268:I
      server f Lcu;f:I
      client field_33 Lnet/minecraft/class_9;field_33:I
      named connectionCounter Lnet/minecraft/server/network/ConnectionListener;connectionCounter:I
    • pendingConnections

      private ArrayList pendingConnections
      ArrayList of ServerLoginNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary field_34 Lnet/minecraft/class_9;field_34:Ljava/util/ArrayList;
      glue field_269 Lclass_105;field_269:Ljava/util/ArrayList;
      server g Lcu;g:Ljava/util/ArrayList;
      client field_34 Lnet/minecraft/class_9;field_34:Ljava/util/ArrayList;
      named pendingConnections Lnet/minecraft/server/network/ConnectionListener;pendingConnections:Ljava/util/ArrayList;
    • connections

      private ArrayList connections
      ArrayList of ServerPlayNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary field_35 Lnet/minecraft/class_9;field_35:Ljava/util/ArrayList;
      glue field_270 Lclass_105;field_270:Ljava/util/ArrayList;
      server h Lcu;h:Ljava/util/ArrayList;
      client field_35 Lnet/minecraft/class_9;field_35:Ljava/util/ArrayList;
      named connections Lnet/minecraft/server/network/ConnectionListener;connections:Ljava/util/ArrayList;
    • server

      public MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      intermediary field_30 Lnet/minecraft/class_9;field_30:Lnet/minecraft/server/MinecraftServer;
      glue field_265 Lclass_105;field_265:Lnet/minecraft/server/MinecraftServer;
      server c Lcu;c:Lnet/minecraft/server/MinecraftServer;
      client field_30 Lnet/minecraft/class_9;field_30:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/network/ConnectionListener;server:Lnet/minecraft/server/MinecraftServer;
  • Constructor Details

    • ConnectionListener

      public ConnectionListener(MinecraftServer server, InetAddress address, int port)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_9;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/net/InetAddress;I)V
      glue <init> Lclass_105;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/net/InetAddress;I)V
      server <init> Lcu;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/net/InetAddress;I)V
      client <init> Lnet/minecraft/class_9;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/net/InetAddress;I)V
      named <init> Lnet/minecraft/server/network/ConnectionListener;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/net/InetAddress;I)V
  • Method Details

    • addConnection

      public void addConnection(ServerPlayNetworkHandler connection)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_38 Lnet/minecraft/class_9;method_38(Lnet/minecraft/class_11;)V
      glue method_336 Lclass_105;method_336(Lclass_269;)V
      server a Lcu;a(Lha;)V
      client method_38 Lnet/minecraft/class_9;method_38(Lnet/minecraft/class_11;)V
      named addConnection Lnet/minecraft/server/network/ConnectionListener;addConnection(Lnet/minecraft/server/network/ServerPlayNetworkHandler;)V
    • addPendingConnection

      private void addPendingConnection(ServerLoginNetworkHandler connection)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_37 Lnet/minecraft/class_9;method_37(Lnet/minecraft/class_10;)V
      glue method_335 Lclass_105;method_335(Lclass_160;)V
      server a Lcu;a(Lee;)V
      client method_37 Lnet/minecraft/class_9;method_37(Lnet/minecraft/class_10;)V
      named addPendingConnection Lnet/minecraft/server/network/ConnectionListener;addPendingConnection(Lnet/minecraft/server/network/ServerLoginNetworkHandler;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_34 Lnet/minecraft/class_9;method_34()V
      glue method_332 Lclass_105;method_332()V
      server a Lcu;a()V
      client method_34 Lnet/minecraft/class_9;method_34()V
      named tick Lnet/minecraft/server/network/ConnectionListener;tick()V