• 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_client_impl.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_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>
1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1100003
1200004 <span class="comment">//                               Oscl Registry Client Impl</span>
1300005
1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1500007
1600019 <span class="preprocessor">#ifndef OSCL_REGISTRY_CLIENT_IMPL_H_INCLUDED</span>
1700020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_REGISTRY_CLIENT_IMPL_H_INCLUDED</span>
1800021 <span class="preprocessor"></span>
1900022 <span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
2000023 <span class="preprocessor">#include "<a class="code" href="osclconfig__proc_8h.html">osclconfig_proc.h</a>"</span>
2100024 <span class="preprocessor">#if (OSCL_HAS_SINGLETON_SUPPORT)</span>
2200025 <span class="preprocessor"></span><span class="comment">//1st choice implementation-- uses Oscl singleton</span>
2300026
2400027 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl__global_8h.html">oscl_registry_serv_impl_global.h</a>"</span>
2500028
2600029 <span class="comment">//client is the same as server</span>
2700030 <span class="keyword">class </span><a class="code" href="classOsclRegistryClientImpl.html">OsclRegistryClientImpl</a>: <span class="keyword">public</span> OsclRegistryServImpl
2800031 {
2900032 };
3000033
3100034 <span class="comment">//access client is also the same as server</span>
3200035 <span class="keyword">class </span><a class="code" href="classOsclRegistryAccessClientImpl.html">OsclRegistryAccessClientImpl</a>: <span class="keyword">public</span> OsclRegistryServImpl
3300036 {
3400037 };
3500038
3600039 <span class="preprocessor">#else //OSCL_HAS_ ...</span>
3700040 <span class="preprocessor"></span><span class="comment">//3rd choice implementation -- Non-functional stubs.</span>
3800041
3900042 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span>
4000043 <span class="preprocessor">#include "<a class="code" href="oscl__string_8h.html">oscl_string.h</a>"</span>
4100044 <span class="preprocessor">#include "<a class="code" href="oscl__registry__types_8h.html">oscl_registry_types.h</a>"</span>
4200045
43<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>
4400047 {
4500048     <span class="keyword">protected</span>:
4600049
47<a name="l00050"></a><a class="code" href="classOsclRegistryClientImpl.html#b0">00050</a>         int32 <a class="code" href="classOsclRegistryClientImpl.html#b0">Connect</a>()
4800051         {
4900052             <span class="keywordflow">return</span> <a class="code" href="group__osclerror.html#a15">OsclErrNotSupported</a>;
5000053         }
51<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>() {}
5200055
53<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>&amp; , <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a>)
5400057         {
5500058             <span class="keywordflow">return</span> <a class="code" href="group__osclerror.html#a15">OsclErrNotSupported</a>;
5600059         }
57<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>&amp;)
5800061         {
5900062             <span class="keywordflow">return</span> <a class="code" href="group__osclerror.html#a15">OsclErrNotSupported</a>;
6000063         }
6100064
6200065         <span class="comment">//for access client.</span>
63<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>&amp;)
6400067         {
6500068             <span class="keywordflow">return</span> <a class="code" href="group__osclbase.html#a81">NULL</a>;
6600069         }
67<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>&amp; , <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;OsclRegistryAccessElement, OsclMemAllocator&gt;</a>&amp;) {}
6800071
69<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>;
70<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>;
7100074 };
7200075
73<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>
7400077 {
7500078 };
7600079
7700080 <span class="preprocessor">#endif //OSCL_HAS_ ...</span>
7800081 <span class="preprocessor"></span>
7900082
8000083 <span class="comment">//TLS-based registry</span>
8100084 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl__tls_8h.html">oscl_registry_serv_impl_tls.h</a>"</span>
8200085
8300086 <span class="comment">//client is the same as server</span>
84<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>
8500088 {
8600089 };
8700090
8800091 <span class="comment">//access client is also the same as server</span>
89<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>
9000093 {
9100094 };
9200095
9300096 <span class="preprocessor">#endif //OSCL_REGISTRY_IMPL_H_INCLUDED</span>
9400097 <span class="preprocessor"></span>
95</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
96<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
97</small></address>
98</body>
99</html>
100