wavelength
1.0.0
Loading...
Searching...
No Matches
getpolicytask.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <librtmedius.h>
4
5
#include "
netflow/nettask.h
"
6
13
class
GetPolicyTask
:
public
NetTask
{
14
public
:
21
~GetPolicyTask
()
override
=
default
;
22
36
static
void
37
OnResponse
(
int
nConnection,
int
nType,
int
nSize,
const
rtMediusPolicyResponse *pResponse);
38
39
protected
:
46
void
OnStart
()
override
;
47
};
GetPolicyTask
Step that reads the licence agreement of the lobby server into LobbyRT::mPolicy.
Definition
getpolicytask.h:13
GetPolicyTask::~GetPolicyTask
~GetPolicyTask() override=default
Destroy the object.
GetPolicyTask::OnStart
void OnStart() override
Clear the text and send the request.
GetPolicyTask::OnResponse
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusPolicyResponse *pResponse)
Append a part of the text, and finish the step the response is tagged with after the last part.
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
getpolicytask.h
Generated by
1.15.0