Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# OsclDNSObserver Class Reference
[OSCL IO]

`#include <oscl_dns.h>`

## Public Methods
virtual OSCL_IMPORT_REF void | HandleDNSEvent (int32 aId, TPVDNSFxn aFxn, TPVDNSEvent aEvent, int32 aError)=0
virtual | ~OsclDNSObserver ()

## Detailed Description

DNS event observer. The client implements this to get asynchronous command completion.

## Constructor & Destructor Documentation

virtual OsclDNSObserver::~OsclDNSObserver | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual OSCL_IMPORT_REF void OsclDNSObserver::HandleDNSEvent | ( | int32 | aId,
|  | TPVDNSFxn | aFxn,
|  | TPVDNSEvent | aEvent,
|  | int32 | aError
| ) | `[pure virtual]`

  | DNS Event callback. Parameters:
  aId: | The ID that was supplied when the DNS object was created.
  aEvent: | Function completion event. Will be EPVDNSSuccess, EPVDNSTimeout, or EPVDNSFailure.
  aError: | When the event is EPVDNSFailure, this may contain a platform-specific error code, or zero if none is available.

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

- oscl_dns.h