AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ SendSimulate()

virtual DcppHandlerRet GitTask::SendSimulate ( StatusType *  status)
protectedvirtual

Obey the SIMULATE_LEVEL action to the task.

This method sends the SIMULATE_LEVEL action to the task.

The default version fetches the simulation string and timebase and sends these as parameters of a SIMULATE_LEVEL action. If a inheritor sends the message itself, then it should invoke GitTask::HandlerSimSuccess / GitTask::HandleSimError when the operation completes, with the object address as the client data item. This will ensure the chain continues. If an inheritor is not sending a message it can just return DcppFinished immediately.

Parameters
statusInherited status