40 void Callback(
int a_Result,
const char * a_Address);
std::shared_ptr< cIPLookup > cIPLookupPtr
std::vector< cIPLookupPtr > cIPLookupPtrs
Holds information about an in-progress IP-to-Hostname lookup.
cIPLookup(const AString &a_IP, cNetwork::cResolveNameCallbacksPtr a_Callbacks)
Creates the lookup object.
void Callback(int a_Result, const char *a_Address)
Callback that is called by LibEvent when there's an event for the request.
AString m_IP
The IP that was queried (needed for the callbacks).
cNetwork::cResolveNameCallbacksPtr m_Callbacks
The callbacks to call for resolved names / errors.
static void Lookup(const AString &a_IP, cNetwork::cResolveNameCallbacksPtr a_Callbacks)
Creates a lookup object and schedules the lookup.
std::shared_ptr< cResolveNameCallbacks > cResolveNameCallbacksPtr