org.jppf.utils.streams
Interface NotifyingStreamCallback


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:
NotifyingInputStream, NotifyingOutputStream

Method Summary
 void bytesNotification(long length)
          Notify that some bytes were read, written or skipped.
 

Method Detail

bytesNotification

void bytesNotification(long length)
Notify that some bytes were read, written or skipped.

Parameters:
length - the number of bytes.


Copyright © 2005-2010 JPPF Team.