daemon/core/session.py
def addevent(self, etime, node=None, name=None, data=None):
        ''' Add an event to the event queue, with a start time relative to the
            start of the runtime state.
        '''
        etime = float(etime)
        runtime = self.runtime()
        if runtime > 0.0:
            if time <= runtime:
                self.warn("Could not schedule past event for time %s " \
                          "(run time is now %s)" % (time, runtime))
                return
            etime = etime - runtime
        func = self.runevent
        self.evq.add_event(etime, func, node=node, name=name, data=data)
        if name is None:
            name = ""
        self.info("scheduled event %s at time %s data=%s" % \
                  (name, etime + runtime, data))
 Add an event to the event queue, with a start time relative to the
            start of the runtime state.
        
Add an event to the event queue, with a start time relative to the
start of the runtime state.
Add an event to the event queue with a start time relative to the start of the runtime state .
def addevent(self, etime, node=None, name=None, data=None):
        etime = float(etime)
        runtime = self.runtime()
        if runtime > 0.0:
            if time <= runtime:
                self.warn("Could not schedule past event for time %s " \
                          "(run time is now %s)" % (time, runtime))
                return
            etime = etime - runtime
        func = self.runevent
        self.evq.add_event(etime, func, node=node, name=name, data=data)
        if name is None:
            name = ""
        self.info("scheduled event %s at time %s data=%s" % \
                  (name, etime + runtime, data))
def addevent ( self , etime , node = None , name = None , data = None ) : etime = float ( etime ) runtime = self . runtime ( ) if runtime > 0.0 : if time <= runtime : self . warn ( "Could not schedule past event for time %s " "(run time is now %s)" % ( time , runtime ) ) return etime = etime - runtime func = self . runevent self . evq . add_event ( etime , func , node = node , name = name , data = data ) if name is None : name = "" self . info ( "scheduled event %s at time %s data=%s" % ( name , etime + runtime , data ) )
Add an event to the event queue, with a start time relative to the
start of the runtime state.
Add an event to the event queue with a start time relative to the start of the runtime state .
''' Add an event to the event queue, with a start time relative to the
            start of the runtime state.
        '''
self
etime
node
name
data