Class FileDownload.DownloadCountingOutputStream

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

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

    • listener

      Mappings:
      Namespace Name Mixin selector
      official a Ldsi$a;a: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 outputStream)
  • Method Details

    • setListener

      public void setListener(ActionListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsi$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 Ldsi$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