Class FileDownload.DownloadCountingOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
FileDownload

@Environment(CLIENT)
class FileDownload.DownloadCountingOutputStream
extends CountingOutputStream
Mappings:
Namespace Name
official dmd$a
intermediary net/minecraft/class_4333$class_4334
named net/minecraft/client/realms/FileDownload$DownloadCountingOutputStream
  • Field Details

    • listener

      private ActionListener listener
      Mappings:
      Namespace Name Mixin selector
      official b Ldmd$a;b:Ljava/awt/event/ActionListener;
      intermediary field_19539 Lnet/minecraft/class_4333$class_4334;field_19539:Ljava/awt/event/ActionListener;
      named listener Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;listener:Ljava/awt/event/ActionListener;
  • Constructor Details

    • DownloadCountingOutputStream

      public DownloadCountingOutputStream​(OutputStream out)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldmd$a;<init>(Ldmd;Ljava/io/OutputStream;)V
      intermediary <init> Lnet/minecraft/class_4333$class_4334;<init>(Lnet/minecraft/class_4333;Ljava/io/OutputStream;)V
      named <init> Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;<init>(Lnet/minecraft/client/realms/FileDownload;Ljava/io/OutputStream;)V
  • Method Details

    • setListener

      public void setListener​(ActionListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmd$a;a(Ljava/awt/event/ActionListener;)V
      intermediary method_20969 Lnet/minecraft/class_4333$class_4334;method_20969(Ljava/awt/event/ActionListener;)V
      named setListener Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;setListener(Ljava/awt/event/ActionListener;)V
    • afterWrite

      protected void afterWrite​(int n) throws IOException
      Overrides:
      afterWrite in class ProxyOutputStream
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official afterWrite Ldmd$a;afterWrite(I)V
      intermediary afterWrite Lnet/minecraft/class_4333$class_4334;afterWrite(I)V
      named afterWrite Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;afterWrite(I)V