de.scheisseichfindemalkeinen.queue
Interface IQueueDataListener

All Known Implementing Classes:
Queue, SystemTrayTool

public interface IQueueDataListener

Interface of QueueData to let listeners know when downloads-slots where changed or the count of downloaded files or bytes has changed.


Method Summary
 void queueChanged(int queue, int openSlots, int maxSlots)
          Download-Slots has changed.
 void sessionDownloadedBytesChanged(long count)
          Changes of the count of downloaded bytes since application started
 void sessionDownloadedFilesChanged(int count)
          Changes of the count of downloaded files since application started
 

Method Detail

queueChanged

void queueChanged(int queue,
                  int openSlots,
                  int maxSlots)
Download-Slots has changed.

Parameters:
queue - Amount of downloads in the queue
openSlots - Free download-slots
maxSlots - Maximum download-slots

sessionDownloadedFilesChanged

void sessionDownloadedFilesChanged(int count)
Changes of the count of downloaded files since application started

Parameters:
count - Count of downloaded files

sessionDownloadedBytesChanged

void sessionDownloadedBytesChanged(long count)
Changes of the count of downloaded bytes since application started

Parameters:
count - Count of downloaded bytes