zeus/_service_8hpp_source.html

202 lines
72 KiB
HTML

<!-- HTML header for doxygen 1.8.8-->
<!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="X-UA-Compatible" content="IE=edge">
<!-- For Mobile Devices -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<title>zeus: Zeus ewol micro-service interface: framework/atria-soft/zeus/zeus/Service.hpp Source File</title>
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="doxy-boot.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand">zeus: Zeus ewol micro-service interface 0.4.0</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Main&nbsp;Page</a></li>
<li><a href="pages.html">Related&nbsp;Pages</a></li>
<li><a href="namespaces.html">Namespaces</a></li>
<li><a href="annotated.html">Classes</a></li>
<li><a href="files.html">Files</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Link-libs<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
</ul>
</li>
</ul>
<div id="search-box" class="input-group">
<div class="input-group-btn">
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-search"></span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">All</a></li>
<li><a href="#">Classes</a></li>
<li><a href="#">Namespaces</a></li>
<li><a href="#">Files</a></li>
<li><a href="#">Functions</a></li>
<li><a href="#">Variables</a></li>
<li><a href="#">Typedefs</a></li>
<li><a href="#">Enumerations</a></li>
<li><a href="#">Enumerator</a></li>
<li><a href="#">Friends</a></li>
<li><a href="#">Macros</a></li>
<li><a href="#">Pages</a></li>
</ul>
</div>
<button id="search-close" type="button" class="close" aria-label="Close">
<span aria-hidden="true"></span>
</button>
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
</div>
</div><!--/.nav-collapse -->
</div>
</nav>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div class="content" id="content">
<div class="container">
<div class="row">
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
<div style="margin-bottom: 15px;margin-top: 60px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_96d802beaf7bb3afdcf2656a2c8ec44e.html">zeus</a></li><li class="navelem"><a class="el" href="dir_645a2e7aebb6c78a7ec97ee8c38ef7e7.html">zeus</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Service.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_service_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_web_server_8hpp.html">zeus/WebServer.hpp</a>&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/__value__8hpp.html">eproperty/Value.hpp</a>&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_abstract_function_type_direct_8hpp.html">zeus/AbstractFunctionTypeDirect.hpp</a>&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_abstract_function_type_class_8hpp.html">zeus/AbstractFunctionTypeClass.hpp</a>&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;zeus/debug.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_remote_process_call_8hpp.html">zeus/RemoteProcessCall.hpp</a>&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_future_8hpp.html">zeus/Future.hpp</a>&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezeus.html">zeus</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html"> 25</a></span>&#160; <span class="keyword">class </span><a class="code" href="classzeus_1_1_client_property.html">ClientProperty</a> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#a76bc19268d302abb546b46ae79e10625"> 32</a></span>&#160; <a class="code" href="classzeus_1_1_client_property.html#a76bc19268d302abb546b46ae79e10625">ClientProperty</a>(<span class="keyword">const</span> std::string&amp; _clientName=<span class="stringliteral">&quot;&quot;</span>, <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; _groups = std::vector&lt;std::string&gt;()) :</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; m_name(_clientName),</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; m_groups(_groups) {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; }</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; std::string m_name;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#a03626387496d4f71ce3d51f3bd195242"> 45</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_client_property.html#a03626387496d4f71ce3d51f3bd195242">setName</a>(<span class="keyword">const</span> std::string&amp; _name) {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; m_name = _name;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; }</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#ae017f8b2304f15ffc259fd2a26634152"> 53</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classzeus_1_1_client_property.html#ae017f8b2304f15ffc259fd2a26634152">getName</a>() {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">return</span> m_name;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; std::vector&lt;std::string&gt; m_groups;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#a87e50a6036af6fff990fd47e314ea89b"> 64</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_client_property.html#a87e50a6036af6fff990fd47e314ea89b">setGroups</a>(std::vector&lt;std::string&gt; _groups) {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; m_groups = _groups;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; }</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#a7ae50ef93005c42160de12ee7509b5e6"> 72</a></span>&#160; <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; <a class="code" href="classzeus_1_1_client_property.html#a7ae50ef93005c42160de12ee7509b5e6">getGroups</a>() {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordflow">return</span> m_groups;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; }</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; std::vector&lt;std::string&gt; m_listAthorizedFunction;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#aa51451a793f3806e0bbc6e1e0271be4e"> 83</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_client_property.html#aa51451a793f3806e0bbc6e1e0271be4e">addAuthorized</a>(<span class="keyword">const</span> std::string&amp; _funcName) {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; m_listAthorizedFunction.push_back(_funcName);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; }</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classzeus_1_1_client_property.html#a201bc29ec5054c04737c3499abe19aba"> 91</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classzeus_1_1_client_property.html#a201bc29ec5054c04737c3499abe19aba">isFunctionAuthorized</a>(<span class="keyword">const</span> std::string&amp; _funcName) {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">return</span> std::find(m_listAthorizedFunction.begin(), m_listAthorizedFunction.end(), _funcName) != m_listAthorizedFunction.end();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; };</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;}</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezeus.html">zeus</a> {</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classzeus_1_1_service.html"> 102</a></span>&#160; <span class="keyword">class </span><a class="code" href="classzeus_1_1_service.html">Service</a> : <span class="keyword">public</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/classeproperty_1_1_interface.html">eproperty::Interface</a>, <span class="keyword">public</span> <a class="code" href="classzeus_1_1_remote_process_call.html">zeus::RemoteProcessCall</a> {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::mutex m_mutex;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classzeus_1_1_service.html#ab826eb50667d1ba8a15f8c46745705b0"> 106</a></span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value&lt;std::string&gt;</a> <a class="code" href="classzeus_1_1_service.html#ab826eb50667d1ba8a15f8c46745705b0">propertyIp</a>; </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classzeus_1_1_service.html#a35cc644236eeb05a97ff7c2e5bc55eb9"> 107</a></span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value&lt;uint16_t&gt;</a> <a class="code" href="classzeus_1_1_service.html#a35cc644236eeb05a97ff7c2e5bc55eb9">propertyPort</a>; </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classzeus_1_1_service.html#ac0c7e8b6bddfb670178a77a544da1a11"> 108</a></span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value&lt;std::string&gt;</a> <a class="code" href="classzeus_1_1_service.html#ac0c7e8b6bddfb670178a77a544da1a11">propertyNameService</a>; </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;zeus::WebServer&gt;</a> m_interfaceClient;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; uint32_t m_id;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; std::vector&lt;std::string&gt; m_newData;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; std::vector&lt;zeus::FutureBase&gt; m_callMultiData;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="classzeus_1_1_service.html">Service</a>();</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classzeus_1_1_service.html">Service</a>();</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordtype">void</span> connect(uint32_t _numberRetry = 1);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> disconnect();</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordtype">void</span> onClientData(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;zeus::Buffer&gt;</a> _value);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordtype">void</span> pingIsAlive();</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">bool</span> GateWayAlive();</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordtype">void</span> onPropertyChangeServiceName();</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordtype">void</span> onPropertyChangeIp();</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordtype">void</span> onPropertyChangePort();</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> clientConnect(uint64_t _clientId, <span class="keyword">const</span> std::string&amp; _userName, <span class="keyword">const</span> std::string&amp; _clientName, <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; _groups) = 0;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> clientDisconnect(uint64_t _clientId) = 0;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="comment">// Genenric function call:</span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="comment"></span> <span class="keywordtype">void</span> callBinary(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;zeus::Buffer&gt;</a> _obj);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> callBinary2(<span class="keyword">const</span> std::string&amp; _call, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;zeus::BufferCall&gt;</a> _obj) = 0;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; std::vector&lt;std::string&gt; <a class="code" href="namespacezeus.html#a0fe7c6e1b1a881d47ae6373813f14705">getExtention</a>();</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="comment">// Add Local fuction (depend on this class)</span></div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">class </span>ZEUS_RETURN_VALUE,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keyword">class </span>ZEUS_CLASS_TYPE,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keyword">class</span>... ZEUS_FUNC_ARGS_TYPE&gt;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classzeus_1_1_service.html#a6f83b9fef593209468108089b97e133d"> 220</a></span>&#160; <a class="code" href="classzeus_1_1_abstract_function.html">zeus::AbstractFunction</a>* <a class="code" href="classzeus_1_1_service.html#a6f83b9fef593209468108089b97e133d">advertise</a>(std::string _name,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; ZEUS_RETURN_VALUE (ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args)) {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; _name = <span class="stringliteral">&quot;srv.&quot;</span> + _name;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;it : m_listFunction) {</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">if</span> (it == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; }</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">if</span> (it-&gt;getName() == _name) {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;Advertise function already bind .. ==&gt; can not be done...: &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; }</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; }</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <a class="code" href="classzeus_1_1_abstract_function.html">AbstractFunction</a>* tmp = <a class="code" href="namespacezeus.html#a5e286e66b58683703ac98a5295fccbe9">createAbstractFunctionClass</a>(_name, _func);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordflow">if</span> (tmp == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;can not create abstract function ... &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; }</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; tmp-&gt;<a class="code" href="classzeus_1_1_abstract_function.html#aec2aae9ebbf1203ec3ded6caf8e061b9">setType</a>(<a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7aaaabf0d39951f3e6c3e8a7911df524c2">zeus::AbstractFunction::type::service</a>);</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; ZEUS_INFO(<span class="stringliteral">&quot;Add function &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39; in local mode&quot;</span>);</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; m_listFunction.push_back(tmp);</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordflow">return</span> tmp;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; }</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; };</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">class</span> ZEUS_TYPE_SERVICE, <span class="keyword">class</span> ZEUS_USER_ACCESS&gt;</div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html"> 244</a></span>&#160; <span class="keyword">class </span><a class="code" href="classzeus_1_1_service_type.html">ServiceType</a> : <span class="keyword">public</span> <a class="code" href="classzeus_1_1_service.html">zeus::Service</a> {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ZEUS_USER_ACCESS&gt;</a> m_getUserInterface;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="comment">// no need of shared_ptr or unique_ptr (if service die all is lost and is client die, the gateway notify us...)</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; std::map&lt;uint64_t, std::pair&lt;ememory::SharedPtr&lt;ClientProperty&gt;, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ZEUS_TYPE_SERVICE&gt;</a>&gt;&gt; m_interface;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">class </span>ZEUS_RETURN_VALUE,</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keyword">class </span>ZEUS_CLASS_TYPE,</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keyword">class</span>... ZEUS_FUNC_ARGS_TYPE&gt;</div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#a543e59f6c2b29cde989f3e139356a1b5"> 258</a></span>&#160; <a class="code" href="classzeus_1_1_abstract_function.html">zeus::AbstractFunction</a>* <a class="code" href="classzeus_1_1_service_type.html#a543e59f6c2b29cde989f3e139356a1b5">advertise</a>(<span class="keyword">const</span> std::string&amp; _name,</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; ZEUS_RETURN_VALUE (ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args)) {</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keywordflow">if</span> (etk::start_with(_name, <span class="stringliteral">&quot;srv.&quot;</span>) == <span class="keyword">true</span>) {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;Advertise function start with &#39;srv.&#39; is not permited ==&gt; only allow for internal service: &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;it : m_listFunction) {</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordflow">if</span> (it == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordflow">if</span> (it-&gt;getName() == _name) {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;Advertise function already bind .. ==&gt; can not be done...: &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; }</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; }</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="classzeus_1_1_abstract_function.html">zeus::AbstractFunction</a>* tmp = <a class="code" href="namespacezeus.html#a5e286e66b58683703ac98a5295fccbe9">createAbstractFunctionClass</a>(_name, _func);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordflow">if</span> (tmp == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;can not create abstract function ... &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; }</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; tmp-&gt;<a class="code" href="classzeus_1_1_abstract_function.html#aec2aae9ebbf1203ec3ded6caf8e061b9">setType</a>(<a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7aa8cfde6331bd59eb2ac96f8911c4b666">zeus::AbstractFunction::type::object</a>);</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; ZEUS_INFO(<span class="stringliteral">&quot;Add function &#39;&quot;</span> &lt;&lt; _name &lt;&lt; <span class="stringliteral">&quot;&#39; in object mode&quot;</span>);</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; m_listFunction.push_back(tmp);</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordflow">return</span> tmp;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; }</div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#a713eda37092b480d379261b3cea3995e"> 288</a></span>&#160; <a class="code" href="classzeus_1_1_service_type.html#a713eda37092b480d379261b3cea3995e">ServiceType</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ZEUS_USER_ACCESS&gt;</a> _interface):</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; m_getUserInterface(_interface) {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; </div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; }</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#a2c403e9a18d3b780a2aaa43c07f9239e"> 297</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classzeus_1_1_service_type.html#a2c403e9a18d3b780a2aaa43c07f9239e">isFunctionAuthorized</a>(uint64_t _clientId, <span class="keyword">const</span> std::string&amp; _funcName) {</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keyword">auto</span> it = m_interface.find(_clientId);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <span class="keywordflow">if</span> (it == m_interface.end()) {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; }</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordflow">return</span> it-&gt;second.first-&gt;isFunctionAuthorized(_funcName);</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; }</div><div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#ac6737c537fcfadbaf4e08f3007ce4f79"> 309</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_service_type.html#ac6737c537fcfadbaf4e08f3007ce4f79">clientConnect</a>(uint64_t _clientId, <span class="keyword">const</span> std::string&amp; _userName, <span class="keyword">const</span> std::string&amp; _clientName, <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; _groups) {</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; std::unique_lock&lt;std::mutex&gt; lock(m_mutex);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; ZEUS_DEBUG(<span class="stringliteral">&quot;connect: &quot;</span> &lt;&lt; _clientId &lt;&lt; <span class="stringliteral">&quot; to &#39;&quot;</span> &lt;&lt; _userName &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; ZEUS_DEBUG(<span class="stringliteral">&quot; client name=&#39;&quot;</span> &lt;&lt; _clientName &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span>);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; ZEUS_DEBUG(<span class="stringliteral">&quot; groups=&quot;</span> &lt;&lt; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk.html#a48ed31a00f989f5b188d7254e6945a74">etk::to_string</a>(_groups));</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ClientProperty&gt;</a> tmpProperty = ememory::makeShared&lt;ClientProperty&gt;(_clientName, _groups);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ZEUS_TYPE_SERVICE&gt;</a> tmpSrv;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordflow">if</span> (m_getUserInterface == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; tmpSrv = ememory::makeShared&lt;ZEUS_TYPE_SERVICE&gt;(<span class="keyword">nullptr</span>, tmpProperty);</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; tmpSrv = ememory::makeShared&lt;ZEUS_TYPE_SERVICE&gt;(m_getUserInterface-&gt;getUser(_userName), tmpProperty);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; }</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; m_interface.insert(std::make_pair(_clientId, std::make_pair(tmpProperty, tmpSrv)));</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="comment">// enable list of function availlable:</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;it : m_listFunction) {</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <span class="keywordflow">if</span> (it == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; tmpProperty-&gt;addAuthorized(it-&gt;getName());</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; }</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; }</div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#a190d2345b8d6cc1c19b4b480f28a7106"> 335</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_service_type.html#a190d2345b8d6cc1c19b4b480f28a7106">clientDisconnect</a>(uint64_t _clientId) {</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; std::unique_lock&lt;std::mutex&gt; lock(m_mutex);</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; ZEUS_DEBUG(<span class="stringliteral">&quot;disconnect: &quot;</span> &lt;&lt; _clientId);</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keyword">auto</span> it = m_interface.find(_clientId);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <span class="keywordflow">if</span> (it == m_interface.end()) {</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; ZEUS_WARNING(<span class="stringliteral">&quot;disconnect ==&gt; Not find Client ID &quot;</span> &lt;&lt; _clientId);</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="comment">// noting to do ==&gt; user never conected.</span></div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; }</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; m_interface.erase(it);</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; }</div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#a6a6aa74fb0770b3eacfac8d37e82cedc"> 351</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_service_type.html#a6a6aa74fb0770b3eacfac8d37e82cedc">clientSetName</a>(uint64_t _clientId, <span class="keyword">const</span> std::string&amp; _clientName) {</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; std::unique_lock&lt;std::mutex&gt; lock(m_mutex);</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keyword">auto</span> it = m_interface.find(_clientId);</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <span class="keywordflow">if</span> (it == m_interface.end()) {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;Change the client property but client was not created ...&quot;</span>);</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; }</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; it-&gt;second.first-&gt;setName(_clientName);</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; }</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#aaaa2dd2c888b11663ca855fc961c0ab2"> 365</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_service_type.html#aaaa2dd2c888b11663ca855fc961c0ab2">clientSetGroup</a>(uint64_t _clientId, <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; _clientGroups) {</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; std::unique_lock&lt;std::mutex&gt; lock(m_mutex);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keyword">auto</span> it = m_interface.find(_clientId);</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <span class="keywordflow">if</span> (it == m_interface.end()) {</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;Change the client property but client was not created ...&quot;</span>);</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; }</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; it-&gt;second.first-&gt;setGroups(_clientGroups);</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; }</div><div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="classzeus_1_1_service_type.html#ad0447cdbe51437e7f10d1b3dfab3fa2e"> 379</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classzeus_1_1_service_type.html#ad0447cdbe51437e7f10d1b3dfab3fa2e">callBinary2</a>(<span class="keyword">const</span> std::string&amp; _call, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;zeus::BufferCall&gt;</a> _obj) {</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; <span class="keyword">auto</span> it = m_interface.find(_obj-&gt;<a class="code" href="classzeus_1_1_buffer.html#ab4932ae6c95c48ca42fdc58eef9cddb2">getClientId</a>());</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; <span class="keywordflow">if</span> (it == m_interface.end()) {</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; m_interfaceClient-&gt;<a class="code" href="classzeus_1_1_web_server.html#a98221404f4f355749c4afcfa69eda8b3">answerError</a>(_obj-&gt;<a class="code" href="classzeus_1_1_buffer.html#ab3904269466260a92e04b401e2e98eeb">getTransactionId</a>(), <span class="stringliteral">&quot;CLIENT-UNKNOW&quot;</span>, <span class="stringliteral">&quot;&quot;</span>, _obj-&gt;<a class="code" href="classzeus_1_1_buffer.html#ab4932ae6c95c48ca42fdc58eef9cddb2">getClientId</a>());</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; }</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;it2 : m_listFunction) {</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <span class="keywordflow">if</span> (it2 == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; }</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keywordflow">if</span> (it2-&gt;getName() != _call) {</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; }</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <span class="keywordflow">switch</span> (it2-&gt;getType()) {</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; <span class="keywordflow">case</span> <a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7aa8cfde6331bd59eb2ac96f8911c4b666">zeus::AbstractFunction::type::object</a>: {</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; ZEUS_TYPE_SERVICE* elem = it-&gt;second.second.get();</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; it2-&gt;execute(m_interfaceClient, _obj, (<span class="keywordtype">void</span>*)elem);</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; }</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; <span class="keywordflow">case</span> <a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7af5ddaf0ca7929578b408c909429f68f2">zeus::AbstractFunction::type::local</a>: {</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; it2-&gt;execute(m_interfaceClient, _obj, (<span class="keywordtype">void</span>*)((<a class="code" href="classzeus_1_1_remote_process_call.html">RemoteProcessCall</a>*)<span class="keyword">this</span>));</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; }</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <span class="keywordflow">case</span> <a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7aaaabf0d39951f3e6c3e8a7911df524c2">zeus::AbstractFunction::type::service</a>: {</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; it2-&gt;execute(m_interfaceClient, _obj, (<span class="keywordtype">void</span>*)<span class="keyword">this</span>);</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; }</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; <span class="keywordflow">case</span> <a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7a9c70933aff6b2a6d08c687a6cbb6b765">zeus::AbstractFunction::type::global</a>: {</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; it2-&gt;execute(m_interfaceClient, _obj, <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; }</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <span class="keywordflow">case</span> <a class="code" href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7a5c940de9c166a32dc1f63d9dafc6822f">zeus::AbstractFunction::type::unknow</a>:</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; ZEUS_ERROR(<span class="stringliteral">&quot;Can not call unknow type ...&quot;</span>);</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; }</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; }</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; m_interfaceClient-&gt;<a class="code" href="classzeus_1_1_web_server.html#a98221404f4f355749c4afcfa69eda8b3">answerError</a>(_obj-&gt;<a class="code" href="classzeus_1_1_buffer.html#ab3904269466260a92e04b401e2e98eeb">getTransactionId</a>(), <span class="stringliteral">&quot;FUNCTION-UNKNOW&quot;</span>, <span class="stringliteral">&quot;&quot;</span>, _obj-&gt;<a class="code" href="classzeus_1_1_buffer.html#ab4932ae6c95c48ca42fdc58eef9cddb2">getClientId</a>());</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; }</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; };</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160;}</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160;</div><div class="ttc" id="classzeus_1_1_abstract_function_html_a92971542cd402eed6be8f1c20e2ac6e7aa8cfde6331bd59eb2ac96f8911c4b666"><div class="ttname"><a href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7aa8cfde6331bd59eb2ac96f8911c4b666">zeus::AbstractFunction::type::object</a></div><div class="ttdoc">this is for service instance call </div></div>
<div class="ttc" id="classzeus_1_1_abstract_function_html_aec2aae9ebbf1203ec3ded6caf8e061b9"><div class="ttname"><a href="classzeus_1_1_abstract_function.html#aec2aae9ebbf1203ec3ded6caf8e061b9">zeus::AbstractFunction::setType</a></div><div class="ttdeci">void setType(enum type _type)</div><div class="ttdoc">Set the type of the call that must be done for this function. </div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_a76bc19268d302abb546b46ae79e10625"><div class="ttname"><a href="classzeus_1_1_client_property.html#a76bc19268d302abb546b46ae79e10625">zeus::ClientProperty::ClientProperty</a></div><div class="ttdeci">ClientProperty(const std::string &amp;_clientName=&quot;&quot;, const std::vector&lt; std::string &gt; &amp;_groups=std::vector&lt; std::string &gt;())</div><div class="ttdef"><b>Definition:</b> Service.hpp:32</div></div>
<div class="ttc" id="classzeus_1_1_abstract_function_html_a92971542cd402eed6be8f1c20e2ac6e7aaaabf0d39951f3e6c3e8a7911df524c2"><div class="ttname"><a href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7aaaabf0d39951f3e6c3e8a7911df524c2">zeus::AbstractFunction::type::service</a></div><div class="ttdoc">This call a service function (global function like &quot;srv.xxx&quot;) </div></div>
<div class="ttc" id="classzeus_1_1_abstract_function_html_a92971542cd402eed6be8f1c20e2ac6e7a9c70933aff6b2a6d08c687a6cbb6b765"><div class="ttname"><a href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7a9c70933aff6b2a6d08c687a6cbb6b765">zeus::AbstractFunction::type::global</a></div><div class="ttdoc">This is a global function. </div></div>
<div class="ttc" id="classzeus_1_1_client_property_html"><div class="ttname"><a href="classzeus_1_1_client_property.html">zeus::ClientProperty</a></div><div class="ttdef"><b>Definition:</b> Service.hpp:25</div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_ae017f8b2304f15ffc259fd2a26634152"><div class="ttname"><a href="classzeus_1_1_client_property.html#ae017f8b2304f15ffc259fd2a26634152">zeus::ClientProperty::getName</a></div><div class="ttdeci">const std::string &amp; getName()</div><div class="ttdef"><b>Definition:</b> Service.hpp:53</div></div>
<div class="ttc" id="_abstract_function_type_direct_8hpp_html"><div class="ttname"><a href="_abstract_function_type_direct_8hpp.html">AbstractFunctionTypeDirect.hpp</a></div></div>
<div class="ttc" id="classzeus_1_1_service_html_a35cc644236eeb05a97ff7c2e5bc55eb9"><div class="ttname"><a href="classzeus_1_1_service.html#a35cc644236eeb05a97ff7c2e5bc55eb9">zeus::Service::propertyPort</a></div><div class="ttdeci">eproperty::Value&lt; uint16_t &gt; propertyPort</div><div class="ttdoc">Port of the WebSocket connection. </div><div class="ttdef"><b>Definition:</b> Service.hpp:107</div></div>
<div class="ttc" id="classzeus_1_1_abstract_function_html"><div class="ttname"><a href="classzeus_1_1_abstract_function.html">zeus::AbstractFunction</a></div><div class="ttdoc">Interface to store a function and call it after with a zeus::Buffer. </div><div class="ttdef"><b>Definition:</b> AbstractFunction.hpp:23</div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_aaaa2dd2c888b11663ca855fc961c0ab2"><div class="ttname"><a href="classzeus_1_1_service_type.html#aaaa2dd2c888b11663ca855fc961c0ab2">zeus::ServiceType::clientSetGroup</a></div><div class="ttdeci">void clientSetGroup(uint64_t _clientId, const std::vector&lt; std::string &gt; &amp;_clientGroups)</div><div class="ttdef"><b>Definition:</b> Service.hpp:365</div></div>
<div class="ttc" id="classzeus_1_1_buffer_html_ab4932ae6c95c48ca42fdc58eef9cddb2"><div class="ttname"><a href="classzeus_1_1_buffer.html#ab4932ae6c95c48ca42fdc58eef9cddb2">zeus::Buffer::getClientId</a></div><div class="ttdeci">uint32_t getClientId() const</div><div class="ttdoc">Get the Client identifier of the packet. </div></div>
<div class="ttc" id="classzeus_1_1_service_html_ac0c7e8b6bddfb670178a77a544da1a11"><div class="ttname"><a href="classzeus_1_1_service.html#ac0c7e8b6bddfb670178a77a544da1a11">zeus::Service::propertyNameService</a></div><div class="ttdeci">eproperty::Value&lt; std::string &gt; propertyNameService</div><div class="ttdoc">Service name. </div><div class="ttdef"><b>Definition:</b> Service.hpp:108</div></div>
<div class="ttc" id="classzeus_1_1_web_server_html_a98221404f4f355749c4afcfa69eda8b3"><div class="ttname"><a href="classzeus_1_1_web_server.html#a98221404f4f355749c4afcfa69eda8b3">zeus::WebServer::answerError</a></div><div class="ttdeci">void answerError(uint64_t _clientTransactionId, const std::string &amp;_errorValue, const std::string &amp;_errorComment=&quot;&quot;, uint32_t _clientId=0)</div></div>
<div class="ttc" id="classzeus_1_1_buffer_html_ab3904269466260a92e04b401e2e98eeb"><div class="ttname"><a href="classzeus_1_1_buffer.html#ab3904269466260a92e04b401e2e98eeb">zeus::Buffer::getTransactionId</a></div><div class="ttdeci">uint32_t getTransactionId() const</div><div class="ttdoc">Get the transaction identifier of the packet. </div></div>
<div class="ttc" id="_remote_process_call_8hpp_html"><div class="ttname"><a href="_remote_process_call_8hpp.html">RemoteProcessCall.hpp</a></div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_a2c403e9a18d3b780a2aaa43c07f9239e"><div class="ttname"><a href="classzeus_1_1_service_type.html#a2c403e9a18d3b780a2aaa43c07f9239e">zeus::ServiceType::isFunctionAuthorized</a></div><div class="ttdeci">bool isFunctionAuthorized(uint64_t _clientId, const std::string &amp;_funcName)</div><div class="ttdef"><b>Definition:</b> Service.hpp:297</div></div>
<div class="ttc" id="classzeus_1_1_service_html_a6f83b9fef593209468108089b97e133d"><div class="ttname"><a href="classzeus_1_1_service.html#a6f83b9fef593209468108089b97e133d">zeus::Service::advertise</a></div><div class="ttdeci">zeus::AbstractFunction * advertise(std::string _name, ZEUS_RETURN_VALUE(ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args))</div><div class="ttdef"><b>Definition:</b> Service.hpp:220</div></div>
<div class="ttc" id="classzeus_1_1_service_html_ab826eb50667d1ba8a15f8c46745705b0"><div class="ttname"><a href="classzeus_1_1_service.html#ab826eb50667d1ba8a15f8c46745705b0">zeus::Service::propertyIp</a></div><div class="ttdeci">eproperty::Value&lt; std::string &gt; propertyIp</div><div class="ttdoc">Ip of WebSocket TCP connection. </div><div class="ttdef"><b>Definition:</b> Service.hpp:106</div></div>
<div class="ttc" id="_abstract_function_type_class_8hpp_html"><div class="ttname"><a href="_abstract_function_type_class_8hpp.html">AbstractFunctionTypeClass.hpp</a></div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_a03626387496d4f71ce3d51f3bd195242"><div class="ttname"><a href="classzeus_1_1_client_property.html#a03626387496d4f71ce3d51f3bd195242">zeus::ClientProperty::setName</a></div><div class="ttdeci">void setName(const std::string &amp;_name)</div><div class="ttdef"><b>Definition:</b> Service.hpp:45</div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_a87e50a6036af6fff990fd47e314ea89b"><div class="ttname"><a href="classzeus_1_1_client_property.html#a87e50a6036af6fff990fd47e314ea89b">zeus::ClientProperty::setGroups</a></div><div class="ttdeci">void setGroups(std::vector&lt; std::string &gt; _groups)</div><div class="ttdef"><b>Definition:</b> Service.hpp:64</div></div>
<div class="ttc" id="_web_server_8hpp_html"><div class="ttname"><a href="_web_server_8hpp.html">WebServer.hpp</a></div></div>
<div class="ttc" id="classzeus_1_1_service_type_html"><div class="ttname"><a href="classzeus_1_1_service_type.html">zeus::ServiceType</a></div><div class="ttdef"><b>Definition:</b> Service.hpp:244</div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_ac6737c537fcfadbaf4e08f3007ce4f79"><div class="ttname"><a href="classzeus_1_1_service_type.html#ac6737c537fcfadbaf4e08f3007ce4f79">zeus::ServiceType::clientConnect</a></div><div class="ttdeci">void clientConnect(uint64_t _clientId, const std::string &amp;_userName, const std::string &amp;_clientName, const std::vector&lt; std::string &gt; &amp;_groups)</div><div class="ttdef"><b>Definition:</b> Service.hpp:309</div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_a543e59f6c2b29cde989f3e139356a1b5"><div class="ttname"><a href="classzeus_1_1_service_type.html#a543e59f6c2b29cde989f3e139356a1b5">zeus::ServiceType::advertise</a></div><div class="ttdeci">zeus::AbstractFunction * advertise(const std::string &amp;_name, ZEUS_RETURN_VALUE(ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args))</div><div class="ttdef"><b>Definition:</b> Service.hpp:258</div></div>
<div class="ttc" id="_future_8hpp_html"><div class="ttname"><a href="_future_8hpp.html">Future.hpp</a></div></div>
<div class="ttc" id="classeproperty_1_1_interface_html"><div class="ttname"><a href="http://atria-soft.github.io/eproperty/classeproperty_1_1_interface.html">eproperty::Interface</a></div></div>
<div class="ttc" id="__value__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/eproperty/__value__8hpp.html">Value.hpp</a></div></div>
<div class="ttc" id="namespacezeus_html"><div class="ttname"><a href="namespacezeus.html">zeus</a></div><div class="ttdoc">Main zeus library namespace. </div><div class="ttdef"><b>Definition:</b> AbstractFunction.hpp:15</div></div>
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr</a></div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_aa51451a793f3806e0bbc6e1e0271be4e"><div class="ttname"><a href="classzeus_1_1_client_property.html#aa51451a793f3806e0bbc6e1e0271be4e">zeus::ClientProperty::addAuthorized</a></div><div class="ttdeci">void addAuthorized(const std::string &amp;_funcName)</div><div class="ttdef"><b>Definition:</b> Service.hpp:83</div></div>
<div class="ttc" id="namespacezeus_html_a5e286e66b58683703ac98a5295fccbe9"><div class="ttname"><a href="namespacezeus.html#a5e286e66b58683703ac98a5295fccbe9">zeus::createAbstractFunctionClass</a></div><div class="ttdeci">AbstractFunction * createAbstractFunctionClass(const std::string &amp;_name, ZEUS_RETURN(ZEUS_CLASS_TYPE::*_fffp)(ZEUS_TYPES...))</div><div class="ttdoc">Create a function information with the function type. </div><div class="ttdef"><b>Definition:</b> AbstractFunctionTypeClass.hpp:157</div></div>
<div class="ttc" id="classeproperty_1_1_value_html"><div class="ttname"><a href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value&lt; std::string &gt;</a></div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_a7ae50ef93005c42160de12ee7509b5e6"><div class="ttname"><a href="classzeus_1_1_client_property.html#a7ae50ef93005c42160de12ee7509b5e6">zeus::ClientProperty::getGroups</a></div><div class="ttdeci">const std::vector&lt; std::string &gt; &amp; getGroups()</div><div class="ttdef"><b>Definition:</b> Service.hpp:72</div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_a6a6aa74fb0770b3eacfac8d37e82cedc"><div class="ttname"><a href="classzeus_1_1_service_type.html#a6a6aa74fb0770b3eacfac8d37e82cedc">zeus::ServiceType::clientSetName</a></div><div class="ttdeci">void clientSetName(uint64_t _clientId, const std::string &amp;_clientName)</div><div class="ttdef"><b>Definition:</b> Service.hpp:351</div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_a190d2345b8d6cc1c19b4b480f28a7106"><div class="ttname"><a href="classzeus_1_1_service_type.html#a190d2345b8d6cc1c19b4b480f28a7106">zeus::ServiceType::clientDisconnect</a></div><div class="ttdeci">void clientDisconnect(uint64_t _clientId)</div><div class="ttdef"><b>Definition:</b> Service.hpp:335</div></div>
<div class="ttc" id="classzeus_1_1_service_html"><div class="ttname"><a href="classzeus_1_1_service.html">zeus::Service</a></div><div class="ttdef"><b>Definition:</b> Service.hpp:102</div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_a713eda37092b480d379261b3cea3995e"><div class="ttname"><a href="classzeus_1_1_service_type.html#a713eda37092b480d379261b3cea3995e">zeus::ServiceType::ServiceType</a></div><div class="ttdeci">ServiceType(ememory::SharedPtr&lt; ZEUS_USER_ACCESS &gt; _interface)</div><div class="ttdef"><b>Definition:</b> Service.hpp:288</div></div>
<div class="ttc" id="namespaceetk_html_a48ed31a00f989f5b188d7254e6945a74"><div class="ttname"><a href="http://atria-soft.github.io/etk/namespaceetk.html#a48ed31a00f989f5b188d7254e6945a74">etk::to_string</a></div><div class="ttdeci">std::string to_string(const TYPE &amp;_variable)</div></div>
<div class="ttc" id="classzeus_1_1_abstract_function_html_a92971542cd402eed6be8f1c20e2ac6e7af5ddaf0ca7929578b408c909429f68f2"><div class="ttname"><a href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7af5ddaf0ca7929578b408c909429f68f2">zeus::AbstractFunction::type::local</a></div><div class="ttdoc">This is a local fucntion. </div></div>
<div class="ttc" id="classzeus_1_1_abstract_function_html_a92971542cd402eed6be8f1c20e2ac6e7a5c940de9c166a32dc1f63d9dafc6822f"><div class="ttname"><a href="classzeus_1_1_abstract_function.html#a92971542cd402eed6be8f1c20e2ac6e7a5c940de9c166a32dc1f63d9dafc6822f">zeus::AbstractFunction::type::unknow</a></div><div class="ttdoc">Does not know the type of the call. </div></div>
<div class="ttc" id="classzeus_1_1_service_type_html_ad0447cdbe51437e7f10d1b3dfab3fa2e"><div class="ttname"><a href="classzeus_1_1_service_type.html#ad0447cdbe51437e7f10d1b3dfab3fa2e">zeus::ServiceType::callBinary2</a></div><div class="ttdeci">void callBinary2(const std::string &amp;_call, ememory::SharedPtr&lt; zeus::BufferCall &gt; _obj)</div><div class="ttdef"><b>Definition:</b> Service.hpp:379</div></div>
<div class="ttc" id="classzeus_1_1_client_property_html_a201bc29ec5054c04737c3499abe19aba"><div class="ttname"><a href="classzeus_1_1_client_property.html#a201bc29ec5054c04737c3499abe19aba">zeus::ClientProperty::isFunctionAuthorized</a></div><div class="ttdeci">bool isFunctionAuthorized(const std::string &amp;_funcName)</div><div class="ttdef"><b>Definition:</b> Service.hpp:91</div></div>
<div class="ttc" id="namespacezeus_html_a0fe7c6e1b1a881d47ae6373813f14705"><div class="ttname"><a href="namespacezeus.html#a0fe7c6e1b1a881d47ae6373813f14705">zeus::getExtention</a></div><div class="ttdeci">std::string getExtention(const std::string &amp;_mineType)</div><div class="ttdoc">Retrive the extention of a file with his mine type. </div></div>
<div class="ttc" id="classzeus_1_1_remote_process_call_html"><div class="ttname"><a href="classzeus_1_1_remote_process_call.html">zeus::RemoteProcessCall</a></div><div class="ttdoc">Local declaration of call local data. </div><div class="ttdef"><b>Definition:</b> RemoteProcessCall.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Mon Oct 24 2016 15:35:54 for zeus: Zeus ewol micro-service interface by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>