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

◆ KickReceived()

virtual bool drama::thread::MonitorMessageHandler::KickReceived ( thread::ProcessInfo  messInfo,
const sds::IdPtr arg 
)
overridevirtual

Invoked if an action waiting on a monitor message receives a kick message during the wait.

The default behavior is to cancel the monitor by invoking the Cancel() method on the monitor.

Note
When invoked, the DRAMA Lock is taken and the DRAMA context is that of the action the thread was running in. Since the lock is taken, don't do anything which waits.
Parameters
messInfoDetails on the message sent
argThe argument to the kick
Returns
true if we should continue waiting for messages. If false is returned, then the transaction is orphaned.

Reimplemented from drama::MessageEventHandler.