DDraceNetwork Documentation
Loading...
Searching...
No Matches
CRegister::CProtocol::CJob Class Reference
Inheritance diagram for CRegister::CProtocol::CJob:
[legend]
Collaboration diagram for CRegister::CProtocol::CJob:
[legend]

Public Member Functions

 CJob (int Protocol, int ServerPort, int Index, int InfoSerial, std::shared_ptr< CShared > pShared, std::shared_ptr< CHttpRequest > &&pRegister, IHttp *pHttp)
 ~CJob () override=default
Public Member Functions inherited from IJob
 IJob ()
virtual ~IJob ()
 IJob (const IJob &Other)=delete
IJoboperator= (const IJob &Other)=delete
EJobState State () const
bool Done () const
virtual bool Abort ()
bool IsAbortable () const

Private Member Functions

void Run () override

Private Attributes

int m_Protocol
int m_ServerPort
int m_Index
int m_InfoSerial
std::shared_ptr< CSharedm_pShared
std::shared_ptr< CHttpRequestm_pRegister
IHttpm_pHttp

Additional Inherited Members

Public Types inherited from IJob
enum  EJobState { STATE_QUEUED = 0 , STATE_RUNNING , STATE_DONE , STATE_ABORTED }
Protected Member Functions inherited from IJob
void Abortable (bool Abortable)

Constructor & Destructor Documentation

◆ CJob()

CRegister::CProtocol::CJob::CJob ( int Protocol,
int ServerPort,
int Index,
int InfoSerial,
std::shared_ptr< CShared > pShared,
std::shared_ptr< CHttpRequest > && pRegister,
IHttp * pHttp )
inline

◆ ~CJob()

CRegister::CProtocol::CJob::~CJob ( )
overridedefault

Member Function Documentation

◆ Run()

void CRegister::CProtocol::CJob::Run ( )
overrideprivatevirtual

Performs tasks in a worker thread.

Implements IJob.

Member Data Documentation

◆ m_Index

int CRegister::CProtocol::CJob::m_Index
private

◆ m_InfoSerial

int CRegister::CProtocol::CJob::m_InfoSerial
private

◆ m_pHttp

IHttp* CRegister::CProtocol::CJob::m_pHttp
private

◆ m_pRegister

std::shared_ptr<CHttpRequest> CRegister::CProtocol::CJob::m_pRegister
private

◆ m_Protocol

int CRegister::CProtocol::CJob::m_Protocol
private

◆ m_pShared

std::shared_ptr<CShared> CRegister::CProtocol::CJob::m_pShared
private

◆ m_ServerPort

int CRegister::CProtocol::CJob::m_ServerPort
private

The documentation for this class was generated from the following file: