Package flumotion :: Package component :: Package base :: Module scheduler :: Class ICalScheduler
[hide private]

Class ICalScheduler

source code

extern.log.log.Loggable --+    
                          |    
                  Scheduler --+
                              |
                             ICalScheduler

Instance Methods [hide private]
 
__init__(self, fileObj)
I am a scheduler that takes its data from an ical file and watches that file every timeout.
source code
 
stopWatchingIcalFile(self)
Stop watching the ical file.
source code
 
cleanup(self)
Clean up all resources used by this scheduler.
source code
 
_parseFromFile(self, f) source code

Inherited from Scheduler: getCalendar, getPoints, setCalendar, subscribe, unsubscribe

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  watcher = None
hash(x)

Inherited from Scheduler: windowSize

Inherited from extern.log.log.Loggable: __implemented__, logCategory

Method Details [hide private]

__init__(self, fileObj)
(Constructor)

source code 

I am a scheduler that takes its data from an ical file and watches that file every timeout.

Parameters:
  • fileObj (file handle) - The fileObj. It must be already opened.
Overrides: Scheduler.__init__

cleanup(self)

source code 

Clean up all resources used by this scheduler.

This cancels all pending scheduling calls.

Overrides: Scheduler.cleanup
(inherited documentation)