1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>oscl_dns_imp_pv.h Source File</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>oscl_dns_imp_pv.h</h1><a href="oscl__dns__imp__pv_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 1000002 1100003 <span class="preprocessor">#ifndef OSCL_DNS_IMP_PV_H_INCLUDED</span> 1200004 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_DNS_IMP_PV_H_INCLUDED</span> 1300005 <span class="preprocessor"></span> 1400006 <span class="preprocessor">#include "<a class="code" href="oscl__socket__imp__base_8h.html">oscl_socket_imp_base.h</a>"</span> 1500007 <span class="preprocessor">#include "<a class="code" href="oscl__dns__request_8h.html">oscl_dns_request.h</a>"</span> 1600008 <span class="preprocessor">#include "<a class="code" href="oscl__dns__imp__base_8h.html">oscl_dns_imp_base.h</a>"</span> 1700009 1800010 <span class="keyword">class </span><a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>; 1900011 20<a name="l00015"></a><a class="code" href="classOsclDNSI.html">00015</a> <span class="keyword">class </span><a class="code" href="classOsclDNSI.html">OsclDNSI</a>: <span class="keyword">public</span> <a class="code" href="classOsclDNSIBase.html">OsclDNSIBase</a> 2100016 { 2200017 <span class="keyword">public</span>: 2300018 <span class="keyword">static</span> <a class="code" href="classOsclDNSI.html">OsclDNSI</a>* <a class="code" href="classOsclDNSI.html#d0">NewL</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &a); 2400019 <a class="code" href="classOsclDNSI.html#a0">~OsclDNSI</a>(); 2500020 2600021 <span class="comment">//synchronous methods</span> 2700022 int32 <a class="code" href="classOsclDNSI.html#a1">Open</a>(<a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>& aServer); 2800023 int32 <a class="code" href="classOsclDNSI.html#a2">Close</a>(); 2900024 3000025 <span class="comment">//asynchronous methods.</span> 3100026 3200027 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a3">GetHostByName</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>& , <a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&); 3300028 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a4">GetHostByNameSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&); 3400029 3500030 3600031 <span class="keyword">private</span>: 3700032 <a class="code" href="classOsclDNSI.html">OsclDNSI</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &a); 3800033 3900034 <span class="keywordtype">bool</span> <a class="code" href="classOsclDNSIBase.html#b1">IsReady</a>(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>& aObject); 4000035 4100036 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#b2">CancelGetHostByName</a>(); 4200037 43<a name="l00038"></a><a class="code" href="classOsclDNSI.html#l0">00038</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclDNSRequest.html">OsclDNSRequest</a>; 4400039 4500040 <span class="comment">//active requests</span> 4600041 <a class="code" href="classOsclDNSRequest.html">OsclDNSRequest</a> iGetHostByNameRequest; 4700042 <span class="keyword">static</span> <span class="keywordtype">void</span> ProcessDnsRequest(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>*, int32&, int32&); 4800043 49<a name="l00044"></a><a class="code" href="classOsclDNSI.html#l1">00044</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classDNSRequestParam.html">DNSRequestParam</a>; 5000045 }; 5100046 5200047 <span class="preprocessor">#endif</span> 5300048 <span class="preprocessor"></span> 5400049 5500050 56</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 57<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 58</small></address> 59</body> 60</html> 61