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

◆ Poll()

virtual void drama::git::Path::Poll ( thread::TMessHandler action)
virtual

Send POLL to the GIT task

The POLL action is sent to the task. This method blocks until it completes (normal DRAMA 2 approach).

If POLL fails, it will be restarted, up to the number of attempts set by SetPollMaxAttempts(), except that if it is clear the task has died or we are canceling polling, then it will not be restarted.

If the POLL action is rejected due to already being active, then the running POLL action will be canceled and restarted by this task. This feature allows our task to take over polling that was started somewhere else.

Parameters
actionA pointer to the threaded action which is executing this operation.