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