3#include <librtmedius.h>
36 OnResponse(
int nConnection,
int nType,
int nSize,
const rtMediusResponse *pResponse);
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24
Step that ends the session on the lobby server.
Definition sessionendtask.h:13
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusResponse *pResponse)
Forget the key of the session and finish the step the response is tagged with.
void OnPoll() override
Finish once mDeadline passes.
~SessionEndTask() override=default
Destroy the object.
void OnStart() override
Send the request, or finish when there is no session or the connection failed.