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

◆ MessageReceived()

virtual Request drama::MessageHandler::MessageReceived ( )
protectedpure virtual

Method invoked by DRAMA to handle the message.

A subclass must implement this method, which is invoked by DRAMA when an Obey or Kick message occurs. depending on where this object has been specified.

The following methods will be valid during this call: MessageHandler::MessageUser(), MessageHandler::GetTask(), MessageHandler::GetEntry(), MessageHandler::PutKickHandler, MessageHandler::PutObeyHandler, MessageHandler::SdsListToUser(), MessageHandler::SendTrigger(), MessageHandler::SendBulkTrigger(), MessageHandler::SetReturnArg().

Warning
This is a private member, not a protected member. Doxygen sees this as protected to work around a Doxygen issue.
Returns
The reschedule request for the action - is the action to complete or be rescheduled later.

Implemented in drama::MessageHandlerViaFunctor.

Examples
dramahello.cpp.