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

Class ICalScheduler

source code

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

I am a scheduler that takes its data from an ical file.

Instance Methods [hide private]
 
__init__(self, fileObj) source code
 
parseCalendar(self, cal)
Take a Calendar object and return a list of Event objects.
source code

Inherited from Scheduler: addEvent, addEvents, getCurrentEvents, removeEvent, replaceEvents, subscribe, unsubscribe

Inherited from Scheduler (private): _eventStarted, _eventStopped, _reschedule

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

Class Variables [hide private]

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

Method Details [hide private]

__init__(self, fileObj)
(Constructor)

source code 
Overrides: Scheduler.__init__

parseCalendar(self, cal)

source code 

Take a Calendar object and return a list of Event objects.

Parameters:
  • cal (icalendar.Calendar @rtype List of {flumotion.component.base.scheduler.Event}) - The calendar to "parse"