wavelength
1.0.0
Loading...
Searching...
No Matches
joinchanneltask.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
JoinChannelTask
:
public
NetTask
{
14
public
:
21
~JoinChannelTask
()
override
=
default
;
22
35
static
void
36
OnResponse
(
int
nConnection,
int
nType,
int
nSize,
const
rtMediusJoinChannelResponse *pResponse);
37
38
protected
:
45
void
OnStart
()
override
;
46
};
JoinChannelTask
Step that joins the chat room LobbyRT::mJoinChatroomId.
Definition
joinchanneltask.h:13
JoinChannelTask::OnStart
void OnStart() override
Send the request.
JoinChannelTask::OnResponse
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusJoinChannelResponse *pResponse)
Take the connection to the room and finish the step the response is tagged with.
JoinChannelTask::~JoinChannelTask
~JoinChannelTask() override=default
Destroy the object.
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
joinchanneltask.h
Generated by
1.15.0