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

◆ PutObeyHandler() [1/2]

void drama::thread::TAction::PutObeyHandler ( MessageHandlerPtr  obj)
finaloverridevirtualinherited

We cannot change the obey handler in a threaded action, it does not make sense as the action never reschedules (as viewed by the user code).

Instead, this method will throw an exception.

Parameters
objThe object being put as the new obey handler. Ignored

Reimplemented from drama::MessageHandler.