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

◆ MessageRejected()

void drama::IsRunningType::MessageRejected ( drama::thread::ProcessInfo  messInfo,
StatusType  status 
)
overrideprotectedvirtual

Invoked for when a message is rejected.

Sets the status to Failed before invoking the MessageEventHandler method of the same name, which will throw an exception.

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.

Reimplemented from drama::MessageEventHandler.