| <!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_registry_serv_impl_tls.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> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> |
| <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> |
| 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00003 |
| 00004 <span class="comment">// Oscl Registry Serv Impl</span> |
| 00005 |
| 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00007 |
| 00019 <span class="preprocessor">#ifndef OSCL_REGISTRY_SERV_IMPL_TLS_H_INCLUDED</span> |
| 00020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_REGISTRY_SERV_IMPL_TLS_H_INCLUDED</span> |
| 00021 <span class="preprocessor"></span> |
| 00022 <span class="preprocessor">#include "<a class="code" href="osclconfig__proc_8h.html">osclconfig_proc.h</a>"</span> |
| 00023 |
| 00024 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl_8h.html">oscl_registry_serv_impl.h</a>"</span> |
| 00025 <span class="preprocessor">#include "<a class="code" href="oscl__registry__types_8h.html">oscl_registry_types.h</a>"</span> |
| 00026 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span> |
| 00027 <span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span> |
| 00028 |
| 00029 <span class="comment">//TLS-based implementation.</span> |
| 00030 <span class="comment">//this handles both the registration client and the access client</span> |
| 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> |
| 00033 { |
| 00034 <span class="keyword">protected</span>: |
| 00035 <a class="code" href="classOsclRegistryServTlsImpl.html#b0">OsclRegistryServTlsImpl</a>(); |
| 00036 <span class="keyword">virtual</span> <a class="code" href="classOsclRegistryServTlsImpl.html#b1">~OsclRegistryServTlsImpl</a>(); |
| 00037 |
| 00038 int32 <a class="code" href="classOsclRegistryServTlsImpl.html#b2">Connect</a>(); |
| 00039 <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryServTlsImpl.html#b3">Close</a>(); |
| 00040 |
| 00041 <span class="comment">//for registration client</span> |
| 00042 int32 <a class="code" href="classOsclRegistryServTlsImpl.html#b4">Register</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>& aComponentID, <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> aFactory); |
| 00043 int32 <a class="code" href="classOsclRegistryServTlsImpl.html#b5">UnRegister</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>& aComponentID); |
| 00044 |
| 00045 <span class="comment">//for access client.</span> |
| 00046 <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>& aComponent); |
| 00047 <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryServTlsImpl.html#b7">GetFactories</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>& aRegistry, <a class="code" href="classOscl__Vector.html">Oscl_Vector<OsclRegistryAccessElement, OsclMemAllocator></a>& aVec); |
| 00048 |
| <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>; |
| <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>; |
| 00051 <span class="keyword">private</span>: |
| 00052 <span class="keywordtype">bool</span> IsOpen()<span class="keyword"> const</span> |
| 00053 <span class="keyword"> </span>{ |
| 00054 <span class="keywordflow">return</span> iIsOpen; |
| 00055 } |
| 00056 <span class="keywordtype">bool</span> iIsOpen; |
| 00057 <span class="comment">//server data.</span> |
| 00058 <a class="code" href="classOsclComponentRegistry.html">OsclComponentRegistry</a>* GetOsclComponentRegistry(); |
| 00059 <span class="comment">//session data.</span> |
| 00060 <a class="code" href="classOscl__Vector.html">Oscl_Vector<uint32, OsclMemAllocator></a> iIdVec; |
| 00061 }; |
| 00062 |
| 00063 |
| 00064 <span class="preprocessor">#endif //OSCL_REGISTRY_IMPL_TLS_H_INCLUDED</span> |
| 00065 <span class="preprocessor"></span> |
| </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> |