speedscheduler.io
Interface ScheduleIO

All Known Implementing Classes:
BinaryScheduleIO, SchedulePersistencyManager.XmlScheduleIO, XmlScheduleIO

public interface ScheduleIO

The SchedulePersistencyManager utilizes implementations of ScheduleIO to persist and unpersist (save and load) user-defined schedules. Implement this interface if you want the SchedulePersistencyManager to use your implementation for persisting schedules.


Method Summary
 int getDefaultMaxDownloadRate()
           
 int getDefaultMaxUploadRate()
           
 java.util.Vector getSchedules()
           
 void loadSchedules()
           
 void saveSchedules(java.util.Vector schedulesToSave, int defaultMaxUploadRate, int defaultMaxDownloadRate)
           
 

Method Detail

saveSchedules

public void saveSchedules(java.util.Vector schedulesToSave,
                          int defaultMaxUploadRate,
                          int defaultMaxDownloadRate)
                   throws java.io.IOException
Throws:
java.io.IOException

loadSchedules

public void loadSchedules()
                   throws java.io.IOException
Throws:
java.io.IOException

getSchedules

public java.util.Vector getSchedules()

getDefaultMaxUploadRate

public int getDefaultMaxUploadRate()

getDefaultMaxDownloadRate

public int getDefaultMaxDownloadRate()