wavelength 1.0.0
Loading...
Searching...
No Matches
sessionbegintask.h
Go to the documentation of this file.
1#pragma once
2
3#include <librtmedius.h>
4
5#include "netflow/nettask.h"
6
14class SessionBeginTask : public NetTask {
15public:
22 ~SessionBeginTask() override = default;
23
36 static void OnResponse(int nConnection,
37 int nType,
38 int nSize,
39 const rtMediusSessionBeginResponse *pResponse);
40
41protected:
48 void OnStart() override;
49};
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24
Step that begins the session on the lobby server.
Definition sessionbegintask.h:14
void OnStart() override
Send the request, with the connection class of the console.
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusSessionBeginResponse *pResponse)
Take the key of the session and finish the step the response is tagged with.
~SessionBeginTask() override=default
Destroy the object.