Package org.jppf.utils.streams
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 TypeMethodDescriptionvoidbytesNotification(long length) Notify that some bytes were read, written or skipped.
-
Method Details
-
bytesNotification
Notify that some bytes were read, written or skipped.- Parameters:
length- the number of bytes.- Throws:
IOException- if any I/O error occurs.
-