![]() |
DDNet documentation
|
#include <host_lookup.h>
Public Member Functions | |
| CHostLookup (const char *pHostname, int Nettype) | |
| int | Result () const |
| const char * | Hostname () const |
| int | Nettype () const |
| NETADDR | Addr () const |
| Public Member Functions inherited from IJob | |
| IJob () | |
| virtual | ~IJob () |
| IJob (const IJob &Other)=delete | |
| IJob & | operator= (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_Result |
| char | m_aHostname [128] |
| int | m_Nettype |
| NETADDR | m_Addr |
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) |
| CHostLookup::CHostLookup | ( | const char * | pHostname, |
| int | Nettype ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
overrideprivatevirtual |
Performs tasks in a worker thread.
Implements IJob.
|
private |
|
private |
|
private |
|
private |