blob: 34532336533dfa2afc6b988110505cdee2d25f38 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>oscl_dns_imp_pv.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<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
00002
00003 <span class="preprocessor">#ifndef OSCL_DNS_IMP_PV_H_INCLUDED</span>
00004 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_DNS_IMP_PV_H_INCLUDED</span>
00005 <span class="preprocessor"></span>
00006 <span class="preprocessor">#include "<a class="code" href="oscl__socket__imp__base_8h.html">oscl_socket_imp_base.h</a>"</span>
00007 <span class="preprocessor">#include "<a class="code" href="oscl__dns__request_8h.html">oscl_dns_request.h</a>"</span>
00008 <span class="preprocessor">#include "<a class="code" href="oscl__dns__imp__base_8h.html">oscl_dns_imp_base.h</a>"</span>
00009
00010 <span class="keyword">class </span><a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>;
00011
<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>
00016 {
00017 <span class="keyword">public</span>:
00018 <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> &amp;a);
00019 <a class="code" href="classOsclDNSI.html#a0">~OsclDNSI</a>();
00020
00021 <span class="comment">//synchronous methods</span>
00022 int32 <a class="code" href="classOsclDNSI.html#a1">Open</a>(<a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>&amp; aServer);
00023 int32 <a class="code" href="classOsclDNSI.html#a2">Close</a>();
00024
00025 <span class="comment">//asynchronous methods.</span>
00026
00027 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a3">GetHostByName</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp; , <a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp;);
00028 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a4">GetHostByNameSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp;);
00029
00030
00031 <span class="keyword">private</span>:
00032 <a class="code" href="classOsclDNSI.html">OsclDNSI</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &amp;a);
00033
00034 <span class="keywordtype">bool</span> <a class="code" href="classOsclDNSIBase.html#b1">IsReady</a>(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp; aObject);
00035
00036 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#b2">CancelGetHostByName</a>();
00037
<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>;
00039
00040 <span class="comment">//active requests</span>
00041 <a class="code" href="classOsclDNSRequest.html">OsclDNSRequest</a> iGetHostByNameRequest;
00042 <span class="keyword">static</span> <span class="keywordtype">void</span> ProcessDnsRequest(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>*, int32&amp;, int32&amp;);
00043
<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>;
00045 };
00046
00047 <span class="preprocessor">#endif</span>
00048 <span class="preprocessor"></span>
00049
00050
</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>