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

◆ KickReceived()

virtual bool drama::MessageEventHandler::KickReceived ( thread::ProcessInfo  messInfo,
const sds::IdPtr arg 
)
virtualinherited

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

The default behavior is to throw an exception. Subclasses should override as required.

Note
When invoked, the DRAMA Lock is taken and the DRAMA context is that of the action (or UFACE context) 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 in drama::thread::MonitorMessageHandler.