rescheduleEvent overloads

Synopses

Declared in <bdlmt_timereventscheduler.h>

Reschedule the event identified by handle to a new time.

int
rescheduleEvent(
    Handle handle,
    bsls::TimeInterval const& newTime,
    bool wait = false);

Same as the preceding overload, with the specified key.

int
rescheduleEvent(
    Handle handle,
    EventKey const& key,
    bsls::TimeInterval const& newTime,
    bool wait = false);

Return Value

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

Parameters

Name

Description

handle

identifier of the event to reschedule

newTime

new absolute dispatch time

wait

if true, wait until the event is rescheduled or dispatched

key

key uniquely identifying the event

Created with MrDocs