rumai 3.2.2 → 3.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/CREDITS +27 -5
  2. data/bin/rumai +12 -37
  3. data/lib/rumai/inochi.rb +8 -17
  4. data/lib/rumai/irb.rb +21 -0
  5. data/man.html +914 -0
  6. data/man/man1/rumai.1.gz +0 -0
  7. metadata +19 -94
  8. data/HISTORY +0 -350
  9. data/INSTALL +0 -33
  10. data/MANUAL +0 -26
  11. data/README +0 -92
  12. data/USAGE +0 -297
  13. data/doc/ann.xml +0 -61
  14. data/doc/api/IO.html +0 -119
  15. data/doc/api/Integer.html +0 -171
  16. data/doc/api/Rumai.html +0 -1540
  17. data/doc/api/Rumai/Area.html +0 -1485
  18. data/doc/api/Rumai/Chain.html +0 -301
  19. data/doc/api/Rumai/Client.html +0 -2451
  20. data/doc/api/Rumai/ClientContainer.html +0 -301
  21. data/doc/api/Rumai/ExportInstanceMethods.html +0 -103
  22. data/doc/api/Rumai/IXP.html +0 -94
  23. data/doc/api/Rumai/IXP/Agent.html +0 -1625
  24. data/doc/api/Rumai/IXP/Agent/FidStream.html +0 -959
  25. data/doc/api/Rumai/IXP/Agent/RangedPool.html +0 -381
  26. data/doc/api/Rumai/IXP/Error.html +0 -110
  27. data/doc/api/Rumai/IXP/Fcall.html +0 -503
  28. data/doc/api/Rumai/IXP/Qid.html +0 -207
  29. data/doc/api/Rumai/IXP/Rattach.html +0 -148
  30. data/doc/api/Rumai/IXP/Rauth.html +0 -148
  31. data/doc/api/Rumai/IXP/Rclunk.html +0 -148
  32. data/doc/api/Rumai/IXP/Rcreate.html +0 -148
  33. data/doc/api/Rumai/IXP/Rerror.html +0 -148
  34. data/doc/api/Rumai/IXP/Rflush.html +0 -148
  35. data/doc/api/Rumai/IXP/Ropen.html +0 -148
  36. data/doc/api/Rumai/IXP/Rread.html +0 -148
  37. data/doc/api/Rumai/IXP/Rremove.html +0 -148
  38. data/doc/api/Rumai/IXP/Rstat.html +0 -148
  39. data/doc/api/Rumai/IXP/Rversion.html +0 -148
  40. data/doc/api/Rumai/IXP/Rwalk.html +0 -148
  41. data/doc/api/Rumai/IXP/Rwrite.html +0 -148
  42. data/doc/api/Rumai/IXP/Rwstat.html +0 -148
  43. data/doc/api/Rumai/IXP/Stat.html +0 -335
  44. data/doc/api/Rumai/IXP/Stream.html +0 -194
  45. data/doc/api/Rumai/IXP/Struct.html +0 -586
  46. data/doc/api/Rumai/IXP/Struct/ClassField.html +0 -242
  47. data/doc/api/Rumai/IXP/Struct/Field.html +0 -782
  48. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +0 -227
  49. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +0 -153
  50. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +0 -242
  51. data/doc/api/Rumai/IXP/Struct/StringField.html +0 -206
  52. data/doc/api/Rumai/IXP/Tattach.html +0 -148
  53. data/doc/api/Rumai/IXP/Tauth.html +0 -148
  54. data/doc/api/Rumai/IXP/Tclunk.html +0 -148
  55. data/doc/api/Rumai/IXP/Tcreate.html +0 -148
  56. data/doc/api/Rumai/IXP/Terror.html +0 -231
  57. data/doc/api/Rumai/IXP/Tflush.html +0 -148
  58. data/doc/api/Rumai/IXP/Topen.html +0 -240
  59. data/doc/api/Rumai/IXP/Tread.html +0 -148
  60. data/doc/api/Rumai/IXP/Tremove.html +0 -148
  61. data/doc/api/Rumai/IXP/Tstat.html +0 -148
  62. data/doc/api/Rumai/IXP/Tversion.html +0 -162
  63. data/doc/api/Rumai/IXP/Twalk.html +0 -148
  64. data/doc/api/Rumai/IXP/Twrite.html +0 -148
  65. data/doc/api/Rumai/IXP/Twstat.html +0 -148
  66. data/doc/api/Rumai/Node.html +0 -1406
  67. data/doc/api/Rumai/View.html +0 -1587
  68. data/doc/api/Rumai/WidgetImpl.html +0 -333
  69. data/doc/api/Rumai/WidgetNode.html +0 -246
  70. data/doc/api/String.html +0 -258
  71. data/doc/api/StringIO.html +0 -119
  72. data/doc/api/Time.html +0 -247
  73. data/doc/api/_index.html +0 -581
  74. data/doc/api/class_list.html +0 -36
  75. data/doc/api/css/common.css +0 -1
  76. data/doc/api/css/full_list.css +0 -50
  77. data/doc/api/css/style.css +0 -273
  78. data/doc/api/file.LICENSE.html +0 -73
  79. data/doc/api/file_list.html +0 -38
  80. data/doc/api/frames.html +0 -13
  81. data/doc/api/index.html +0 -73
  82. data/doc/api/js/app.js +0 -111
  83. data/doc/api/js/full_list.js +0 -117
  84. data/doc/api/js/jquery.js +0 -19
  85. data/doc/api/method_list.html +0 -1491
  86. data/doc/api/top-level-namespace.html +0 -89
  87. data/doc/index.html +0 -2655
  88. data/inochi.opts +0 -31
  89. data/test/rumai/ixp/message_test.rb +0 -245
  90. data/test/runner +0 -25
  91. data/test/test_helper.rb +0 -1
