rumai 3.2.2 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +27 -5
- data/bin/rumai +12 -37
- data/lib/rumai/inochi.rb +8 -17
- data/lib/rumai/irb.rb +21 -0
- data/man.html +914 -0
- data/man/man1/rumai.1.gz +0 -0
- metadata +19 -94
- data/HISTORY +0 -350
- data/INSTALL +0 -33
- data/MANUAL +0 -26
- data/README +0 -92
- data/USAGE +0 -297
- data/doc/ann.xml +0 -61
- data/doc/api/IO.html +0 -119
- data/doc/api/Integer.html +0 -171
- data/doc/api/Rumai.html +0 -1540
- data/doc/api/Rumai/Area.html +0 -1485
- data/doc/api/Rumai/Chain.html +0 -301
- data/doc/api/Rumai/Client.html +0 -2451
- data/doc/api/Rumai/ClientContainer.html +0 -301
- data/doc/api/Rumai/ExportInstanceMethods.html +0 -103
- data/doc/api/Rumai/IXP.html +0 -94
- data/doc/api/Rumai/IXP/Agent.html +0 -1625
- data/doc/api/Rumai/IXP/Agent/FidStream.html +0 -959
- data/doc/api/Rumai/IXP/Agent/RangedPool.html +0 -381
- data/doc/api/Rumai/IXP/Error.html +0 -110
- data/doc/api/Rumai/IXP/Fcall.html +0 -503
- data/doc/api/Rumai/IXP/Qid.html +0 -207
- data/doc/api/Rumai/IXP/Rattach.html +0 -148
- data/doc/api/Rumai/IXP/Rauth.html +0 -148
- data/doc/api/Rumai/IXP/Rclunk.html +0 -148
- data/doc/api/Rumai/IXP/Rcreate.html +0 -148
- data/doc/api/Rumai/IXP/Rerror.html +0 -148
- data/doc/api/Rumai/IXP/Rflush.html +0 -148
- data/doc/api/Rumai/IXP/Ropen.html +0 -148
- data/doc/api/Rumai/IXP/Rread.html +0 -148
- data/doc/api/Rumai/IXP/Rremove.html +0 -148
- data/doc/api/Rumai/IXP/Rstat.html +0 -148
- data/doc/api/Rumai/IXP/Rversion.html +0 -148
- data/doc/api/Rumai/IXP/Rwalk.html +0 -148
- data/doc/api/Rumai/IXP/Rwrite.html +0 -148
- data/doc/api/Rumai/IXP/Rwstat.html +0 -148
- data/doc/api/Rumai/IXP/Stat.html +0 -335
- data/doc/api/Rumai/IXP/Stream.html +0 -194
- data/doc/api/Rumai/IXP/Struct.html +0 -586
- data/doc/api/Rumai/IXP/Struct/ClassField.html +0 -242
- data/doc/api/Rumai/IXP/Struct/Field.html +0 -782
- data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +0 -227
- data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +0 -153
- data/doc/api/Rumai/IXP/Struct/Integer8Field.html +0 -242
- data/doc/api/Rumai/IXP/Struct/StringField.html +0 -206
- data/doc/api/Rumai/IXP/Tattach.html +0 -148
- data/doc/api/Rumai/IXP/Tauth.html +0 -148
- data/doc/api/Rumai/IXP/Tclunk.html +0 -148
- data/doc/api/Rumai/IXP/Tcreate.html +0 -148
- data/doc/api/Rumai/IXP/Terror.html +0 -231
- data/doc/api/Rumai/IXP/Tflush.html +0 -148
- data/doc/api/Rumai/IXP/Topen.html +0 -240
- data/doc/api/Rumai/IXP/Tread.html +0 -148
- data/doc/api/Rumai/IXP/Tremove.html +0 -148
- data/doc/api/Rumai/IXP/Tstat.html +0 -148
- data/doc/api/Rumai/IXP/Tversion.html +0 -162
- data/doc/api/Rumai/IXP/Twalk.html +0 -148
- data/doc/api/Rumai/IXP/Twrite.html +0 -148
- data/doc/api/Rumai/IXP/Twstat.html +0 -148
- data/doc/api/Rumai/Node.html +0 -1406
- data/doc/api/Rumai/View.html +0 -1587
- data/doc/api/Rumai/WidgetImpl.html +0 -333
- data/doc/api/Rumai/WidgetNode.html +0 -246
- data/doc/api/String.html +0 -258
- data/doc/api/StringIO.html +0 -119
- data/doc/api/Time.html +0 -247
- data/doc/api/_index.html +0 -581
- data/doc/api/class_list.html +0 -36
- data/doc/api/css/common.css +0 -1
- data/doc/api/css/full_list.css +0 -50
- data/doc/api/css/style.css +0 -273
- data/doc/api/file.LICENSE.html +0 -73
- data/doc/api/file_list.html +0 -38
- data/doc/api/frames.html +0 -13
- data/doc/api/index.html +0 -73
- data/doc/api/js/app.js +0 -111
- data/doc/api/js/full_list.js +0 -117
- data/doc/api/js/jquery.js +0 -19
- data/doc/api/method_list.html +0 -1491
- data/doc/api/top-level-namespace.html +0 -89
- data/doc/index.html +0 -2655
- data/inochi.opts +0 -31
- data/test/rumai/ixp/message_test.rb +0 -245
- data/test/runner +0 -25
- data/test/test_helper.rb +0 -1
data/doc/api/Rumai/IXP/Stat.html
DELETED
@@ -1,335 +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::Stat</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 (S)</a> »
|
27
|
-
<span class='title'><a href="../../Rumai.html" title="Rumai (module)">Rumai</a></span> » <span class='title'><a href="../IXP.html" title="Rumai::IXP (module)">IXP</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Stat</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::Stat
|
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::Stat</li>
|
61
|
-
|
62
|
-
</ul>
|
63
|
-
<a href="#" class="inheritanceTree">show all</a>
|
64
|
-
|
65
|
-
</dd>
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
<dt class="r2">Includes:</dt>
|
73
|
-
<dd class="r2"><a href="Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></dd>
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dt class="r1 last">Defined in:</dt>
|
80
|
-
<dd class="r1 last">lib/rumai/ixp/message.rb</dd>
|
81
|
-
|
82
|
-
</dl>
|
83
|
-
<div class="clear"></div>
|
84
|
-
|
85
|
-
<h2>Overview</h2><div class="docstring">
|
86
|
-
<div class="discussion">
|
87
|
-
<p>
|
88
|
-
Holds information about a file on a 9P2000 server.
|
89
|
-
</p>
|
90
|
-
<p>
|
91
|
-
See <a
|
92
|
-
href="http://cm.bell-labs.com/magic/man2html/5/stat">cm.bell-labs.com/magic/man2html/5/stat</a>
|
93
|
-
</p>
|
94
|
-
|
95
|
-
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
<div class="tags">
|
99
|
-
|
100
|
-
</div>
|
101
|
-
<h2>Constant Summary</h2>
|
102
|
-
|
103
|
-
<dl class="constants">
|
104
|
-
|
105
|
-
<dt id="DMDIR-constant" class="">DMDIR =
|
106
|
-
<div class="docstring">
|
107
|
-
<div class="discussion">
|
108
|
-
<p>
|
109
|
-
The following constant definitions originate from: <a
|
110
|
-
href="http://swtch.com/usr/local/plan9/include/libc.h">swtch.com/usr/local/plan9/include/libc.h</a>
|
111
|
-
</p>
|
112
|
-
|
113
|
-
|
114
|
-
</div>
|
115
|
-
</div>
|
116
|
-
<div class="tags">
|
117
|
-
|
118
|
-
</div>
|
119
|
-
</dt>
|
120
|
-
<dd><pre class="code"><span class='int'>0x80000000</span></pre></dd>
|
121
|
-
|
122
|
-
<dt id="DMAPPEND-constant" class="">DMAPPEND =
|
123
|
-
|
124
|
-
</dt>
|
125
|
-
<dd><pre class="code"><span class='int'>0x40000000</span></pre></dd>
|
126
|
-
|
127
|
-
<dt id="DMEXCL-constant" class="">DMEXCL =
|
128
|
-
|
129
|
-
</dt>
|
130
|
-
<dd><pre class="code"><span class='int'>0x20000000</span></pre></dd>
|
131
|
-
|
132
|
-
<dt id="DMMOUNT-constant" class="">DMMOUNT =
|
133
|
-
|
134
|
-
</dt>
|
135
|
-
<dd><pre class="code"><span class='int'>0x10000000</span></pre></dd>
|
136
|
-
|
137
|
-
<dt id="DMAUTH-constant" class="">DMAUTH =
|
138
|
-
|
139
|
-
</dt>
|
140
|
-
<dd><pre class="code"><span class='int'>0x08000000</span></pre></dd>
|
141
|
-
|
142
|
-
<dt id="DMTMP-constant" class="">DMTMP =
|
143
|
-
|
144
|
-
</dt>
|
145
|
-
<dd><pre class="code"><span class='int'>0x04000000</span></pre></dd>
|
146
|
-
|
147
|
-
<dt id="DMSYMLINK-constant" class="">DMSYMLINK =
|
148
|
-
|
149
|
-
</dt>
|
150
|
-
<dd><pre class="code"><span class='int'>0x02000000</span></pre></dd>
|
151
|
-
|
152
|
-
<dt id="DMDEVICE-constant" class="">DMDEVICE =
|
153
|
-
|
154
|
-
</dt>
|
155
|
-
<dd><pre class="code"><span class='int'>0x00800000</span></pre></dd>
|
156
|
-
|
157
|
-
<dt id="DMNAMEDPIPE-constant" class="">DMNAMEDPIPE =
|
158
|
-
|
159
|
-
</dt>
|
160
|
-
<dd><pre class="code"><span class='int'>0x00200000</span></pre></dd>
|
161
|
-
|
162
|
-
<dt id="DMSOCKET-constant" class="">DMSOCKET =
|
163
|
-
|
164
|
-
</dt>
|
165
|
-
<dd><pre class="code"><span class='int'>0x00100000</span></pre></dd>
|
166
|
-
|
167
|
-
<dt id="DMSETUID-constant" class="">DMSETUID =
|
168
|
-
|
169
|
-
</dt>
|
170
|
-
<dd><pre class="code"><span class='int'>0x00080000</span></pre></dd>
|
171
|
-
|
172
|
-
<dt id="DMSETGID-constant" class="">DMSETGID =
|
173
|
-
|
174
|
-
</dt>
|
175
|
-
<dd><pre class="code"><span class='int'>0x00040000</span></pre></dd>
|
176
|
-
|
177
|
-
<dt id="DMREAD-constant" class="">DMREAD =
|
178
|
-
|
179
|
-
</dt>
|
180
|
-
<dd><pre class="code"><span class='int'>0x4</span></pre></dd>
|
181
|
-
|
182
|
-
<dt id="DMWRITE-constant" class="">DMWRITE =
|
183
|
-
|
184
|
-
</dt>
|
185
|
-
<dd><pre class="code"><span class='int'>0x2</span></pre></dd>
|
186
|
-
|
187
|
-
<dt id="DMEXEC-constant" class="">DMEXEC =
|
188
|
-
<div class="docstring">
|
189
|
-
<div class="discussion">
|
190
|
-
<p>
|
191
|
-
mode bit for directories mode bit for append only files mode bit for
|
192
|
-
exclusive use files mode bit for mounted channel mode bit for
|
193
|
-
authentication file mode bit for non-backed-up file mode bit for symbolic
|
194
|
-
link (Unix, 9P2000.u) mode bit for device file (Unix, 9P2000.u) mode bit
|
195
|
-
for named pipe (Unix, 9P2000.u) mode bit for socket (Unix, 9P2000.u) mode
|
196
|
-
bit for setuid (Unix, 9P2000.u) mode bit for setgid (Unix, 9P2000.u) mode
|
197
|
-
bit for read permission mode bit for write permission mode bit for execute
|
198
|
-
permission
|
199
|
-
</p>
|
200
|
-
|
201
|
-
|
202
|
-
</div>
|
203
|
-
</div>
|
204
|
-
<div class="tags">
|
205
|
-
|
206
|
-
</div>
|
207
|
-
</dt>
|
208
|
-
<dd><pre class="code"><span class='int'>0x1</span></pre></dd>
|
209
|
-
|
210
|
-
</dl>
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
<h2>Instance Method Summary</h2>
|
221
|
-
|
222
|
-
<ul class="summary">
|
223
|
-
|
224
|
-
<li class="public ">
|
225
|
-
<span class="summary_signature">
|
226
|
-
|
227
|
-
<a href="#directory%3F-instance_method" title="#directory? (instance method)">- (Boolean) <strong>directory?</strong> </a>
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
</span>
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
<span class="summary_desc"><div class='inline'><p>
|
240
|
-
Tests if this file is a directory.
|
241
|
-
</p>
|
242
|
-
</div></span>
|
243
|
-
|
244
|
-
</li>
|
245
|
-
|
246
|
-
|
247
|
-
</ul>
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
<h3 class="inherited">Methods included from <a href="Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></h3>
|
259
|
-
<p class="inherited"><a href="Struct.html#included-class_method" title="Rumai::IXP::Struct.included (method)">included</a>, <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">#initialize</a>, <a href="Struct.html#load_9p-instance_method" title="Rumai::IXP::Struct#load_9p (method)">#load_9p</a>, <a href="Struct.html#to_9p-instance_method" title="Rumai::IXP::Struct#to_9p (method)">#to_9p</a></p>
|
260
|
-
<div id="constructor_details" class="method_details_list">
|
261
|
-
<h2>Constructor Details</h2>
|
262
|
-
|
263
|
-
<p class="notice">This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">Rumai::IXP::Struct</a></p>
|
264
|
-
|
265
|
-
</div>
|
266
|
-
|
267
|
-
|
268
|
-
<div id="instance_method_details" class="method_details_list">
|
269
|
-
<h2>Instance Method Details</h2>
|
270
|
-
|
271
|
-
|
272
|
-
<div class="method_details first">
|
273
|
-
<p class="signature first" id="directory?-instance_method">
|
274
|
-
|
275
|
-
- (<tt>Boolean</tt>) <strong>directory?</strong>
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
</p><div class="docstring">
|
280
|
-
<div class="discussion">
|
281
|
-
<p>
|
282
|
-
Tests if this file is a directory.
|
283
|
-
</p>
|
284
|
-
|
285
|
-
|
286
|
-
</div>
|
287
|
-
</div>
|
288
|
-
<div class="tags">
|
289
|
-
<h3>Returns:</h3>
|
290
|
-
<ul class="return">
|
291
|
-
|
292
|
-
<li>
|
293
|
-
|
294
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
</li>
|
300
|
-
|
301
|
-
</ul>
|
302
|
-
|
303
|
-
</div><table class="source_code">
|
304
|
-
<tr>
|
305
|
-
<td>
|
306
|
-
<pre class="lines">
|
307
|
-
|
308
|
-
|
309
|
-
377
|
310
|
-
378
|
311
|
-
379</pre>
|
312
|
-
</td>
|
313
|
-
<td>
|
314
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 377</span>
|
315
|
-
|
316
|
-
<span class='kw'>def</span> <span class='id directory?'>directory?</span>
|
317
|
-
<span class='id mode'>mode</span> <span class='op'>&</span> <span class='const'>DMDIR</span> <span class='op'>></span> <span class='int'>0</span>
|
318
|
-
<span class='kw'>end</span></pre>
|
319
|
-
</td>
|
320
|
-
</tr>
|
321
|
-
</table>
|
322
|
-
</div>
|
323
|
-
|
324
|
-
</div>
|
325
|
-
|
326
|
-
</div>
|
327
|
-
|
328
|
-
<div id="footer">
|
329
|
-
Generated on Thu Apr 1 00:30:58 2010 by
|
330
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
331
|
-
0.5.4 (ruby-1.9.1).
|
332
|
-
</div>
|
333
|
-
|
334
|
-
</body>
|
335
|
-
</html>
|
@@ -1,194 +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>Module: Rumai::IXP::Stream</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 (S)</a> »
|
27
|
-
<span class='title'><a href="../../Rumai.html" title="Rumai (module)">Rumai</a></span> » <span class='title'><a href="../IXP.html" title="Rumai::IXP (module)">IXP</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Stream</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>Module: Rumai::IXP::Stream
|
47
|
-
|
48
|
-
|
49
|
-
</h1>
|
50
|
-
|
51
|
-
<dl class="box">
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<dt class="r1">Included in:</dt>
|
60
|
-
<dd class="r1"><a href="../../IO.html" title="IO (class)">IO</a>, <a href="../../StringIO.html" title="StringIO (class)">StringIO</a></dd>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<dt class="r2 last">Defined in:</dt>
|
65
|
-
<dd class="r2 last">lib/rumai/ixp/message.rb</dd>
|
66
|
-
|
67
|
-
</dl>
|
68
|
-
<div class="clear"></div>
|
69
|
-
|
70
|
-
<h2>Overview</h2><div class="docstring">
|
71
|
-
<div class="discussion">
|
72
|
-
<p>
|
73
|
-
A 9P2000 byte stream.
|
74
|
-
</p>
|
75
|
-
|
76
|
-
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
<div class="tags">
|
80
|
-
|
81
|
-
</div>
|
82
|
-
<h2>Constant Summary</h2>
|
83
|
-
|
84
|
-
<dl class="constants">
|
85
|
-
|
86
|
-
<dt id="PACKING_FLAGS-constant" class="">PACKING_FLAGS =
|
87
|
-
<div class="docstring">
|
88
|
-
<div class="discussion">
|
89
|
-
<p>
|
90
|
-
uchar, ushort, uint32 (all of them little-endian)
|
91
|
-
</p>
|
92
|
-
|
93
|
-
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
<div class="tags">
|
97
|
-
|
98
|
-
</div>
|
99
|
-
</dt>
|
100
|
-
<dd><pre class="code"><span class='lbrace'>{</span> <span class='int'>1</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='int'>2</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>v</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='int'>4</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>V</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id freeze'>freeze</span></pre></dd>
|
101
|
-
|
102
|
-
</dl>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<h2>Instance Method Summary</h2>
|
109
|
-
|
110
|
-
<ul class="summary">
|
111
|
-
|
112
|
-
<li class="public ">
|
113
|
-
<span class="summary_signature">
|
114
|
-
|
115
|
-
<a href="#read_9p-instance_method" title="#read_9p (instance method)">- (Object) <strong>read_9p</strong>(num_bytes) </a>
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
</span>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
<span class="summary_desc"><div class='inline'><p>
|
128
|
-
Unpacks the given number of bytes from this 9P2000 byte stream.
|
129
|
-
</p>
|
130
|
-
</div></span>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
|
135
|
-
</ul>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
<div id="instance_method_details" class="method_details_list">
|
141
|
-
<h2>Instance Method Details</h2>
|
142
|
-
|
143
|
-
|
144
|
-
<div class="method_details first">
|
145
|
-
<p class="signature first" id="read_9p-instance_method">
|
146
|
-
|
147
|
-
- (<tt><a href="../../Object.html" title="Object (class)">Object</a></tt>) <strong>read_9p</strong>(num_bytes)
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
</p><div class="docstring">
|
152
|
-
<div class="discussion">
|
153
|
-
<p>
|
154
|
-
Unpacks the given number of bytes from this 9P2000 byte stream.
|
155
|
-
</p>
|
156
|
-
|
157
|
-
|
158
|
-
</div>
|
159
|
-
</div>
|
160
|
-
<div class="tags">
|
161
|
-
|
162
|
-
</div><table class="source_code">
|
163
|
-
<tr>
|
164
|
-
<td>
|
165
|
-
<pre class="lines">
|
166
|
-
|
167
|
-
|
168
|
-
31
|
169
|
-
32
|
170
|
-
33</pre>
|
171
|
-
</td>
|
172
|
-
<td>
|
173
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 31</span>
|
174
|
-
|
175
|
-
<span class='kw'>def</span> <span class='id read_9p'>read_9p</span> <span class='id num_bytes'>num_bytes</span>
|
176
|
-
<span class='id read'>read</span><span class='lparen'>(</span><span class='id num_bytes'>num_bytes</span><span class='rparen'>)</span><span class='period'>.</span><span class='id unpack'>unpack</span><span class='lparen'>(</span><span class='const'>PACKING_FLAGS</span><span class='lbracket'>[</span><span class='id num_bytes'>num_bytes</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
|
177
|
-
<span class='kw'>end</span></pre>
|
178
|
-
</td>
|
179
|
-
</tr>
|
180
|
-
</table>
|
181
|
-
</div>
|
182
|
-
|
183
|
-
</div>
|
184
|
-
|
185
|
-
</div>
|
186
|
-
|
187
|
-
<div id="footer">
|
188
|
-
Generated on Thu Apr 1 00:30:58 2010 by
|
189
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
190
|
-
0.5.4 (ruby-1.9.1).
|
191
|
-
</div>
|
192
|
-
|
193
|
-
</body>
|
194
|
-
</html>
|