AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ PollRescheduleRequest()

virtual Request drama::git::Task::PollRescheduleRequest ( )
virtual

PollRescheduleRequest.

Return the appropriate reschedule event for the poll action.

Whilst a sub-class could override this, that should be done with care as the intended behavior is simply that the value in the POLL_PARAMETER parameter is used to determine the reschedule event.

Returns
The appropriate request based value of the poll parameter. If the parameter has a value <= zero, then the request is to sleep the action indefinitely. If the value is greater then 24 hours, then 24 hours is the request, otherwise the value in the parameter.