blob: d159633cef2a2bc4cdb6d4a169a30c7394221f09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: oscl_dns_imp_pv.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<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 class="fragment"><a name="l00001"></a>00001
<a name="l00002"></a>00002
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef OSCL_DNS_IMP_PV_H_INCLUDED</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_DNS_IMP_PV_H_INCLUDED</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 <span class="preprocessor">#include "<a class="code" href="oscl__socket__imp__base_8h.html">oscl_socket_imp_base.h</a>"</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include "<a class="code" href="oscl__dns__request_8h.html">oscl_dns_request.h</a>"</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="oscl__dns__imp__base_8h.html">oscl_dns_imp_base.h</a>"</span>
<a name="l00009"></a>00009
<a name="l00010"></a>00010 <span class="keyword">class </span><a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>;
<a name="l00011"></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>
<a name="l00016"></a>00016 {
<a name="l00017"></a>00017 <span class="keyword">public</span>:
<a name="l00018"></a>00018 <span class="keyword">static</span> <a class="code" href="classOsclDNSI.html">OsclDNSI</a>* <a class="code" href="classOsclDNSI.html#a6a5986fcf640c0c3b51e0c5efaf574a4">NewL</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &a);
<a name="l00019"></a>00019 <a class="code" href="classOsclDNSI.html#a80a552bc45782f5193c7a65dbf66824d">~OsclDNSI</a>();
<a name="l00020"></a>00020
<a name="l00021"></a>00021 <span class="comment">//synchronous methods</span>
<a name="l00022"></a>00022 int32 <a class="code" href="classOsclDNSI.html#a2fdd50dd452e640e34d164b3a181acb1">Open</a>(<a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>& aServer);
<a name="l00023"></a>00023 int32 <a class="code" href="classOsclDNSI.html#a8932eb1b63fefb5cd7bc85f23f630bc9">Close</a>();
<a name="l00024"></a>00024
<a name="l00025"></a>00025 <span class="comment">//asynchronous methods.</span>
<a name="l00026"></a>00026
<a name="l00027"></a>00027 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a4a6b250d5dced89ef7d9b21c2bd09561">GetHostByName</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>& , <a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&);
<a name="l00028"></a>00028 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a543fb6776744700b0b4417630feaa7cc">GetHostByNameSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&);
<a name="l00029"></a>00029 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#a8292553b8fa601038e4f751497fe59cc">GetNextHost</a>(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&);
<a name="l00030"></a>00030 <span class="keywordtype">void</span> <a class="code" href="classOsclDNSI.html#ac5d1a7853b395ac336944fb45b9db904">GetNextHostSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&);
<a name="l00031"></a>00031 <span class="keywordtype">bool</span> <a class="code" href="classOsclDNSI.html#acd36b3a0f40acbe7a94b149db7244575">GetHostByNameResponseContainsAliasInfo</a>();
<a name="l00032"></a>00032
<a name="l00033"></a>00033 <span class="keyword">private</span>:
<a name="l00034"></a>00034 <a class="code" href="classOsclDNSI.html">OsclDNSI</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &a);
<a name="l00035"></a>00035
<a name="l00036"></a>00036 <span class="keywordtype">bool</span> IsReady(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>& aObject);
<a name="l00037"></a>00037
<a name="l00038"></a>00038 <span class="keywordtype">void</span> CancelGetHostByName();
<a name="l00039"></a>00039
<a name="l00040"></a><a class="code" href="classOsclDNSI.html#ada203143f7713441621318517aac6688">00040</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclDNSI.html#ada203143f7713441621318517aac6688">OsclDNSRequest</a>;
<a name="l00041"></a>00041
<a name="l00042"></a>00042 <span class="comment">//active requests</span>
<a name="l00043"></a>00043 <a class="code" href="classOsclDNSI.html#ada203143f7713441621318517aac6688">OsclDNSRequest</a> iGetHostByNameRequest;
<a name="l00044"></a>00044 <span class="keyword">static</span> <span class="keywordtype">void</span> ProcessDnsRequest(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>*, int32&, int32&);
<a name="l00045"></a><a class="code" href="classOsclDNSI.html#a4c7c7661fd1725aebf50d29a71797d41">00045</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclGetHostByNameRequest.html">OsclGetHostByNameRequest</a>;
<a name="l00046"></a>00046
<a name="l00047"></a><a class="code" href="classOsclDNSI.html#ac7a67bc9fbe0ead24efee2a4c39b0ae0">00047</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classDNSRequestParam.html">DNSRequestParam</a>;
<a name="l00048"></a>00048 };
<a name="l00049"></a>00049
<a name="l00050"></a>00050 <span class="preprocessor">#endif</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span>
<a name="l00052"></a>00052
<a name="l00053"></a>00053
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.005.1.1 </small>
</small></address>
</body>
</html>
|