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

◆ UserMessage()

virtual void drama::MessageEventHandler::UserMessage ( thread::ProcessInfo  messInfo,
const std::string &  task,
const std::string &  message 
)
virtualinherited

Invoked if a message for the user is received.

This would normally only happen for UFACE transactions.

The default behavior is to report the message to the user.

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
taskThe name of the task which originated the message.
messageThe message itself.