Interface NotifyingStreamCallback

All Known Implementing Classes:
OverflowDetectorCallback

public interface NotifyingStreamCallback
This interface defines a callback used by notifying streams to provide notifications of the bytes read, written or skipped.
Author:
Laurent Cohen
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bytesNotification(long length)
    Notify that some bytes were read, written or skipped.
  • Method Details

    • bytesNotification

      void bytesNotification(long length) throws IOException
      Notify that some bytes were read, written or skipped.
      Parameters:
      length - the number of bytes.
      Throws:
      IOException - if any I/O error occurs.