aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__dns__imp__base_8h_source.html
blob: 94ee54f402dac4e800e017e7f319aaf6c3f81165 (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
83
<!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_base.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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<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 class="fragment"><a name="l00001"></a>00001 
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef OSCL_DNS_IMP_BASE_H_INCLUDED</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_DNS_IMP_BASE_H_INCLUDED</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__imp_8h.html">oscl_socket_imp.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="oscl__dns__request_8h.html">oscl_dns_request.h</a>&quot;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="oscl__dns_8h.html" title="The file oscl_socket.h defines the OSCL DNS APIs.">oscl_dns.h</a>&quot;</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 <span class="keyword">class </span><a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>;
<a name="l00012"></a>00012 <span class="keyword">class </span><a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>;
<a name="l00013"></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>
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020     <span class="keyword">public</span>:
<a name="l00021"></a>00021         <span class="keyword">virtual</span> <a class="code" href="classOsclDNSIBase.html#a6102e1ae51800ff57da24e1f319dd781">~OsclDNSIBase</a>();
<a name="l00022"></a>00022 
<a name="l00023"></a>00023         <span class="comment">//synchronous methods</span>
<a name="l00024"></a>00024         <span class="keyword">virtual</span> int32 <a class="code" href="classOsclDNSIBase.html#a63068c343c7f55993de7df7dd1879f33">Open</a>(<a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>&amp; aServer) = 0;
<a name="l00025"></a>00025         <span class="keyword">virtual</span> int32 <a class="code" href="classOsclDNSIBase.html#a15b5bdbaf4f3f143a61972595f5655d8">Close</a>() = 0;
<a name="l00026"></a>00026 
<a name="l00027"></a>00027         <span class="comment">//asynchronous methods.</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#a5db8fe2eb79c689924394e56d69c7008">GetHostByName</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp; , <a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp;) = 0;
<a name="l00030"></a>00030         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#a58f5e0f15318b7f29fa4b88f807be5ad">GetHostByNameSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp;) = 0;
<a name="l00031"></a>00031         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOsclDNSIBase.html#a88c61761ba3312d1ad88473bc90a0b1b">GetHostByNameResponseContainsAliasInfo</a>() = 0;
<a name="l00032"></a>00032         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#a9ad57c50e8c7f9158bab2b84f6591a18">GetNextHost</a>(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp;) = 0;
<a name="l00033"></a>00033         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#aceae1537309c260abea769a4e3722dfd">GetNextHostSuccess</a>(<a class="code" href="classGetHostByNameParam.html">GetHostByNameParam</a>&amp;) = 0;
<a name="l00034"></a>00034         <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#ad9becf181c6df71c5f13a169a78d8f78">CancelFxn</a>(<a class="code" href="group__osclio.html#ga8c2ea6404a214241178a4ca83f9d9a7c">TPVDNSFxn</a>);
<a name="l00035"></a>00035 
<a name="l00036"></a>00036     <span class="keyword">protected</span>:
<a name="l00037"></a>00037         <a class="code" href="classOsclDNSIBase.html#a95daa31d094bad5236ba7da4c061cfe8">OsclDNSIBase</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &amp;a);
<a name="l00038"></a>00038 
<a name="l00039"></a><a class="code" href="classOsclDNSIBase.html#a9d1510899f64797599d720ffc2ebae1c">00039</a>         <a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &amp;<a class="code" href="classOsclDNSIBase.html#a9d1510899f64797599d720ffc2ebae1c">iAlloc</a>;
<a name="l00040"></a>00040 
<a name="l00041"></a>00041         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOsclDNSIBase.html#a025c784ba3457bc84ab0cfd1bb3a1e32">IsReady</a>(<a class="code" href="classOsclDNSRequestAO.html">OsclDNSRequestAO</a>&amp; aObject) = 0;
<a name="l00042"></a>00042 
<a name="l00043"></a>00043         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclDNSIBase.html#aac2dc983d7cd9e2f498b31db3b8cc47d">CancelGetHostByName</a>() = 0;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045         <span class="comment">//link to socket server.</span>
<a name="l00046"></a><a class="code" href="classOsclDNSIBase.html#a4b37e5c8e9bf9c74c87ffda7a27912d9">00046</a>         <a class="code" href="classOsclSocketServI.html">OsclSocketServI</a> *<a class="code" href="classOsclDNSIBase.html#a4b37e5c8e9bf9c74c87ffda7a27912d9">iSocketServ</a>;
<a name="l00047"></a>00047 
<a name="l00048"></a><a class="code" href="classOsclDNSIBase.html#ada203143f7713441621318517aac6688">00048</a>         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclDNSIBase.html#ada203143f7713441621318517aac6688">OsclDNSRequest</a>;
<a name="l00049"></a><a class="code" href="classOsclDNSIBase.html#a4c7c7661fd1725aebf50d29a71797d41">00049</a>         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclGetHostByNameRequest.html">OsclGetHostByNameRequest</a>;
<a name="l00050"></a>00050 };
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 
</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.002.1.1 </small>
</small></address>
</body>
</html>