| <!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_client_impl.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_client_impl.h</h1><a href="oscl__registry__client__impl_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 Client Impl</span> |
| 00005 |
| 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00007 |
| 00019 <span class="preprocessor">#ifndef OSCL_REGISTRY_CLIENT_IMPL_H_INCLUDED</span> |
| 00020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_REGISTRY_CLIENT_IMPL_H_INCLUDED</span> |
| 00021 <span class="preprocessor"></span> |
| 00022 <span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> |
| 00023 <span class="preprocessor">#include "<a class="code" href="osclconfig__proc_8h.html">osclconfig_proc.h</a>"</span> |
| 00024 <span class="preprocessor">#if (OSCL_HAS_SINGLETON_SUPPORT)</span> |
| 00025 <span class="preprocessor"></span><span class="comment">//1st choice implementation-- uses Oscl singleton</span> |
| 00026 |
| 00027 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl__global_8h.html">oscl_registry_serv_impl_global.h</a>"</span> |
| 00028 |
| 00029 <span class="comment">//client is the same as server</span> |
| 00030 <span class="keyword">class </span><a class="code" href="classOsclRegistryClientImpl.html">OsclRegistryClientImpl</a>: <span class="keyword">public</span> OsclRegistryServImpl |
| 00031 { |
| 00032 }; |
| 00033 |
| 00034 <span class="comment">//access client is also the same as server</span> |
| 00035 <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClientImpl.html">OsclRegistryAccessClientImpl</a>: <span class="keyword">public</span> OsclRegistryServImpl |
| 00036 { |
| 00037 }; |
| 00038 |
| 00039 <span class="preprocessor">#else //OSCL_HAS_ ...</span> |
| 00040 <span class="preprocessor"></span><span class="comment">//3rd choice implementation -- Non-functional stubs.</span> |
| 00041 |
| 00042 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span> |
| 00043 <span class="preprocessor">#include "<a class="code" href="oscl__string_8h.html">oscl_string.h</a>"</span> |
| 00044 <span class="preprocessor">#include "<a class="code" href="oscl__registry__types_8h.html">oscl_registry_types.h</a>"</span> |
| 00045 |
| <a name="l00046"></a><a class="code" href="classOsclRegistryClientImpl.html">00046</a> <span class="keyword">class </span><a class="code" href="classOsclRegistryClientImpl.html">OsclRegistryClientImpl</a> |
| 00047 { |
| 00048 <span class="keyword">protected</span>: |
| 00049 |
| <a name="l00050"></a><a class="code" href="classOsclRegistryClientImpl.html#b0">00050</a> int32 <a class="code" href="classOsclRegistryClientImpl.html#b0">Connect</a>() |
| 00051 { |
| 00052 <span class="keywordflow">return</span> <a class="code" href="group__osclerror.html#a15">OsclErrNotSupported</a>; |
| 00053 } |
| <a name="l00054"></a><a class="code" href="classOsclRegistryClientImpl.html#b1">00054</a> <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryClientImpl.html#b1">Close</a>() {} |
| 00055 |
| <a name="l00056"></a><a class="code" href="classOsclRegistryClientImpl.html#b2">00056</a> int32 <a class="code" href="classOsclRegistryClientImpl.html#b2">Register</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>& , <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a>) |
| 00057 { |
| 00058 <span class="keywordflow">return</span> <a class="code" href="group__osclerror.html#a15">OsclErrNotSupported</a>; |
| 00059 } |
| <a name="l00060"></a><a class="code" href="classOsclRegistryClientImpl.html#b3">00060</a> int32 <a class="code" href="classOsclRegistryClientImpl.html#b3">UnRegister</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&) |
| 00061 { |
| 00062 <span class="keywordflow">return</span> <a class="code" href="group__osclerror.html#a15">OsclErrNotSupported</a>; |
| 00063 } |
| 00064 |
| 00065 <span class="comment">//for access client.</span> |
| <a name="l00066"></a><a class="code" href="classOsclRegistryClientImpl.html#b4">00066</a> <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> <a class="code" href="classOsclRegistryClientImpl.html#b4">GetFactory</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&) |
| 00067 { |
| 00068 <span class="keywordflow">return</span> <a class="code" href="group__osclbase.html#a81">NULL</a>; |
| 00069 } |
| <a name="l00070"></a><a class="code" href="classOsclRegistryClientImpl.html#b5">00070</a> <span class="keywordtype">void</span> <a class="code" href="classOsclRegistryClientImpl.html#b5">GetFactories</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>& , <a class="code" href="classOscl__Vector.html">Oscl_Vector<OsclRegistryAccessElement, OsclMemAllocator></a>&) {} |
| 00071 |
| <a name="l00072"></a><a class="code" href="classOsclRegistryClientImpl.html#l0">00072</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclRegistryClient.html">OsclRegistryClient</a>; |
| <a name="l00073"></a><a class="code" href="classOsclRegistryClientImpl.html#l1">00073</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClient.html">OsclRegistryAccessClient</a>; |
| 00074 }; |
| 00075 |
| <a name="l00076"></a><a class="code" href="classOsclRegistryAccessClientImpl.html">00076</a> <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClientImpl.html">OsclRegistryAccessClientImpl</a>: <span class="keyword">public</span> <a class="code" href="classOsclRegistryClientImpl.html">OsclRegistryClientImpl</a> |
| 00077 { |
| 00078 }; |
| 00079 |
| 00080 <span class="preprocessor">#endif //OSCL_HAS_ ...</span> |
| 00081 <span class="preprocessor"></span> |
| 00082 |
| 00083 <span class="comment">//TLS-based registry</span> |
| 00084 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl__tls_8h.html">oscl_registry_serv_impl_tls.h</a>"</span> |
| 00085 |
| 00086 <span class="comment">//client is the same as server</span> |
| <a name="l00087"></a><a class="code" href="classOsclRegistryClientTlsImpl.html">00087</a> <span class="keyword">class </span><a class="code" href="classOsclRegistryClientTlsImpl.html">OsclRegistryClientTlsImpl</a>: <span class="keyword">public</span> <a class="code" href="classOsclRegistryServTlsImpl.html">OsclRegistryServTlsImpl</a> |
| 00088 { |
| 00089 }; |
| 00090 |
| 00091 <span class="comment">//access client is also the same as server</span> |
| <a name="l00092"></a><a class="code" href="classOsclRegistryAccessClientTlsImpl.html">00092</a> <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClientTlsImpl.html">OsclRegistryAccessClientTlsImpl</a>: <span class="keyword">public</span> <a class="code" href="classOsclRegistryServTlsImpl.html">OsclRegistryServTlsImpl</a> |
| 00093 { |
| 00094 }; |
| 00095 |
| 00096 <span class="preprocessor">#endif //OSCL_REGISTRY_IMPL_H_INCLUDED</span> |
| 00097 <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_20090223 </small> |
| </small></address> |
| </body> |
| </html> |