wavelength 1.0.0
Loading...
Searching...
No Matches
netconnecttask.h
Go to the documentation of this file.
1#pragma once
2
3#include "netflow/nettask.h"
4
13class NetConnectTask : public NetTask {
14public:
21 ~NetConnectTask() override = default;
22
23protected:
31 void OnStart() override;
32
39 void OnStop() override;
40
47 void OnPoll() override;
48
49private:
50 float mDeadline;
51};
Step that connects a guest to the connection of the session on the session library.
Definition netconnecttask.h:13
void OnPoll() override
Fail once mDeadline passes.
~NetConnectTask() override=default
Destroy the object.
void OnStart() override
Start connecting to LaunchpadRT::mConnectionInfo, with LaunchpadRT::sNetTask set to the step.
void OnStop() override
Clear LaunchpadRT::sNetTask.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24