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

◆ PutKickHandler() [2/2]

virtual void drama::MessageHandler::PutKickHandler ( MessageReceiveFunction  func)
virtualinherited

Put a message handler function for the next Kick event.

Will be reset to a null handler when the action completes.

Note
Only valid if invoked in the contact of MessageReceived() being invoked for an Obey or Kick message.
Parameters
funcA function to be invoked to handle the kick event. The only argument to this function is a drama::MessageHandler object, but not the one on which this was invoked. Instead, a separately allocated object. It returns the reschedule request.