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

◆ MessageComplete()

virtual void drama::IsRunningType::MessageComplete ( drama::thread::ProcessInfo  messInfo,
StatusType  status,
const drama::sds::IdPtr arg 
)
overrideprotectedvirtual

Invoked if a message complete message is received.

Sets the status to Complete/Failed depending on the status value before invoking the MessageEventHandler method of the same name, which will throw an exception if the status in the completion message is bad, otherwise just to allow the wait to complete.

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
statusThe DRAMA status associated with the abort.
argThe argument to the trigger.

Reimplemented from drama::MessageEventHandler.