docs/Triglav/Agent/Base/Connection.html in triglav-agent-1.0.0.pre2 vs docs/Triglav/Agent/Base/Connection.html in triglav-agent-1.0.0.rc1

- old
+ new

@@ -110,17 +110,19 @@ want to use in your Monitor class.</p> <p>You have to implement following methods:</p> <ul><li> <p>initialize</p> +</li><li> +<p>close</p> </li></ul> <p>An instance is created for each `resource_uri_prefix`, that is, shared among resources with of same `resource_uri_prefix`.</p> -<p>Note that multiple connections would be created, one connection for one -parallel thread basically.</p> +<p>Note that multiple connection instances would be created when multiple +parallel threads are created in Processor class.</p> </div> </div> <div class="tags"> @@ -142,10 +144,34 @@ <ul class="summary"> <li class="public "> <span class="summary_signature"> + <a href="#close-instance_method" title="#close (instance method)">#<strong>close</strong> &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>close the connection.</p> +</div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(connection_info) &#x21d2; Connection </a> </span> @@ -225,16 +251,16 @@ <tr> <td> <pre class="lines"> -19 20 -21</pre> +21 +22</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/connection.rb', line 19</span> + <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/connection.rb', line 20</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_info'>connection_info</span><span class='rparen'>)</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span> <span class='kw'>end</span></pre> </td> @@ -243,13 +269,73 @@ </div> </div> + <div id="instance_method_details" class="method_details_list"> + <h2>Instance Method Details</h2> + + + <div class="method_details first"> + <h3 class="signature first" id="close-instance_method"> + + #<strong>close</strong> &#x21d2; <tt>Object</tt> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>close the connection</p> + + + </div> </div> +<div class="tags"> + +<p class="tag_title">Raises:</p> +<ul class="raise"> + + <li> + + + <span class='type'>(<tt>NotImplementedError</tt>)</span> + + + + </li> + +</ul> +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +25 +26 +27</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/connection.rb', line 25</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_close'>close</span> + <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + </div> + +</div> + <div id="footer"> - Generated on Thu Feb 23 23:20:34 2017 by + Generated on Wed Mar 8 23:12:39 2017 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.5 (ruby-2.3.2). </div> </div> \ No newline at end of file