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

◆ PutKickHandler() [1/2]

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

We cannot change the kick handler in a threaded action, it does not make sense.

Instead, this will throw an exception.

@ Note - this does not mean a threaded action can't be kicked. Any DRAMA message wait operation in a threaded action implementation (.e.g drama::Path::Obey()) will respond to kicks and other code can use a drama::thread::KickNotifier object to receive a notification of a kick object.

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

Reimplemented from drama::MessageHandler.