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

◆ SendInitialise()

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

Actually send the initialise

Actually sends the INITIALISE/RESET action to the task.

If the task is being reset, then the default vesion sends the RESET action with an appropiate argument. Otherwise, it sends the INITIALISE action. A task is RESET if it was already running (it did not have to be loaded). If a inheritor sends the message itself, then it should invoke GitTask::HandleInitSuccess / GitTask::HandleInitError 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.

Parameters
statusInherited status