roma-client 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CHANGELOG → CHANGELOG.md} +8 -5
- data/Gemfile.lock +23 -15
- data/README.md +62 -0
- data/Rakefile +3 -3
- data/doc/CHANGELOG_md.html +119 -0
- data/doc/README_md.html +161 -0
- data/doc/Roma/Client/ClientPool.html +716 -0
- data/doc/Roma/Client/ClientRoutingTable.html +495 -0
- data/doc/Roma/Client/ConPool.html +484 -0
- data/doc/Roma/Client/Plugin/Alist.html +1276 -0
- data/doc/Roma/Client/Plugin/Map.html +531 -0
- data/doc/Roma/Client/Plugin/MapCount.html +401 -0
- data/doc/Roma/Client/Plugin.html +95 -0
- data/doc/Roma/Client/Proxy/ClientHandler.html +273 -0
- data/doc/Roma/Client/Proxy/Conpool.html +394 -0
- data/doc/Roma/Client/Proxy/Daemon.html +305 -0
- data/doc/Roma/Client/Proxy/RomaHandler.html +217 -0
- data/doc/Roma/Client/Proxy.html +95 -0
- data/doc/Roma/Client/RomaClient.html +1339 -0
- data/doc/Roma/Client/Sender.html +482 -0
- data/doc/Roma/Client/Stats.html +162 -0
- data/doc/Roma/Client/VERSION.html +141 -0
- data/doc/Roma/Client.html +95 -0
- data/doc/Roma/Logging/RLogger/ExtLogDev.html +159 -0
- data/doc/Roma/Logging/RLogger/ExtShiftAge.html +95 -0
- data/doc/Roma/Logging/RLogger/ExtTrace.html +109 -0
- data/doc/Roma/Logging/RLogger/Severity.html +139 -0
- data/doc/Roma/Logging/RLogger.html +786 -0
- data/doc/Roma/Logging.html +95 -0
- data/doc/Roma/Routing/RoutingData/RandomNodeListMaker.html +311 -0
- data/doc/Roma/Routing/RoutingData.html +912 -0
- data/doc/Roma/Routing.html +95 -0
- data/doc/Roma.html +95 -0
- data/doc/created.rid +20 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +210 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +228 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +972 -0
- data/lib/roma/client/rclient.rb +2 -1
- data/lib/roma/client/sender.rb +2 -2
- data/lib/roma/client/version.rb +1 -1
- data/lib/roma/client.rb +0 -21
- metadata +84 -10
- data/README +0 -17
@@ -0,0 +1,305 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset=" UTF-8">
|
6
|
+
|
7
|
+
<title>class Roma::Client::Proxy::Daemon - ROMA documents</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../../../js/jquery.js"></script>
|
14
|
+
<script src="../../../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../../../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../../../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="class">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../../../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../../../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../../../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../../../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
58
|
+
<h3>Parent</h3>
|
59
|
+
|
60
|
+
|
61
|
+
<p class="link">Object
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<div id="method-list-section" class="nav-section">
|
69
|
+
<h3>Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list" role="directory">
|
72
|
+
|
73
|
+
<li ><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li ><a href="#method-c-rttable">::rttable</a>
|
76
|
+
|
77
|
+
<li ><a href="#method-i-initialize_logger">#initialize_logger</a>
|
78
|
+
|
79
|
+
<li ><a href="#method-i-start">#start</a>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</nav>
|
86
|
+
|
87
|
+
<main role="main" aria-labelledby="class-Roma::Client::Proxy::Daemon">
|
88
|
+
<h1 id="class-Roma::Client::Proxy::Daemon" class="class">
|
89
|
+
class Roma::Client::Proxy::Daemon
|
90
|
+
</h1>
|
91
|
+
|
92
|
+
<section class="description">
|
93
|
+
|
94
|
+
</section>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<section class="attribute-method-details" class="method-section">
|
108
|
+
<header>
|
109
|
+
<h3>Attributes</h3>
|
110
|
+
</header>
|
111
|
+
|
112
|
+
|
113
|
+
<div id="attribute-i-daemon" class="method-detail">
|
114
|
+
<div class="method-heading attribute-method-heading">
|
115
|
+
<span class="method-name">daemon</span><span
|
116
|
+
class="attribute-access-type">[R]</span>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
<div class="method-description">
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
</section>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
131
|
+
<header>
|
132
|
+
<h3>Public Class Methods</h3>
|
133
|
+
</header>
|
134
|
+
|
135
|
+
|
136
|
+
<div id="method-c-new" class="method-detail ">
|
137
|
+
|
138
|
+
<div class="method-heading">
|
139
|
+
<span class="method-name">new</span><span
|
140
|
+
class="method-args">(argv = nil)</span>
|
141
|
+
|
142
|
+
<span class="method-click-advice">click to toggle source</span>
|
143
|
+
|
144
|
+
</div>
|
145
|
+
|
146
|
+
|
147
|
+
<div class="method-description">
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
<div class="method-source-code" id="new-source">
|
155
|
+
<pre><span class="ruby-comment"># File lib/roma/client/proxy/daemon.rb, line 139</span>
|
156
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">argv</span> = <span class="ruby-keyword">nil</span>)
|
157
|
+
<span class="ruby-identifier">options</span>(<span class="ruby-identifier">argv</span>)
|
158
|
+
<span class="ruby-identifier">initialize_logger</span>
|
159
|
+
<span class="ruby-ivar">@sender</span> = <span class="ruby-constant">Roma</span><span class="ruby-operator">::</span><span class="ruby-constant">Client</span><span class="ruby-operator">::</span><span class="ruby-constant">Sender</span>.<span class="ruby-identifier">new</span>
|
160
|
+
<span class="ruby-identifier">update_rttable</span>(<span class="ruby-ivar">@init_nodes</span>)
|
161
|
+
<span class="ruby-keyword">end</span></pre>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
</div>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
<div id="method-c-rttable" class="method-detail ">
|
173
|
+
|
174
|
+
<div class="method-heading">
|
175
|
+
<span class="method-name">rttable</span><span
|
176
|
+
class="method-args">()</span>
|
177
|
+
|
178
|
+
<span class="method-click-advice">click to toggle source</span>
|
179
|
+
|
180
|
+
</div>
|
181
|
+
|
182
|
+
|
183
|
+
<div class="method-description">
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
<div class="method-source-code" id="rttable-source">
|
191
|
+
<pre><span class="ruby-comment"># File lib/roma/client/proxy/daemon.rb, line 135</span>
|
192
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">rttable</span>
|
193
|
+
<span class="ruby-identifier">@@rttable</span>
|
194
|
+
<span class="ruby-keyword">end</span></pre>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</div>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
</div>
|
203
|
+
|
204
|
+
|
205
|
+
</section>
|
206
|
+
|
207
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
208
|
+
<header>
|
209
|
+
<h3>Public Instance Methods</h3>
|
210
|
+
</header>
|
211
|
+
|
212
|
+
|
213
|
+
<div id="method-i-initialize_logger" class="method-detail ">
|
214
|
+
|
215
|
+
<div class="method-heading">
|
216
|
+
<span class="method-name">initialize_logger</span><span
|
217
|
+
class="method-args">()</span>
|
218
|
+
|
219
|
+
<span class="method-click-advice">click to toggle source</span>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
|
224
|
+
<div class="method-description">
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<div class="method-source-code" id="initialize_logger-source">
|
232
|
+
<pre><span class="ruby-comment"># File lib/roma/client/proxy/daemon.rb, line 146</span>
|
233
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize_logger</span>
|
234
|
+
<span class="ruby-constant">Roma</span><span class="ruby-operator">::</span><span class="ruby-constant">Logging</span><span class="ruby-operator">::</span><span class="ruby-constant">RLogger</span>.<span class="ruby-identifier">create_singleton_instance</span>(<span class="ruby-ivar">@log_path</span>,
|
235
|
+
<span class="ruby-ivar">@log_age</span>,
|
236
|
+
<span class="ruby-ivar">@log_size</span>)
|
237
|
+
<span class="ruby-keyword">end</span></pre>
|
238
|
+
</div>
|
239
|
+
|
240
|
+
</div>
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
</div>
|
246
|
+
|
247
|
+
|
248
|
+
<div id="method-i-start" class="method-detail ">
|
249
|
+
|
250
|
+
<div class="method-heading">
|
251
|
+
<span class="method-name">start</span><span
|
252
|
+
class="method-args">()</span>
|
253
|
+
|
254
|
+
<span class="method-click-advice">click to toggle source</span>
|
255
|
+
|
256
|
+
</div>
|
257
|
+
|
258
|
+
|
259
|
+
<div class="method-description">
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
<div class="method-source-code" id="start-source">
|
267
|
+
<pre><span class="ruby-comment"># File lib/roma/client/proxy/daemon.rb, line 152</span>
|
268
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">start</span>
|
269
|
+
|
270
|
+
<span class="ruby-identifier">timer</span>
|
271
|
+
|
272
|
+
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
273
|
+
<span class="ruby-keyword">begin</span>
|
274
|
+
<span class="ruby-constant">EventMachine</span><span class="ruby-operator">::</span><span class="ruby-identifier">run</span> <span class="ruby-keyword">do</span>
|
275
|
+
<span class="ruby-constant">EventMachine</span>.<span class="ruby-identifier">start_server</span>(<span class="ruby-string">'0.0.0.0'</span>, <span class="ruby-ivar">@port</span>, <span class="ruby-constant">ClientHandler</span>)
|
276
|
+
<span class="ruby-constant">EventMachine</span>.<span class="ruby-identifier">start_unix_domain_server</span>(<span class="ruby-node">"/tmp/#{@uds_name}"</span>, <span class="ruby-constant">ClientHandler</span>)
|
277
|
+
<span class="ruby-keyword">end</span>
|
278
|
+
<span class="ruby-keyword">rescue</span> =<span class="ruby-operator">></span><span class="ruby-identifier">e</span>
|
279
|
+
<span class="ruby-identifier">$log</span>.<span class="ruby-identifier">error</span>(<span class="ruby-node">"#{e} #{$@}"</span>)
|
280
|
+
<span class="ruby-keyword">retry</span>
|
281
|
+
<span class="ruby-keyword">end</span>
|
282
|
+
<span class="ruby-keyword">end</span>
|
283
|
+
<span class="ruby-keyword">end</span></pre>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
</div>
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</div>
|
292
|
+
|
293
|
+
|
294
|
+
</section>
|
295
|
+
|
296
|
+
</section>
|
297
|
+
</main>
|
298
|
+
|
299
|
+
|
300
|
+
<footer id="validator-badges" role="contentinfo">
|
301
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
302
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
303
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
304
|
+
</footer>
|
305
|
+
|
@@ -0,0 +1,217 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset=" UTF-8">
|
6
|
+
|
7
|
+
<title>module Roma::Client::Proxy::RomaHandler - ROMA documents</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../../../js/jquery.js"></script>
|
14
|
+
<script src="../../../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../../../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../../../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="module">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../../../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../../../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../../../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../../../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<!-- Method Quickref -->
|
61
|
+
<div id="method-list-section" class="nav-section">
|
62
|
+
<h3>Methods</h3>
|
63
|
+
|
64
|
+
<ul class="link-list" role="directory">
|
65
|
+
|
66
|
+
<li ><a href="#method-i-post_init">#post_init</a>
|
67
|
+
|
68
|
+
<li ><a href="#method-i-unbind">#unbind</a>
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
</div>
|
74
|
+
</nav>
|
75
|
+
|
76
|
+
<main role="main" aria-labelledby="module-Roma::Client::Proxy::RomaHandler">
|
77
|
+
<h1 id="module-Roma::Client::Proxy::RomaHandler" class="module">
|
78
|
+
module Roma::Client::Proxy::RomaHandler
|
79
|
+
</h1>
|
80
|
+
|
81
|
+
<section class="description">
|
82
|
+
|
83
|
+
</section>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<section class="attribute-method-details" class="method-section">
|
97
|
+
<header>
|
98
|
+
<h3>Attributes</h3>
|
99
|
+
</header>
|
100
|
+
|
101
|
+
|
102
|
+
<div id="attribute-i-ap" class="method-detail">
|
103
|
+
<div class="method-heading attribute-method-heading">
|
104
|
+
<span class="method-name">ap</span><span
|
105
|
+
class="attribute-access-type">[RW]</span>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div class="method-description">
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="attribute-i-connected" class="method-detail">
|
116
|
+
<div class="method-heading attribute-method-heading">
|
117
|
+
<span class="method-name">connected</span><span
|
118
|
+
class="attribute-access-type">[R]</span>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
<div class="method-description">
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
|
128
|
+
</section>
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
133
|
+
<header>
|
134
|
+
<h3>Public Instance Methods</h3>
|
135
|
+
</header>
|
136
|
+
|
137
|
+
|
138
|
+
<div id="method-i-post_init" class="method-detail ">
|
139
|
+
|
140
|
+
<div class="method-heading">
|
141
|
+
<span class="method-name">post_init</span><span
|
142
|
+
class="method-args">()</span>
|
143
|
+
|
144
|
+
<span class="method-click-advice">click to toggle source</span>
|
145
|
+
|
146
|
+
</div>
|
147
|
+
|
148
|
+
|
149
|
+
<div class="method-description">
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<div class="method-source-code" id="post_init-source">
|
157
|
+
<pre><span class="ruby-comment"># File lib/roma/client/proxy/daemon.rb, line 21</span>
|
158
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">post_init</span>
|
159
|
+
<span class="ruby-identifier">$log</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Connected to roma"</span>)
|
160
|
+
<span class="ruby-ivar">@connected</span> = <span class="ruby-keyword">true</span>
|
161
|
+
<span class="ruby-keyword">end</span></pre>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
</div>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
<div id="method-i-unbind" class="method-detail ">
|
173
|
+
|
174
|
+
<div class="method-heading">
|
175
|
+
<span class="method-name">unbind</span><span
|
176
|
+
class="method-args">()</span>
|
177
|
+
|
178
|
+
<span class="method-click-advice">click to toggle source</span>
|
179
|
+
|
180
|
+
</div>
|
181
|
+
|
182
|
+
|
183
|
+
<div class="method-description">
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
<div class="method-source-code" id="unbind-source">
|
191
|
+
<pre><span class="ruby-comment"># File lib/roma/client/proxy/daemon.rb, line 26</span>
|
192
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">unbind</span>
|
193
|
+
<span class="ruby-identifier">$log</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Disconnected from roma"</span>)
|
194
|
+
<span class="ruby-ivar">@connected</span> = <span class="ruby-keyword">nil</span>
|
195
|
+
<span class="ruby-keyword">end</span></pre>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
</div>
|
204
|
+
|
205
|
+
|
206
|
+
</section>
|
207
|
+
|
208
|
+
</section>
|
209
|
+
</main>
|
210
|
+
|
211
|
+
|
212
|
+
<footer id="validator-badges" role="contentinfo">
|
213
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
214
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
215
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
216
|
+
</footer>
|
217
|
+
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset=" UTF-8">
|
6
|
+
|
7
|
+
<title>module Roma::Client::Proxy - ROMA documents</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../../js/jquery.js"></script>
|
14
|
+
<script src="../../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="module">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
</div>
|
62
|
+
</nav>
|
63
|
+
|
64
|
+
<main role="main" aria-labelledby="module-Roma::Client::Proxy">
|
65
|
+
<h1 id="module-Roma::Client::Proxy" class="module">
|
66
|
+
module Roma::Client::Proxy
|
67
|
+
</h1>
|
68
|
+
|
69
|
+
<section class="description">
|
70
|
+
|
71
|
+
</section>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
</section>
|
87
|
+
</main>
|
88
|
+
|
89
|
+
|
90
|
+
<footer id="validator-badges" role="contentinfo">
|
91
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
92
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
93
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
94
|
+
</footer>
|
95
|
+
|