rumai 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/rumai +2 -2
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/IO.html +1 -1
- data/doc/api/classes/Integer.html +6 -6
- data/doc/api/classes/Rumai.html +141 -141
- data/doc/api/classes/Rumai/Area.html +122 -122
- data/doc/api/classes/Rumai/Chain.html +18 -18
- data/doc/api/classes/Rumai/Client.html +420 -122
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +90 -90
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +41 -41
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +6 -6
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +18 -18
- data/doc/api/classes/Rumai/IXP/Fcall.html +30 -30
- data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
- data/doc/api/classes/Rumai/IXP/Stat.html +7 -7
- data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct.html +24 -24
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +36 -36
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +12 -12
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +6 -6
- data/doc/api/classes/Rumai/IXP/Terror.html +6 -6
- data/doc/api/classes/Rumai/Node.html +52 -52
- data/doc/api/classes/Rumai/View.html +132 -132
- data/doc/api/classes/String.html +12 -12
- data/doc/api/classes/StringIO.html +1 -1
- data/doc/api/classes/Time.html +12 -12
- data/doc/api/created.rid +1 -1
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +1 -1
- data/doc/api/files/LICENSE.html +1 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/js/searchdoc.js +38 -15
- data/doc/api/panel/index.html +13 -5
- data/doc/api/panel/search_index.js +1 -1
- data/doc/api/panel/tree.js +1 -1
- data/doc/history.erb +79 -2
- data/doc/index.erb +2 -2
- data/doc/index.html +2017 -0
- data/doc/intro.erb +38 -62
- data/doc/setup.erb +53 -2
- data/doc/usage.erb +36 -11
- data/lib/rumai.rb +4 -4
- data/lib/rumai/fs.rb +2 -2
- data/lib/rumai/ixp.rb +2 -2
- data/lib/rumai/ixp/message.rb +2 -2
- data/lib/rumai/ixp/transport.rb +2 -2
- data/lib/rumai/wm.rb +80 -5
- data/rakefile +2 -2
- data/test/rumai/ixp/message.rb +3 -3
- metadata +9 -5
- data/doc/index.xhtml +0 -1078
|
@@ -59,7 +59,7 @@ NOTE: this class is NOT thread-safe.
|
|
|
59
59
|
<dd>
|
|
60
60
|
<ul>
|
|
61
61
|
|
|
62
|
-
<li><a href="#
|
|
62
|
+
<li><a href="#M000156"><<</a></li>
|
|
63
63
|
|
|
64
64
|
</ul>
|
|
65
65
|
</dd>
|
|
@@ -68,9 +68,9 @@ NOTE: this class is NOT thread-safe.
|
|
|
68
68
|
<dd>
|
|
69
69
|
<ul>
|
|
70
70
|
|
|
71
|
-
<li><a href="#
|
|
71
|
+
<li><a href="#M000115">close</a>,</li>
|
|
72
72
|
|
|
73
|
-
<li><a href="#
|
|
73
|
+
<li><a href="#M000131">closed?</a></li>
|
|
74
74
|
|
|
75
75
|
</ul>
|
|
76
76
|
</dd>
|
|
@@ -79,7 +79,7 @@ NOTE: this class is NOT thread-safe.
|
|
|
79
79
|
<dd>
|
|
80
80
|
<ul>
|
|
81
81
|
|
|
82
|
-
<li><a href="#
|
|
82
|
+
<li><a href="#M000108">new</a></li>
|
|
83
83
|
|
|
84
84
|
</ul>
|
|
85
85
|
</dd>
|
|
@@ -88,9 +88,9 @@ NOTE: this class is NOT thread-safe.
|
|
|
88
88
|
<dd>
|
|
89
89
|
<ul>
|
|
90
90
|
|
|
91
|
-
<li><a href="#
|
|
91
|
+
<li><a href="#M000132">read</a>,</li>
|
|
92
92
|
|
|
93
|
-
<li><a href="#
|
|
93
|
+
<li><a href="#M000114">rewind</a></li>
|
|
94
94
|
|
|
95
95
|
</ul>
|
|
96
96
|
</dd>
|
|
@@ -99,7 +99,7 @@ NOTE: this class is NOT thread-safe.
|
|
|
99
99
|
<dd>
|
|
100
100
|
<ul>
|
|
101
101
|
|
|
102
|
-
<li><a href="#
|
|
102
|
+
<li><a href="#M000136">write</a></li>
|
|
103
103
|
|
|
104
104
|
</ul>
|
|
105
105
|
</dd>
|
|
@@ -158,9 +158,9 @@ NOTE: this class is NOT thread-safe.
|
|
|
158
158
|
<div class="sectiontitle">Class Public methods</div>
|
|
159
159
|
|
|
160
160
|
<div class="method">
|
|
161
|
-
<div class="title" id="
|
|
161
|
+
<div class="title" id="M000108">
|
|
162
162
|
|
|
163
|
-
<a name="
|
|
163
|
+
<a name="M000108"></a><b>new</b>(agent, path_fid, message_size)
|
|
164
164
|
|
|
165
165
|
</div>
|
|
166
166
|
|
|
@@ -169,12 +169,12 @@ NOTE: this class is NOT thread-safe.
|
|
|
169
169
|
|
|
170
170
|
<div class="sourcecode">
|
|
171
171
|
<p class="source-link">
|
|
172
|
-
Source: <a href="javascript:toggleSource('
|
|
172
|
+
Source: <a href="javascript:toggleSource('M000108_source')" id="l_M000108_source">show</a>
|
|
173
173
|
|
|
174
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
174
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L196" target="_blank" class="github_url">on GitHub</a>
|
|
175
175
|
|
|
176
176
|
</p>
|
|
177
|
-
<div id="
|
|
177
|
+
<div id="M000108_source" class="dyn-source">
|
|
178
178
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 196</span>
|
|
179
179
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">agent</span>, <span class="ruby-identifier">path_fid</span>, <span class="ruby-identifier">message_size</span>
|
|
180
180
|
<span class="ruby-ivar">@agent</span> = <span class="ruby-identifier">agent</span>
|
|
@@ -192,15 +192,15 @@ NOTE: this class is NOT thread-safe.
|
|
|
192
192
|
<div class="sectiontitle">Instance Public methods</div>
|
|
193
193
|
|
|
194
194
|
<div class="method">
|
|
195
|
-
<div class="title" id="
|
|
195
|
+
<div class="title" id="M000156">
|
|
196
196
|
|
|
197
|
-
<a name="
|
|
197
|
+
<a name="M000156"></a><b><<</b>(content)
|
|
198
198
|
|
|
199
199
|
</div>
|
|
200
200
|
|
|
201
201
|
<div class="description">
|
|
202
202
|
<p>
|
|
203
|
-
Alias for <a href="FidStream.html#
|
|
203
|
+
Alias for <a href="FidStream.html#M000136">write</a>
|
|
204
204
|
</p>
|
|
205
205
|
|
|
206
206
|
</div>
|
|
@@ -210,9 +210,9 @@ Alias for <a href="FidStream.html#M000083">write</a>
|
|
|
210
210
|
</div>
|
|
211
211
|
|
|
212
212
|
<div class="method">
|
|
213
|
-
<div class="title" id="
|
|
213
|
+
<div class="title" id="M000115">
|
|
214
214
|
|
|
215
|
-
<a name="
|
|
215
|
+
<a name="M000115"></a><b>close</b>()
|
|
216
216
|
|
|
217
217
|
</div>
|
|
218
218
|
|
|
@@ -228,12 +228,12 @@ Closes this stream.
|
|
|
228
228
|
|
|
229
229
|
<div class="sourcecode">
|
|
230
230
|
<p class="source-link">
|
|
231
|
-
Source: <a href="javascript:toggleSource('
|
|
231
|
+
Source: <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">show</a>
|
|
232
232
|
|
|
233
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
233
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L216" target="_blank" class="github_url">on GitHub</a>
|
|
234
234
|
|
|
235
235
|
</p>
|
|
236
|
-
<div id="
|
|
236
|
+
<div id="M000115_source" class="dyn-source">
|
|
237
237
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 216</span>
|
|
238
238
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
|
|
239
239
|
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@closed</span>
|
|
@@ -248,9 +248,9 @@ Closes this stream.
|
|
|
248
248
|
</div>
|
|
249
249
|
|
|
250
250
|
<div class="method">
|
|
251
|
-
<div class="title" id="
|
|
251
|
+
<div class="title" id="M000131">
|
|
252
252
|
|
|
253
|
-
<a name="
|
|
253
|
+
<a name="M000131"></a><b>closed?</b>()
|
|
254
254
|
|
|
255
255
|
</div>
|
|
256
256
|
|
|
@@ -266,12 +266,12 @@ Returns true if this stream is closed.
|
|
|
266
266
|
|
|
267
267
|
<div class="sourcecode">
|
|
268
268
|
<p class="source-link">
|
|
269
|
-
Source: <a href="javascript:toggleSource('
|
|
269
|
+
Source: <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show</a>
|
|
270
270
|
|
|
271
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
271
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L227" target="_blank" class="github_url">on GitHub</a>
|
|
272
272
|
|
|
273
273
|
</p>
|
|
274
|
-
<div id="
|
|
274
|
+
<div id="M000131_source" class="dyn-source">
|
|
275
275
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 227</span>
|
|
276
276
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">closed?</span>
|
|
277
277
|
<span class="ruby-ivar">@closed</span>
|
|
@@ -282,9 +282,9 @@ Returns true if this stream is closed.
|
|
|
282
282
|
</div>
|
|
283
283
|
|
|
284
284
|
<div class="method">
|
|
285
|
-
<div class="title" id="
|
|
285
|
+
<div class="title" id="M000132">
|
|
286
286
|
|
|
287
|
-
<a name="
|
|
287
|
+
<a name="M000132"></a><b>read</b>(partial = false)
|
|
288
288
|
|
|
289
289
|
</div>
|
|
290
290
|
|
|
@@ -314,12 +314,12 @@ returned.
|
|
|
314
314
|
|
|
315
315
|
<div class="sourcecode">
|
|
316
316
|
<p class="source-link">
|
|
317
|
-
Source: <a href="javascript:toggleSource('
|
|
317
|
+
Source: <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show</a>
|
|
318
318
|
|
|
319
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
319
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L244" target="_blank" class="github_url">on GitHub</a>
|
|
320
320
|
|
|
321
321
|
</p>
|
|
322
|
-
<div id="
|
|
322
|
+
<div id="M000132_source" class="dyn-source">
|
|
323
323
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 244</span>
|
|
324
324
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read</span> <span class="ruby-identifier">partial</span> = <span class="ruby-keyword kw">false</span>
|
|
325
325
|
<span class="ruby-identifier">raise</span> <span class="ruby-value str">'cannot read from a closed stream'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@closed</span>
|
|
@@ -357,9 +357,9 @@ returned.
|
|
|
357
357
|
</div>
|
|
358
358
|
|
|
359
359
|
<div class="method">
|
|
360
|
-
<div class="title" id="
|
|
360
|
+
<div class="title" id="M000114">
|
|
361
361
|
|
|
362
|
-
<a name="
|
|
362
|
+
<a name="M000114"></a><b>rewind</b>()
|
|
363
363
|
|
|
364
364
|
</div>
|
|
365
365
|
|
|
@@ -375,12 +375,12 @@ Rewinds the stream to the beginning.
|
|
|
375
375
|
|
|
376
376
|
<div class="sourcecode">
|
|
377
377
|
<p class="source-link">
|
|
378
|
-
Source: <a href="javascript:toggleSource('
|
|
378
|
+
Source: <a href="javascript:toggleSource('M000114_source')" id="l_M000114_source">show</a>
|
|
379
379
|
|
|
380
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
380
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L208" target="_blank" class="github_url">on GitHub</a>
|
|
381
381
|
|
|
382
382
|
</p>
|
|
383
|
-
<div id="
|
|
383
|
+
<div id="M000114_source" class="dyn-source">
|
|
384
384
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 208</span>
|
|
385
385
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rewind</span>
|
|
386
386
|
<span class="ruby-ivar">@pos</span> = <span class="ruby-value">0</span>
|
|
@@ -392,9 +392,9 @@ Rewinds the stream to the beginning.
|
|
|
392
392
|
</div>
|
|
393
393
|
|
|
394
394
|
<div class="method">
|
|
395
|
-
<div class="title" id="
|
|
395
|
+
<div class="title" id="M000136">
|
|
396
396
|
|
|
397
|
-
<a name="
|
|
397
|
+
<a name="M000136"></a><b>write</b>(content)
|
|
398
398
|
|
|
399
399
|
</div>
|
|
400
400
|
|
|
@@ -409,7 +409,7 @@ Writes the given content at the current position in this stream.
|
|
|
409
409
|
<div class="aka">
|
|
410
410
|
This method is also aliased as
|
|
411
411
|
|
|
412
|
-
<a href="FidStream.html#
|
|
412
|
+
<a href="FidStream.html#M000156"><<</a>
|
|
413
413
|
|
|
414
414
|
</div>
|
|
415
415
|
|
|
@@ -417,12 +417,12 @@ Writes the given content at the current position in this stream.
|
|
|
417
417
|
|
|
418
418
|
<div class="sourcecode">
|
|
419
419
|
<p class="source-link">
|
|
420
|
-
Source: <a href="javascript:toggleSource('
|
|
420
|
+
Source: <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show</a>
|
|
421
421
|
|
|
422
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
422
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L278" target="_blank" class="github_url">on GitHub</a>
|
|
423
423
|
|
|
424
424
|
</p>
|
|
425
|
-
<div id="
|
|
425
|
+
<div id="M000136_source" class="dyn-source">
|
|
426
426
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 278</span>
|
|
427
427
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write</span> <span class="ruby-identifier">content</span>
|
|
428
428
|
<span class="ruby-identifier">raise</span> <span class="ruby-value str">'closed streams cannot be written to'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@closed</span>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<dd>
|
|
44
44
|
<ul>
|
|
45
45
|
|
|
46
|
-
<li><a href="#
|
|
46
|
+
<li><a href="#M000105">parse</a></li>
|
|
47
47
|
|
|
48
48
|
</ul>
|
|
49
49
|
</dd>
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
<div class="sectiontitle">Class Public methods</div>
|
|
66
66
|
|
|
67
67
|
<div class="method">
|
|
68
|
-
<div class="title" id="
|
|
68
|
+
<div class="title" id="M000105">
|
|
69
69
|
|
|
70
|
-
<a name="
|
|
70
|
+
<a name="M000105"></a><b>parse</b>(mode)
|
|
71
71
|
|
|
72
72
|
</div>
|
|
73
73
|
|
|
@@ -83,12 +83,12 @@ Converts the given mode string into an integer.
|
|
|
83
83
|
|
|
84
84
|
<div class="sourcecode">
|
|
85
85
|
<p class="source-link">
|
|
86
|
-
Source: <a href="javascript:toggleSource('
|
|
86
|
+
Source: <a href="javascript:toggleSource('M000105_source')" id="l_M000105_source">show</a>
|
|
87
87
|
|
|
88
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
88
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L142" target="_blank" class="github_url">on GitHub</a>
|
|
89
89
|
|
|
90
90
|
</p>
|
|
91
|
-
<div id="
|
|
91
|
+
<div id="M000105_source" class="dyn-source">
|
|
92
92
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 142</span>
|
|
93
93
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">MODES</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">mode</span>
|
|
94
94
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mode</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:split</span>
|
|
@@ -56,7 +56,7 @@ A finite, thread-safe pool of range members.
|
|
|
56
56
|
<dd>
|
|
57
57
|
<ul>
|
|
58
58
|
|
|
59
|
-
<li><a href="#
|
|
59
|
+
<li><a href="#M000093">new</a></li>
|
|
60
60
|
|
|
61
61
|
</ul>
|
|
62
62
|
</dd>
|
|
@@ -65,7 +65,7 @@ A finite, thread-safe pool of range members.
|
|
|
65
65
|
<dd>
|
|
66
66
|
<ul>
|
|
67
67
|
|
|
68
|
-
<li><a href="#
|
|
68
|
+
<li><a href="#M000094">obtain</a></li>
|
|
69
69
|
|
|
70
70
|
</ul>
|
|
71
71
|
</dd>
|
|
@@ -74,7 +74,7 @@ A finite, thread-safe pool of range members.
|
|
|
74
74
|
<dd>
|
|
75
75
|
<ul>
|
|
76
76
|
|
|
77
|
-
<li><a href="#
|
|
77
|
+
<li><a href="#M000098">release</a></li>
|
|
78
78
|
|
|
79
79
|
</ul>
|
|
80
80
|
</dd>
|
|
@@ -116,9 +116,9 @@ how many new members should be added to the pool when the pool is empty?
|
|
|
116
116
|
<div class="sectiontitle">Class Public methods</div>
|
|
117
117
|
|
|
118
118
|
<div class="method">
|
|
119
|
-
<div class="title" id="
|
|
119
|
+
<div class="title" id="M000093">
|
|
120
120
|
|
|
121
|
-
<a name="
|
|
121
|
+
<a name="M000093"></a><b>new</b>(range)
|
|
122
122
|
|
|
123
123
|
</div>
|
|
124
124
|
|
|
@@ -127,12 +127,12 @@ how many new members should be added to the pool when the pool is empty?
|
|
|
127
127
|
|
|
128
128
|
<div class="sourcecode">
|
|
129
129
|
<p class="source-link">
|
|
130
|
-
Source: <a href="javascript:toggleSource('
|
|
130
|
+
Source: <a href="javascript:toggleSource('M000093_source')" id="l_M000093_source">show</a>
|
|
131
131
|
|
|
132
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
132
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L66" target="_blank" class="github_url">on GitHub</a>
|
|
133
133
|
|
|
134
134
|
</p>
|
|
135
|
-
<div id="
|
|
135
|
+
<div id="M000093_source" class="dyn-source">
|
|
136
136
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 66</span>
|
|
137
137
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">range</span>
|
|
138
138
|
<span class="ruby-ivar">@pos</span> = <span class="ruby-identifier">range</span>.<span class="ruby-identifier">first</span>
|
|
@@ -149,9 +149,9 @@ how many new members should be added to the pool when the pool is empty?
|
|
|
149
149
|
<div class="sectiontitle">Instance Public methods</div>
|
|
150
150
|
|
|
151
151
|
<div class="method">
|
|
152
|
-
<div class="title" id="
|
|
152
|
+
<div class="title" id="M000094">
|
|
153
153
|
|
|
154
|
-
<a name="
|
|
154
|
+
<a name="M000094"></a><b>obtain</b>()
|
|
155
155
|
|
|
156
156
|
</div>
|
|
157
157
|
|
|
@@ -167,12 +167,12 @@ Returns an unoccupied range member from the pool.
|
|
|
167
167
|
|
|
168
168
|
<div class="sourcecode">
|
|
169
169
|
<p class="source-link">
|
|
170
|
-
Source: <a href="javascript:toggleSource('
|
|
170
|
+
Source: <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show</a>
|
|
171
171
|
|
|
172
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
172
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L75" target="_blank" class="github_url">on GitHub</a>
|
|
173
173
|
|
|
174
174
|
</p>
|
|
175
|
-
<div id="
|
|
175
|
+
<div id="M000094_source" class="dyn-source">
|
|
176
176
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 75</span>
|
|
177
177
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">obtain</span>
|
|
178
178
|
<span class="ruby-keyword kw">begin</span>
|
|
@@ -201,9 +201,9 @@ Returns an unoccupied range member from the pool.
|
|
|
201
201
|
</div>
|
|
202
202
|
|
|
203
203
|
<div class="method">
|
|
204
|
-
<div class="title" id="
|
|
204
|
+
<div class="title" id="M000098">
|
|
205
205
|
|
|
206
|
-
<a name="
|
|
206
|
+
<a name="M000098"></a><b>release</b>(member)
|
|
207
207
|
|
|
208
208
|
</div>
|
|
209
209
|
|
|
@@ -220,12 +220,12 @@ in the future.
|
|
|
220
220
|
|
|
221
221
|
<div class="sourcecode">
|
|
222
222
|
<p class="source-link">
|
|
223
|
-
Source: <a href="javascript:toggleSource('
|
|
223
|
+
Source: <a href="javascript:toggleSource('M000098_source')" id="l_M000098_source">show</a>
|
|
224
224
|
|
|
225
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
225
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/transport.rb#L99" target="_blank" class="github_url">on GitHub</a>
|
|
226
226
|
|
|
227
227
|
</p>
|
|
228
|
-
<div id="
|
|
228
|
+
<div id="M000098_source" class="dyn-source">
|
|
229
229
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 99</span>
|
|
230
230
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">release</span> <span class="ruby-identifier">member</span>
|
|
231
231
|
<span class="ruby-ivar">@pool</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">member</span>
|
|
@@ -56,7 +56,7 @@ A remote function call (fcall).
|
|
|
56
56
|
<dd>
|
|
57
57
|
<ul>
|
|
58
58
|
|
|
59
|
-
<li><a href="#
|
|
59
|
+
<li><a href="#M000166">__from_9p__</a></li>
|
|
60
60
|
|
|
61
61
|
</ul>
|
|
62
62
|
</dd>
|
|
@@ -65,7 +65,7 @@ A remote function call (fcall).
|
|
|
65
65
|
<dd>
|
|
66
66
|
<ul>
|
|
67
67
|
|
|
68
|
-
<li><a href="#
|
|
68
|
+
<li><a href="#M000165">from_9p</a></li>
|
|
69
69
|
|
|
70
70
|
</ul>
|
|
71
71
|
</dd>
|
|
@@ -74,11 +74,11 @@ A remote function call (fcall).
|
|
|
74
74
|
<dd>
|
|
75
75
|
<ul>
|
|
76
76
|
|
|
77
|
-
<li><a href="#
|
|
77
|
+
<li><a href="#M000164">to_9p</a>,</li>
|
|
78
78
|
|
|
79
|
-
<li><a href="#
|
|
79
|
+
<li><a href="#M000175">type</a>,</li>
|
|
80
80
|
|
|
81
|
-
<li><a href="#
|
|
81
|
+
<li><a href="#M000176">type</a></li>
|
|
82
82
|
|
|
83
83
|
</ul>
|
|
84
84
|
</dd>
|
|
@@ -92,7 +92,7 @@ A remote function call (fcall).
|
|
|
92
92
|
|
|
93
93
|
<li>
|
|
94
94
|
|
|
95
|
-
<a href="
|
|
95
|
+
<a href="../IXP.html">Rumai::IXP</a>
|
|
96
96
|
|
|
97
97
|
START:includes
|
|
98
98
|
</li>
|
|
@@ -145,15 +145,15 @@ A remote function call (fcall).
|
|
|
145
145
|
<div class="sectiontitle">Class Public methods</div>
|
|
146
146
|
|
|
147
147
|
<div class="method">
|
|
148
|
-
<div class="title" id="
|
|
148
|
+
<div class="title" id="M000166">
|
|
149
149
|
|
|
150
|
-
<a name="
|
|
150
|
+
<a name="M000166"></a><b>__from_9p__</b>(stream)
|
|
151
151
|
|
|
152
152
|
</div>
|
|
153
153
|
|
|
154
154
|
<div class="description">
|
|
155
155
|
<p>
|
|
156
|
-
Alias for <a href="Fcall.html#
|
|
156
|
+
Alias for <a href="Fcall.html#M000165">from_9p</a>
|
|
157
157
|
</p>
|
|
158
158
|
|
|
159
159
|
</div>
|
|
@@ -163,9 +163,9 @@ Alias for <a href="Fcall.html#M000164">from_9p</a>
|
|
|
163
163
|
</div>
|
|
164
164
|
|
|
165
165
|
<div class="method">
|
|
166
|
-
<div class="title" id="
|
|
166
|
+
<div class="title" id="M000165">
|
|
167
167
|
|
|
168
|
-
<a name="
|
|
168
|
+
<a name="M000165"></a><b>from_9p</b>(stream)
|
|
169
169
|
|
|
170
170
|
</div>
|
|
171
171
|
|
|
@@ -181,7 +181,7 @@ returns the instance.
|
|
|
181
181
|
<div class="aka">
|
|
182
182
|
This method is also aliased as
|
|
183
183
|
|
|
184
|
-
<a href="Fcall.html#
|
|
184
|
+
<a href="Fcall.html#M000166">__from_9p__</a>
|
|
185
185
|
|
|
186
186
|
</div>
|
|
187
187
|
|
|
@@ -189,12 +189,12 @@ returns the instance.
|
|
|
189
189
|
|
|
190
190
|
<div class="sourcecode">
|
|
191
191
|
<p class="source-link">
|
|
192
|
-
Source: <a href="javascript:toggleSource('
|
|
192
|
+
Source: <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">show</a>
|
|
193
193
|
|
|
194
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
194
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L417" target="_blank" class="github_url">on GitHub</a>
|
|
195
195
|
|
|
196
196
|
</p>
|
|
197
|
-
<div id="
|
|
197
|
+
<div id="M000165_source" class="dyn-source">
|
|
198
198
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 417</span>
|
|
199
199
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">from_9p</span> <span class="ruby-identifier">stream</span>
|
|
200
200
|
<span class="ruby-identifier">size</span> = <span class="ruby-identifier">stream</span>.<span class="ruby-identifier">read_9p</span>(<span class="ruby-value">4</span>)
|
|
@@ -212,9 +212,9 @@ returns the instance.
|
|
|
212
212
|
</div>
|
|
213
213
|
|
|
214
214
|
<div class="method">
|
|
215
|
-
<div class="title" id="
|
|
215
|
+
<div class="title" id="M000175">
|
|
216
216
|
|
|
217
|
-
<a name="
|
|
217
|
+
<a name="M000175"></a><b>type</b>()
|
|
218
218
|
|
|
219
219
|
</div>
|
|
220
220
|
|
|
@@ -230,12 +230,12 @@ Returns the value of the ‘type’ field for this fcall.
|
|
|
230
230
|
|
|
231
231
|
<div class="sourcecode">
|
|
232
232
|
<p class="source-link">
|
|
233
|
-
Source: <a href="javascript:toggleSource('
|
|
233
|
+
Source: <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show</a>
|
|
234
234
|
|
|
235
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
235
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L654" target="_blank" class="github_url">on GitHub</a>
|
|
236
236
|
|
|
237
237
|
</p>
|
|
238
|
-
<div id="
|
|
238
|
+
<div id="M000175_source" class="dyn-source">
|
|
239
239
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 654</span>
|
|
240
240
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">type</span>
|
|
241
241
|
<span class="ruby-constant">CLASS_TO_TYPE</span>[<span class="ruby-keyword kw">self</span>]
|
|
@@ -248,9 +248,9 @@ Returns the value of the ‘type’ field for this fcall.
|
|
|
248
248
|
<div class="sectiontitle">Instance Public methods</div>
|
|
249
249
|
|
|
250
250
|
<div class="method">
|
|
251
|
-
<div class="title" id="
|
|
251
|
+
<div class="title" id="M000164">
|
|
252
252
|
|
|
253
|
-
<a name="
|
|
253
|
+
<a name="M000164"></a><b>to_9p</b>()
|
|
254
254
|
|
|
255
255
|
</div>
|
|
256
256
|
|
|
@@ -266,12 +266,12 @@ Transforms this object into a string of 9P2000 bytes.
|
|
|
266
266
|
|
|
267
267
|
<div class="sourcecode">
|
|
268
268
|
<p class="source-link">
|
|
269
|
-
Source: <a href="javascript:toggleSource('
|
|
269
|
+
Source: <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">show</a>
|
|
270
270
|
|
|
271
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
271
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L403" target="_blank" class="github_url">on GitHub</a>
|
|
272
272
|
|
|
273
273
|
</p>
|
|
274
|
-
<div id="
|
|
274
|
+
<div id="M000164_source" class="dyn-source">
|
|
275
275
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 403</span>
|
|
276
276
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span>
|
|
277
277
|
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">type</span>.<span class="ruby-identifier">to_9p</span>(<span class="ruby-value">1</span>) <span class="ruby-operator"><<</span> <span class="ruby-keyword kw">super</span>
|
|
@@ -284,9 +284,9 @@ Transforms this object into a string of 9P2000 bytes.
|
|
|
284
284
|
</div>
|
|
285
285
|
|
|
286
286
|
<div class="method">
|
|
287
|
-
<div class="title" id="
|
|
287
|
+
<div class="title" id="M000176">
|
|
288
288
|
|
|
289
|
-
<a name="
|
|
289
|
+
<a name="M000176"></a><b>type</b>()
|
|
290
290
|
|
|
291
291
|
</div>
|
|
292
292
|
|
|
@@ -302,12 +302,12 @@ Returns the value of the ‘type’ field for this fcall.
|
|
|
302
302
|
|
|
303
303
|
<div class="sourcecode">
|
|
304
304
|
<p class="source-link">
|
|
305
|
-
Source: <a href="javascript:toggleSource('
|
|
305
|
+
Source: <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show</a>
|
|
306
306
|
|
|
307
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
|
307
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L661" target="_blank" class="github_url">on GitHub</a>
|
|
308
308
|
|
|
309
309
|
</p>
|
|
310
|
-
<div id="
|
|
310
|
+
<div id="M000176_source" class="dyn-source">
|
|
311
311
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 661</span>
|
|
312
312
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">type</span>
|
|
313
313
|
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">type</span>
|