blob: 8b1df5f48f12e96c4f83e1467f9873dc6d90d315 [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_base.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_base.h</h1><a href="oscl__dns__imp__base_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
00002
00003 <span class="preprocessor">#ifndef OSCL_DNS_IMP_BASE_H_INCLUDED</span>
00004 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_DNS_IMP_BASE_H_INCLUDED</span>
00005 <span class="preprocessor"></span>
00006 <span class="preprocessor">#include "<a class="code" href="oscl__socket__imp_8h.html">oscl_socket_imp.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_8h.html">oscl_dns.h</a>"</span>
00009
00010 <span class="keyword">class </span><a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>;
00011 <span class="keyword">class </span><a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>;
00012 <span class="keyword">class </span><a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>;
00013
<a name="l00018"></a><a class="code" href="classOsclDNSIBase.html">00018</a> <span class="keyword">class </span><a class="code" href="classOsclDNSIBase.html">OsclDNSIBase</a>
00019 {
00020 <span class="keyword">public</span>:
00021 <span class="keyword">virtual</span> <a class="code" href="classOsclDNSIBase.html#a0">~OsclDNSIBase</a>();
00022
00023 <span class="comment">//synchronous methods</span>
00024 <span class="keyword">virtual</span> int32 <a class="code" href="classOsclDNSIBase.html#a1">Open</a>(<a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>&amp; aServer) = 0;
00025 <span class="keyword">virtual</span> int32 <a class="code" href="classOsclDNSIBase.html#a2">Close</a>() = 0;
00026
00027 <span class="comment">//asynchronous methods.</span>
00028
00029 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#a3">GetHostByName</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp; , <a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp;) = 0;
00030 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#a4">GetHostByNameSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp;) = 0;
00031
00032 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#a5">CancelFxn</a>(<a class="code" href="group__osclio.html#a24">TPVDNSFxn</a>);
00033
00034 <span class="keyword">protected</span>:
00035 <a class="code" href="classOsclDNSIBase.html#b0">OsclDNSIBase</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &amp;a);
00036
<a name="l00037"></a><a class="code" href="classOsclDNSIBase.html#n0">00037</a> <a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &amp;<a class="code" href="classOsclDNSIBase.html#n0">iAlloc</a>;
00038
00039 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOsclDNSIBase.html#b1">IsReady</a>(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp; aObject) = 0;
00040
00041 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#b2">CancelGetHostByName</a>() = 0;
00042
00043 <span class="comment">//link to socket server.</span>
<a name="l00044"></a><a class="code" href="classOsclDNSIBase.html#n1">00044</a> <a class="code" href="classOsclSocketServI.html">OsclSocketServI</a> *<a class="code" href="classOsclDNSIBase.html#n1">iSocketServ</a>;
00045
<a name="l00046"></a><a class="code" href="classOsclDNSIBase.html#l0">00046</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclDNSRequest.html">OsclDNSRequest</a>;
<a name="l00047"></a><a class="code" href="classOsclDNSIBase.html#l1">00047</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclGetHostByNameRequest.html">OsclGetHostByNameRequest</a>;
00048 };
00049
00050 <span class="preprocessor">#endif</span>
00051 <span class="preprocessor"></span>
00052
00053
</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>