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

◆ PollObeyOverride()

virtual bool drama::git::Task::PollObeyOverride ( MessageHandler messageHandler)
virtual

Poll action obey implementation override.

This method allows the sub-class to override specific poll action operations.

The default implementation does nothing and returns false.

Warning - NOT threaded, so can't send messages using DRAMA2. If you need that ability, then you will need to implement an entirely new POLL action.

Parameters
messageHandlerThe POLL action message handler. An implementor can access the reason for the entry using messageHandler->GetEntry(), output messages using messageHandler->MessageUser(), and can access the argument using GetEntry.Argument().
Note
This method is not intended to be called by user code, it must be public only because of the git::task implementation structure.
Returns
Return true if the message has been handled and false to indicate the default handling should happen. This allows the user code to handle only some messages, and leave the rest to the defaults.