• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>oscl_registry_serv_impl_tls.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.18 -->
7<center>
8<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>
9<hr><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>00001 <span class="comment">// -*- c++ -*-</span>
1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1100003
1200004 <span class="comment">//                               Oscl Registry Serv Impl</span>
1300005
1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1500007
1600019 <span class="preprocessor">#ifndef OSCL_REGISTRY_SERV_IMPL_TLS_H_INCLUDED</span>
1700020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_REGISTRY_SERV_IMPL_TLS_H_INCLUDED</span>
1800021 <span class="preprocessor"></span>
1900022 <span class="preprocessor">#include "<a class="code" href="osclconfig__proc_8h.html">osclconfig_proc.h</a>"</span>
2000023
2100024 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl_8h.html">oscl_registry_serv_impl.h</a>"</span>
2200025 <span class="preprocessor">#include "<a class="code" href="oscl__registry__types_8h.html">oscl_registry_types.h</a>"</span>
2300026 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span>
2400027 <span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span>
2500028
2600029 <span class="comment">//TLS-based implementation.</span>
2700030 <span class="comment">//this handles both the registration client and the access client</span>
2800031 <span class="comment">//interfaces.</span>
29<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>
3000033 {
3100034     <span class="keyword">protected</span>:
3200035         <a class="code" href="classOsclRegistryServTlsImpl.html#b0">OsclRegistryServTlsImpl</a>();
3300036         <span class="keyword">virtual</span> <a class="code" href="classOsclRegistryServTlsImpl.html#b1">~OsclRegistryServTlsImpl</a>();
3400037
3500038         int32 <a class="code" href="classOsclRegistryServTlsImpl.html#b2">Connect</a>();
3600039         <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryServTlsImpl.html#b3">Close</a>();
3700040
3800041         <span class="comment">//for registration client</span>
3900042         int32 <a class="code" href="classOsclRegistryServTlsImpl.html#b4">Register</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aComponentID, <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> aFactory);
4000043         int32 <a class="code" href="classOsclRegistryServTlsImpl.html#b5">UnRegister</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aComponentID);
4100044
4200045         <span class="comment">//for access client.</span>
4300046         <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> <a class="code" href="classOsclRegistryServTlsImpl.html#b6">GetFactory</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aComponent);
4400047         <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryServTlsImpl.html#b7">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);
4500048
46<a name="l00049"></a><a class="code" href="classOsclRegistryServTlsImpl.html#l0">00049</a>         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclRegistryClient.html">OsclRegistryClient</a>;
47<a name="l00050"></a><a class="code" href="classOsclRegistryServTlsImpl.html#l1">00050</a>         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClient.html">OsclRegistryAccessClient</a>;
4800051     <span class="keyword">private</span>:
4900052         <span class="keywordtype">bool</span> IsOpen()<span class="keyword"> const</span>
5000053 <span class="keyword">        </span>{
5100054             <span class="keywordflow">return</span> iIsOpen;
5200055         }
5300056         <span class="keywordtype">bool</span> iIsOpen;
5400057         <span class="comment">//server data.</span>
5500058         <a class="code" href="classOsclComponentRegistry.html">OsclComponentRegistry</a>* GetOsclComponentRegistry();
5600059         <span class="comment">//session data.</span>
5700060         <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;uint32, OsclMemAllocator&gt;</a> iIdVec;
5800061 };
5900062
6000063
6100064 <span class="preprocessor">#endif //OSCL_REGISTRY_IMPL_TLS_H_INCLUDED</span>
6200065 <span class="preprocessor"></span>
63</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
64<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
65</small></address>
66</body>
67</html>
68