aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__registry__serv__impl__tls_8h_source.html
blob: a29d1e7f70d0a43eb5041908439d93276d1e3f7a (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
84
85
86
<!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_registry_serv_impl_tls.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_registry_serv_impl_tls.h</h1><a href="oscl__registry__serv__impl__tls_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="comment">//               Oscl Registry Serv Impl</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00007"></a>00007 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef OSCL_REGISTRY_SERV_IMPL_TLS_H_INCLUDED</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_REGISTRY_SERV_IMPL_TLS_H_INCLUDED</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="osclconfig__proc_8h.html" title="This file contains configuration information for the linux platform.">osclconfig_proc.h</a>&quot;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="oscl__registry__serv__impl_8h.html" title="Server-side implementation of OsclRegistry interfaces.">oscl_registry_serv_impl.h</a>&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="oscl__registry__types_8h.html" title="Common types used in Oscl registry interfaces.">oscl_registry_types.h</a>&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="oscl__vector_8h.html" title="The file oscl_vector.h defines the template class Oscl_Vector which has a very similar...">oscl_vector.h</a>&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="oscl__mem_8h.html" title="This file contains basic memory definitions for common use across platforms.">oscl_mem.h</a>&quot;</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="comment">//TLS-based implementation.</span>
<a name="l00030"></a>00030 <span class="comment">//this handles both the registration client and the access client</span>
<a name="l00031"></a>00031 <span class="comment">//interfaces.</span>
<a name="l00032"></a><a class="code" href="classOsclRegistryServTlsImpl.html">00032</a> <span class="keyword">class </span><a class="code" href="classOsclRegistryServTlsImpl.html">OsclRegistryServTlsImpl</a>
<a name="l00033"></a>00033 {
<a name="l00034"></a>00034     <span class="keyword">protected</span>:
<a name="l00035"></a>00035         <a class="code" href="classOsclRegistryServTlsImpl.html#ac5712e70479a3ac39ae06ab2024ca8b5">OsclRegistryServTlsImpl</a>();
<a name="l00036"></a>00036         <span class="keyword">virtual</span> <a class="code" href="classOsclRegistryServTlsImpl.html#aebc7b5ac6e57d5c1d0ae6e4abb689406">~OsclRegistryServTlsImpl</a>();
<a name="l00037"></a>00037 
<a name="l00038"></a>00038         int32 <a class="code" href="classOsclRegistryServTlsImpl.html#aaee44a59c73ecb53cd277e6a9f34deaa">Connect</a>();
<a name="l00039"></a>00039         <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryServTlsImpl.html#acce0f49fe4b9d1a745d9afd7af9ba011">Close</a>();
<a name="l00040"></a>00040 
<a name="l00041"></a><a class="code" href="classOsclRegistryServTlsImpl.html#afacfa1cb9a9a6c88ba8ce29591d86fde">00041</a>         <span class="comment">//for registration client</span>
<a name="l00042"></a><a class="code" href="classOsclRegistryServTlsImpl.html#a9a236376abcb5b2f9d7ec1d5105aba66">00042</a>         int32 <a class="code" href="classOsclRegistryServTlsImpl.html#aba33da6da88eb314ed7197e6c8d06307">Register</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aComponentID, <a class="code" href="group__osclutil.html#ga3f2d0bffbe6a0339696380af91de131c">OsclComponentFactory</a> aFactory);
<a name="l00043"></a>00043         int32 <a class="code" href="classOsclRegistryServTlsImpl.html#a458b87f9f1a4ce470bca66af50f05103">UnRegister</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aComponentID);
<a name="l00044"></a>00044 
<a name="l00045"></a>00045         <span class="comment">//for access client.</span>
<a name="l00046"></a>00046         <a class="code" href="group__osclutil.html#ga3f2d0bffbe6a0339696380af91de131c">OsclComponentFactory</a> <a class="code" href="classOsclRegistryServTlsImpl.html#a8e7894f0a2d46f3e43dd7b4ba64ad83c">GetFactory</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aComponent);
<a name="l00047"></a>00047         <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryServTlsImpl.html#ad22b200856e77c57ee2960503e00d2ac">GetFactories</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aRegistry, <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;OsclRegistryAccessElement, OsclMemAllocator&gt;</a>&amp; aVec);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclRegistryClient.html">OsclRegistryClient</a>;
<a name="l00050"></a>00050         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClient.html">OsclRegistryAccessClient</a>;
<a name="l00051"></a>00051     <span class="keyword">private</span>:
<a name="l00052"></a>00052         <span class="keywordtype">bool</span> IsOpen()<span class="keyword"> const</span>
<a name="l00053"></a>00053 <span class="keyword">        </span>{
<a name="l00054"></a>00054             <span class="keywordflow">return</span> iIsOpen;
<a name="l00055"></a>00055         }
<a name="l00056"></a>00056         <span class="keywordtype">bool</span> iIsOpen;
<a name="l00057"></a>00057         <span class="comment">//server data.</span>
<a name="l00058"></a>00058         <a class="code" href="classOsclComponentRegistry.html">OsclComponentRegistry</a>* GetOsclComponentRegistry();
<a name="l00059"></a>00059         <span class="comment">//session data.</span>
<a name="l00060"></a>00060         <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;uint32, OsclMemAllocator&gt;</a> iIdVec;
<a name="l00061"></a>00061 };
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 <span class="preprocessor">#endif //OSCL_REGISTRY_IMPL_TLS_H_INCLUDED</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
</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>