DNSLookUp Class Reference

#include <DNSLookUp.h>

List of all members.

Public Member Functions

 DNSLookUp ()
virtual ~DNSLookUp ()
virtual OStatus DoInit (const OSystemEvent &event)
virtual OStatus DoStart (const OSystemEvent &event)
virtual OStatus DoStop (const OSystemEvent &event)
virtual OStatus DoDestroy (const OSystemEvent &event)
void GetDefaultServerByAddrCont (ANTENVMSG msg)
void GetHostByNameCont (ANTENVMSG msg)

Public Attributes

OSubject * subject [numOfSubject]
OObserver * observer [numOfObserver]

Private Member Functions

void GetDefaultServerByAddr ()
void GetHostByName (char *hostname)
void Prompt ()

Private Attributes

antStackRef ipstackRef
antModuleRef dnsEndpoint


Constructor & Destructor Documentation

DNSLookUp::DNSLookUp  ) 
 

Definition at line 19 of file DNSLookUp.cc.

virtual DNSLookUp::~DNSLookUp  )  [inline, virtual]
 

Definition at line 24 of file DNSLookUp.h.


Member Function Documentation

OStatus DNSLookUp::DoDestroy const OSystemEvent &  event  )  [virtual]
 

Definition at line 55 of file DNSLookUp.cc.

OStatus DNSLookUp::DoInit const OSystemEvent &  event  )  [virtual]
 

Definition at line 24 of file DNSLookUp.cc.

OStatus DNSLookUp::DoStart const OSystemEvent &  event  )  [virtual]
 

Definition at line 30 of file DNSLookUp.cc.

References dnsEndpoint, GetDefaultServerByAddr(), and ipstackRef.

OStatus DNSLookUp::DoStop const OSystemEvent &  event  )  [virtual]
 

Definition at line 49 of file DNSLookUp.cc.

void DNSLookUp::GetDefaultServerByAddr  )  [private]
 

Definition at line 104 of file DNSLookUp.cc.

References dnsEndpoint, and ipstackRef.

Referenced by DoStart().

void DNSLookUp::GetDefaultServerByAddrCont ANTENVMSG  msg  ) 
 

Definition at line 61 of file DNSLookUp.cc.

References dnsEndpoint, ipstackRef, and Prompt().

void DNSLookUp::GetHostByName char *  hostname  )  [private]
 

Definition at line 137 of file DNSLookUp.cc.

References dnsEndpoint, and ipstackRef.

Referenced by Prompt().

void DNSLookUp::GetHostByNameCont ANTENVMSG  msg  ) 
 

Definition at line 86 of file DNSLookUp.cc.

References Prompt().

void DNSLookUp::Prompt  )  [private]
 

Definition at line 152 of file DNSLookUp.cc.

References GetHostByName().

Referenced by GetDefaultServerByAddrCont(), and GetHostByNameCont().


Member Data Documentation

antModuleRef DNSLookUp::dnsEndpoint [private]
 

Definition at line 43 of file DNSLookUp.h.

Referenced by DoStart(), GetDefaultServerByAddr(), GetDefaultServerByAddrCont(), and GetHostByName().

antStackRef DNSLookUp::ipstackRef [private]
 

Definition at line 42 of file DNSLookUp.h.

Referenced by DoStart(), GetDefaultServerByAddr(), GetDefaultServerByAddrCont(), and GetHostByName().

OObserver* DNSLookUp::observer[numOfObserver]
 

Definition at line 27 of file DNSLookUp.h.

OSubject* DNSLookUp::subject[numOfSubject]
 

Definition at line 26 of file DNSLookUp.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:33 2007 for openSDK by  doxygen 1.3.9.1