speedscheduler.io
Interface ScheduleIO
- All Known Implementing Classes:
- BinaryScheduleIO, 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.
saveSchedules
void saveSchedules(java.util.Vector schedulesToSave,
int defaultMaxUploadSpeed,
int defaultMaxDownloadSpeed)
throws java.io.IOException
- Throws:
java.io.IOException
saveDefaultSpeeds
void saveDefaultSpeeds(int defaultMaxUploadSpeed,
int defaultMaxDownloadSpeed)
throws java.io.IOException
- Throws:
java.io.IOException
loadSchedules
void loadSchedules()
throws java.io.IOException
- Throws:
java.io.IOException
getSchedules
java.util.Vector getSchedules()
getDefaultMaxUploadSpeed
int getDefaultMaxUploadSpeed()
getDefaultMaxDownloadSpeed
int getDefaultMaxDownloadSpeed()