wavelength 1.0.0
Loading...
Searching...
No Matches
fileupdateattributestask.h
Go to the documentation of this file.
1#pragma once
2
3#include <librtmedius.h>
4
5#include "netflow/nettask.h"
6
7class String;
8
18public:
24 ~FileUpdateAttributesTask() override = default;
25
33 explicit FileUpdateAttributesTask(String *pName) : mName(pName) {
34 }
35
47 static void
48 OnResponse(int nConnection, int nType, int nSize, const rtMediusFileResponse *pResponse);
49
50protected:
56 void OnStart() override;
57
58private:
59 String *mName;
60 int mReserved10 = 0; // +0x10, the constructor clears it and the step does not read it.
61};
FileUpdateAttributesTask(String *pName)
Construct a step.
Definition fileupdateattributestask.h:33
void OnStart() override
Send the request.
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusFileResponse *pResponse)
Finish the step the response is tagged with.
~FileUpdateAttributesTask() override=default
Destroy the object.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24
Growable text buffer that is also a PrnStream.
Definition string.h:19