3#include <librtmedius.h>
58 static void OnNotice(
int nConnection,
int nType,
int nSize,
const rtMediusResponse *pNotice);
Step that starts the network library and its lobby client.
Definition initrttask.h:13
static void FreeBlock(void *pBlock)
Release a block AllocBlock() returned.
static void OnNotice(int nConnection, int nType, int nSize, const rtMediusResponse *pNotice)
Receive a notice of the lobby server.
static void * AllocBlock(int nSize)
Allocate a block for the library from the rtime pool.
~InitRTTask() override=default
Destroy the object.
static InitRTTask * sTask
A step that is never set.
Definition initrttask.h:66
void OnStart() override
Start the peer-to-peer layer, register the messages of the online session, and start the lobby client...
void OnStop() override
Clear sTask.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24