Interface AoservDaemonConnector.DumpSizeCallback

Enclosing class:
AoservDaemonConnector
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AoservDaemonConnector.DumpSizeCallback
Called once the dump size is known and before the stream is written to.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDumpSize(long dumpSize)
    Called once the dump size is known and before the stream is written to.
  • Method Details

    • onDumpSize

      void onDumpSize(long dumpSize) throws IOException
      Called once the dump size is known and before the stream is written to.
      Parameters:
      dumpSize - The number of bytes that will be transferred or -1 if unknown
      Throws:
      IOException