Reschedule the event referred to by handle to newEpochTime.

Synopsis

Declared in <bdlmt_eventscheduler.h>

int
rescheduleEvent(
    Event const* handle,
    bsls::TimeInterval const& newEpochTime);

Description

Reschedule the event referred to by the specified handle at the specified newEpochTime truncated to microseconds. Return 0 on successful reschedule, and a non‐zero value if the handle is invalid or if the event has already been dispatched. The newEpochTime is an absolute time represented as an interval from some epoch, which is determined by the clock indicated at construction (see {Supported Clock Types} in the component documentation).

Return Value

0 on successful reschedule, and a non‐zero value otherwise

Parameters

Name

Description

handle

event to reschedule

newEpochTime

new absolute time at which to dispatch the event

Created with MrDocs