@@ -1,381 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Class: Rumai::IXP::Agent::RangedPool</title>
7
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '../../..';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../../../_index.html">Index (R)</a> &raquo;
27
- <span class='title'><a href="../../../Rumai.html" title="Rumai (module)">Rumai</a></span> &raquo; <span class='title'><a href="../../IXP.html" title="Rumai::IXP (module)">IXP</a></span> &raquo; <span class='title'><a href="../Agent.html" title="Rumai::IXP::Agent (class)">Agent</a></span>
28
- &raquo;
29
- <span class="title">RangedPool</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Class: Rumai::IXP::Agent::RangedPool
47
-
48
-
49
- </h1>
50
-
51
- <dl class="box">
52
-
53
- <dt class="r1">Inherits:</dt>
54
- <dd class="r1">
55
- <span class="inheritName"><a href="../../../Object.html" title="Object (class)">Object</a></span>
56
-
57
- <ul class="fullTree">
58
- <li><a href="../../../Object.html" title="Object (class)">Object</a></li>
59
-
60
- <li class="next">Rumai::IXP::Agent::RangedPool</li>
61
-
62
- </ul>
63
- <a href="#" class="inheritanceTree">show all</a>
64
-
65
- </dd>
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
- <dt class="r2 last">Defined in:</dt>
76
- <dd class="r2 last">lib/rumai/ixp/transport.rb</dd>
77
-
78
- </dl>
79
- <div class="clear"></div>
80
-
81
- <h2>Overview</h2><div class="docstring">
82
- <div class="discussion">
83
- <p>
84
- A finite, thread-safe pool of range members.
85
- </p>
86
-
87
-
88
- </div>
89
- </div>
90
- <div class="tags">
91
-
92
- </div>
93
- <h2>Constant Summary</h2>
94
-
95
- <dl class="constants">
96
-
97
- <dt id="FILL_RATE-constant" class="">FILL_RATE =
98
- <div class="docstring">
99
- <div class="discussion">
100
- <p>
101
- how many new members should be added to the pool when the pool is empty?
102
- </p>
103
-
104
-
105
- </div>
106
- </div>
107
- <div class="tags">
108
-
109
- </div>
110
- </dt>
111
- <dd><pre class="code"><span class='int'>10</span></pre></dd>
112
-
113
- </dl>
114
-
115
-
116
-
117
-
118
-
119
- <h2>Instance Method Summary</h2>
120
-
121
- <ul class="summary">
122
-
123
- <li class="public ">
124
- <span class="summary_signature">
125
-
126
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (RangedPool) <strong>initialize</strong>(range) </a>
127
-
128
-
129
-
130
- </span>
131
-
132
- <span class="note title constructor">constructor</span>
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
- <span class="summary_desc"><div class='inline'><p>
141
- A new instance of RangedPool.
142
- </p>
143
- </div></span>
144
-
145
- </li>
146
-
147
-
148
- <li class="public ">
149
- <span class="summary_signature">
150
-
151
- <a href="#obtain-instance_method" title="#obtain (instance method)">- (Object) <strong>obtain</strong> </a>
152
-
153
-
154
-
155
- </span>
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
- <span class="summary_desc"><div class='inline'><p>
164
- Returns an unoccupied range member from the pool.
165
- </p>
166
- </div></span>
167
-
168
- </li>
169
-
170
-
171
- <li class="public ">
172
- <span class="summary_signature">
173
-
174
- <a href="#release-instance_method" title="#release (instance method)">- (Object) <strong>release</strong>(member) </a>
175
-
176
-
177
-
178
- </span>
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
- <span class="summary_desc"><div class='inline'><p>
187
- Marks the given member as being unoccupied so that it may be occupied again
188
- in the future.
189
- </p>
190
- </div></span>
191
-
192
- </li>
193
-
194
-
195
- </ul>
196
-
197
-
198
- <div id="constructor_details" class="method_details_list">
199
- <h2>Constructor Details</h2>
200
-
201
- <div class="method_details first">
202
- <p class="signature first" id="initialize-instance_method">
203
-
204
- - (<tt><a href="" title="Rumai::IXP::Agent::RangedPool (class)">RangedPool</a></tt>) <strong>initialize</strong>(range)
205
-
206
-
207
-
208
- </p><div class="docstring">
209
- <div class="discussion">
210
- <p>
211
- A new instance of RangedPool
212
- </p>
213
-
214
-
215
- </div>
216
- </div>
217
- <div class="tags">
218
-
219
- </div><table class="source_code">
220
- <tr>
221
- <td>
222
- <pre class="lines">
223
-
224
-
225
- 61
226
- 62
227
- 63
228
- 64
229
- 65
230
- 66
231
- 67</pre>
232
- </td>
233
- <td>
234
- <pre class="code"><span class="info file"># File 'lib/rumai/ixp/transport.rb', line 61</span>
235
-
236
- <span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id range'>range</span>
237
- <span class='ivar'>@pos</span> <span class='op'>=</span> <span class='id range'>range</span><span class='period'>.</span><span class='id first'>first</span>
238
- <span class='ivar'>@lim</span> <span class='op'>=</span> <span class='id range'>range</span><span class='period'>.</span><span class='id last'>last</span>
239
- <span class='ivar'>@lim</span> <span class='op'>=</span> <span class='ivar'>@lim</span><span class='period'>.</span><span class='id succ'>succ</span> <span class='kw'>unless</span> <span class='id range'>range</span><span class='period'>.</span><span class='id exclude_end?'>exclude_end?</span>
240
-
241
- <span class='ivar'>@pool</span> <span class='op'>=</span> <span class='const'>Queue</span><span class='period'>.</span><span class='id new'>new</span>
242
- <span class='kw'>end</span></pre>
243
- </td>
244
- </tr>
245
- </table>
246
- </div>
247
-
248
- </div>
249
-
250
-
251
- <div id="instance_method_details" class="method_details_list">
252
- <h2>Instance Method Details</h2>
253
-
254
-
255
- <div class="method_details first">
256
- <p class="signature first" id="obtain-instance_method">
257
-
258
- - (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>obtain</strong>
259
-
260
-
261
-
262
- </p><div class="docstring">
263
- <div class="discussion">
264
- <p>
265
- Returns an unoccupied range member from the pool.
266
- </p>
267
-
268
-
269
- </div>
270
- </div>
271
- <div class="tags">
272
-
273
- </div><table class="source_code">
274
- <tr>
275
- <td>
276
- <pre class="lines">
277
-
278
-
279
- 72
280
- 73
281
- 74
282
- 75
283
- 76
284
- 77
285
- 78
286
- 79
287
- 80
288
- 81
289
- 82
290
- 83
291
- 84
292
- 85
293
- 86
294
- 87
295
- 88
296
- 89
297
- 90
298
- 91
299
- 92</pre>
300
- </td>
301
- <td>
302
- <pre class="code"><span class="info file"># File 'lib/rumai/ixp/transport.rb', line 72</span>
303
-
304
- <span class='kw'>def</span> <span class='id obtain'>obtain</span>
305
- <span class='kw'>begin</span>
306
- <span class='ivar'>@pool</span><span class='period'>.</span><span class='id deq'>deq</span> <span class='kw'>true</span>
307
-
308
- <span class='kw'>rescue</span> <span class='const'>ThreadError</span>
309
- <span class='comment'># pool is empty, so fill it
310
- </span> <span class='const'>FILL_RATE</span><span class='period'>.</span><span class='id times'>times</span> <span class='kw'>do</span>
311
- <span class='kw'>if</span> <span class='ivar'>@pos</span> <span class='op'>!=</span> <span class='ivar'>@lim</span>
312
- <span class='ivar'>@pool</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@pos</span>
313
- <span class='ivar'>@pos</span> <span class='op'>=</span> <span class='ivar'>@pos</span><span class='period'>.</span><span class='id succ'>succ</span>
314
- <span class='kw'>else</span>
315
- <span class='comment'># range is exhausted, so give other threads
316
- </span> <span class='comment'># a chance to fill the pool before retrying
317
- </span> <span class='const'>Thread</span><span class='period'>.</span><span class='id pass'>pass</span>
318
- <span class='kw'>break</span>
319
- <span class='kw'>end</span>
320
- <span class='kw'>end</span>
321
-
322
- <span class='kw'>retry</span>
323
- <span class='kw'>end</span>
324
- <span class='kw'>end</span></pre>
325
- </td>
326
- </tr>
327
- </table>
328
- </div>
329
-
330
- <div class="method_details ">
331
- <p class="signature " id="release-instance_method">
332
-
333
- - (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>release</strong>(member)
334
-
335
-
336
-
337
- </p><div class="docstring">
338
- <div class="discussion">
339
- <p>
340
- Marks the given member as being unoccupied so that it may be occupied again
341
- in the future.
342
- </p>
343
-
344
-
345
- </div>
346
- </div>
347
- <div class="tags">
348
-
349
- </div><table class="source_code">
350
- <tr>
351
- <td>
352
- <pre class="lines">
353
-
354
-
355
- 98
356
- 99
357
- 100</pre>
358
- </td>
359
- <td>
360
- <pre class="code"><span class="info file"># File 'lib/rumai/ixp/transport.rb', line 98</span>
361
-
362
- <span class='kw'>def</span> <span class='id release'>release</span> <span class='id member'>member</span>
363
- <span class='ivar'>@pool</span> <span class='op'>&lt;&lt;</span> <span class='id member'>member</span>
364
- <span class='kw'>end</span></pre>
365
- </td>
366
- </tr>
367
- </table>
368
- </div>
369
-
370
- </div>
371
-
372
- </div>
373
-
374
- <div id="footer">
375
- Generated on Thu Apr 1 00:31:01 2010 by
376
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
377
- 0.5.4 (ruby-1.9.1).
378
- </div>
379
-
380
- </body>
381
- </html>
@@ -1,110 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Exception: Rumai::IXP::Error</title>
7
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '../..';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../../_index.html">Index (E)</a> &raquo;
27
- <span class='title'><a href="../../Rumai.html" title="Rumai (module)">Rumai</a></span> &raquo; <span class='title'><a href="../IXP.html" title="Rumai::IXP (module)">IXP</a></span>
28
- &raquo;
29
- <span class="title">Error</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Exception: Rumai::IXP::Error
47
-
48
-
49
- </h1>
50
-
51
- <dl class="box">
52
-
53
- <dt class="r1">Inherits:</dt>
54
- <dd class="r1">
55
- <span class="inheritName">StandardError</span>
56
-
57
- <ul class="fullTree">
58
- <li><a href="../../Object.html" title="Object (class)">Object</a></li>
59
-
60
- <li class="next">StandardError</li>
61
-
62
- <li class="next">Rumai::IXP::Error</li>
63
-
64
- </ul>
65
- <a href="#" class="inheritanceTree">show all</a>
66
-
67
- </dd>
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
- <dt class="r2 last">Defined in:</dt>
78
- <dd class="r2 last">lib/rumai/ixp/message.rb</dd>
79
-
80
- </dl>
81
- <div class="clear"></div>
82
-
83
- <h2>Overview</h2><div class="docstring">
84
- <div class="discussion">
85
- <p>
86
- A common container for exceptions concerning IXP.
87
- </p>
88
-
89
-
90
- </div>
91
- </div>
92
- <div class="tags">
93
-
94
- </div>
95
-
96
-
97
-
98
-
99
-
100
-
101
- </div>
102
-
103
- <div id="footer">
104
- Generated on Thu Apr 1 00:30:58 2010 by
105
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
106
- 0.5.4 (ruby-1.9.1).
107
- </div>
108
-
109
- </body>
110
- </html>