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.


Method Summary
 int getDefaultMaxDownloadSpeed()
           
 int getDefaultMaxUploadSpeed()
           
 java.util.Vector getSchedules()
           
 void loadSchedules()
           
 void saveDefaultSpeeds(int defaultMaxUploadSpeed, int defaultMaxDownloadSpeed)
           
 void saveSchedules(java.util.Vector schedulesToSave, int defaultMaxUploadSpeed, int defaultMaxDownloadSpeed)
           
 

Method Detail

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()