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
@@ -1,242 +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::Struct::ClassField</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 (C)</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> » <span class='title'><a href="../Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">ClassField</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::Struct::ClassField
|
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="Field.html" title="Rumai::IXP::Struct::Field (class)">Field</a></span>
|
56
|
-
|
57
|
-
<ul class="fullTree">
|
58
|
-
<li><a href="../../../Object.html" title="Object (class)">Object</a></li>
|
59
|
-
|
60
|
-
<li class="next"><a href="Field.html" title="Rumai::IXP::Struct::Field (class)">Field</a></li>
|
61
|
-
|
62
|
-
<li class="next">Rumai::IXP::Struct::ClassField</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 field whose value knows how to convert itself to and from 9p.
|
87
|
-
</p>
|
88
|
-
|
89
|
-
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
<div class="tags">
|
93
|
-
|
94
|
-
</div><div id="subclasses">
|
95
|
-
<h2>Direct Known Subclasses</h2>
|
96
|
-
<p class="children"><a href="StringField.html" title="Rumai::IXP::Struct::StringField (class)">StringField</a></p>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<h2>Instance Method Summary</h2>
|
107
|
-
|
108
|
-
<ul class="summary">
|
109
|
-
|
110
|
-
<li class="public ">
|
111
|
-
<span class="summary_signature">
|
112
|
-
|
113
|
-
<a href="#value_from_9p-instance_method" title="#value_from_9p (instance method)">- (Object) <strong>value_from_9p</strong>(stream) </a>
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
</span>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
126
|
-
|
127
|
-
</li>
|
128
|
-
|
129
|
-
|
130
|
-
<li class="public ">
|
131
|
-
<span class="summary_signature">
|
132
|
-
|
133
|
-
<a href="#value_to_9p-instance_method" title="#value_to_9p (instance method)">- (Object) <strong>value_to_9p</strong>(value) </a>
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
</span>
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
146
|
-
|
147
|
-
</li>
|
148
|
-
|
149
|
-
|
150
|
-
</ul>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<h3 class="inherited">Methods inherited from <a href="Field.html" title="Rumai::IXP::Struct::Field (class)">Field</a></h3>
|
162
|
-
<p class="inherited"><a href="Field.html#factory-class_method" title="Rumai::IXP::Struct::Field.factory (method)">factory</a>, <a href="Field.html#initialize-instance_method" title="Rumai::IXP::Struct::Field#initialize (method)">#initialize</a>, <a href="Field.html#load_9p-instance_method" title="Rumai::IXP::Struct::Field#load_9p (method)">#load_9p</a>, <a href="Field.html#to_9p-instance_method" title="Rumai::IXP::Struct::Field#to_9p (method)">#to_9p</a></p>
|
163
|
-
<div id="constructor_details" class="method_details_list">
|
164
|
-
<h2>Constructor Details</h2>
|
165
|
-
|
166
|
-
<p class="notice">This class inherits a constructor from <a href="Field.html#initialize-instance_method" title="Rumai::IXP::Struct::Field#initialize (method)">Rumai::IXP::Struct::Field</a></p>
|
167
|
-
|
168
|
-
</div>
|
169
|
-
|
170
|
-
|
171
|
-
<div id="instance_method_details" class="method_details_list">
|
172
|
-
<h2>Instance Method Details</h2>
|
173
|
-
|
174
|
-
|
175
|
-
<div class="method_details first">
|
176
|
-
<p class="signature first" id="value_from_9p-instance_method">
|
177
|
-
|
178
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>value_from_9p</strong>(stream)
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
</p><table class="source_code">
|
183
|
-
<tr>
|
184
|
-
<td>
|
185
|
-
<pre class="lines">
|
186
|
-
|
187
|
-
|
188
|
-
276
|
189
|
-
277
|
190
|
-
278</pre>
|
191
|
-
</td>
|
192
|
-
<td>
|
193
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 276</span>
|
194
|
-
|
195
|
-
<span class='kw'>def</span> <span class='id value_from_9p'>value_from_9p</span> <span class='id stream'>stream</span>
|
196
|
-
<span class='ivar'>@format</span><span class='period'>.</span><span class='id from_9p'>from_9p</span> <span class='id stream'>stream</span>
|
197
|
-
<span class='kw'>end</span></pre>
|
198
|
-
</td>
|
199
|
-
</tr>
|
200
|
-
</table>
|
201
|
-
</div>
|
202
|
-
|
203
|
-
<div class="method_details ">
|
204
|
-
<p class="signature " id="value_to_9p-instance_method">
|
205
|
-
|
206
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>value_to_9p</strong>(value)
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
</p><table class="source_code">
|
211
|
-
<tr>
|
212
|
-
<td>
|
213
|
-
<pre class="lines">
|
214
|
-
|
215
|
-
|
216
|
-
272
|
217
|
-
273
|
218
|
-
274</pre>
|
219
|
-
</td>
|
220
|
-
<td>
|
221
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 272</span>
|
222
|
-
|
223
|
-
<span class='kw'>def</span> <span class='id value_to_9p'>value_to_9p</span> <span class='id value'>value</span>
|
224
|
-
<span class='id value'>value</span><span class='period'>.</span><span class='id to_9p'>to_9p</span>
|
225
|
-
<span class='kw'>end</span></pre>
|
226
|
-
</td>
|
227
|
-
</tr>
|
228
|
-
</table>
|
229
|
-
</div>
|
230
|
-
|
231
|
-
</div>
|
232
|
-
|
233
|
-
</div>
|
234
|
-
|
235
|
-
<div id="footer">
|
236
|
-
Generated on Thu Apr 1 00:30:58 2010 by
|
237
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
238
|
-
0.5.4 (ruby-1.9.1).
|
239
|
-
</div>
|
240
|
-
|
241
|
-
</body>
|
242
|
-
</html>
|
@@ -1,782 +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::Struct::Field</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 (F)</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> » <span class='title'><a href="../Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Field</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::Struct::Field
|
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::Struct::Field</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/message.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 field inside a Struct.
|
85
|
-
</p>
|
86
|
-
<p>
|
87
|
-
A field’s value is considered to be either:
|
88
|
-
</p>
|
89
|
-
<ul>
|
90
|
-
<li>array of format when <tt>counter && format.is_a? Class</tt>
|
91
|
-
|
92
|
-
</li>
|
93
|
-
<li>raw byte string when <tt>counter && format.nil?</tt>
|
94
|
-
|
95
|
-
</li>
|
96
|
-
</ul>
|
97
|
-
|
98
|
-
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
<div class="tags">
|
102
|
-
|
103
|
-
</div><div id="subclasses">
|
104
|
-
<h2>Direct Known Subclasses</h2>
|
105
|
-
<p class="children"><a href="ClassField.html" title="Rumai::IXP::Struct::ClassField (class)">ClassField</a>, <a href="Integer8Field.html" title="Rumai::IXP::Struct::Integer8Field (class)">Integer8Field</a></p>
|
106
|
-
</div>
|
107
|
-
<h2>Defined Under Namespace</h2>
|
108
|
-
<p class="children">
|
109
|
-
|
110
|
-
|
111
|
-
<strong class="modules">Modules:</strong> <a href="Field/CounteeField.html" title="Rumai::IXP::Struct::Field::CounteeField (module)">CounteeField</a>, <a href="Field/CounterField.html" title="Rumai::IXP::Struct::Field::CounterField (module)">CounterField</a>
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
</p>
|
117
|
-
|
118
|
-
|
119
|
-
<h2>Instance Attribute Summary</h2>
|
120
|
-
<ul class="summary">
|
121
|
-
|
122
|
-
<li class="public ">
|
123
|
-
<span class="summary_signature">
|
124
|
-
|
125
|
-
<a href="#countee-instance_method" title="#countee (instance method)">- (Object) <strong>countee</strong> </a>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
</span>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
<span class="summary_desc"><div class='inline'><p>
|
141
|
-
Returns the value of attribute countee.
|
142
|
-
</p>
|
143
|
-
</div></span>
|
144
|
-
|
145
|
-
</li>
|
146
|
-
|
147
|
-
|
148
|
-
<li class="public ">
|
149
|
-
<span class="summary_signature">
|
150
|
-
|
151
|
-
<a href="#counter-instance_method" title="#counter (instance method)">- (Object) <strong>counter</strong> </a>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
</span>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
<span class="summary_desc"><div class='inline'><p>
|
167
|
-
Returns the value of attribute counter.
|
168
|
-
</p>
|
169
|
-
</div></span>
|
170
|
-
|
171
|
-
</li>
|
172
|
-
|
173
|
-
|
174
|
-
<li class="public ">
|
175
|
-
<span class="summary_signature">
|
176
|
-
|
177
|
-
<a href="#format-instance_method" title="#format (instance method)">- (Object) <strong>format</strong> </a>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
</span>
|
182
|
-
|
183
|
-
|
184
|
-
<span class="note title readonly">readonly</span>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<span class="summary_desc"><div class='inline'><p>
|
193
|
-
Returns the value of attribute format.
|
194
|
-
</p>
|
195
|
-
</div></span>
|
196
|
-
|
197
|
-
</li>
|
198
|
-
|
199
|
-
|
200
|
-
<li class="public ">
|
201
|
-
<span class="summary_signature">
|
202
|
-
|
203
|
-
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
</span>
|
208
|
-
|
209
|
-
|
210
|
-
<span class="note title readonly">readonly</span>
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
<span class="summary_desc"><div class='inline'><p>
|
219
|
-
Returns the value of attribute name.
|
220
|
-
</p>
|
221
|
-
</div></span>
|
222
|
-
|
223
|
-
</li>
|
224
|
-
|
225
|
-
|
226
|
-
</ul>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
<h2>Class Method Summary</h2>
|
231
|
-
|
232
|
-
<ul class="summary">
|
233
|
-
|
234
|
-
<li class="public ">
|
235
|
-
<span class="summary_signature">
|
236
|
-
|
237
|
-
<a href="#factory-class_method" title="factory (class method)">+ (Object) <strong>factory</strong>(format) </a>
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
</span>
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
<span class="summary_desc"><div class='inline'><p>
|
250
|
-
Returns a Field class that best represents the given format.
|
251
|
-
</p>
|
252
|
-
</div></span>
|
253
|
-
|
254
|
-
</li>
|
255
|
-
|
256
|
-
|
257
|
-
</ul>
|
258
|
-
|
259
|
-
<h2>Instance Method Summary</h2>
|
260
|
-
|
261
|
-
<ul class="summary">
|
262
|
-
|
263
|
-
<li class="public ">
|
264
|
-
<span class="summary_signature">
|
265
|
-
|
266
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Field) <strong>initialize</strong>(name, format = nil, counter = nil) </a>
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
</span>
|
271
|
-
|
272
|
-
<span class="note title constructor">constructor</span>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
<span class="summary_desc"><div class='inline'><p>
|
281
|
-
A new instance of Field.
|
282
|
-
</p>
|
283
|
-
</div></span>
|
284
|
-
|
285
|
-
</li>
|
286
|
-
|
287
|
-
|
288
|
-
<li class="public ">
|
289
|
-
<span class="summary_signature">
|
290
|
-
|
291
|
-
<a href="#load_9p-instance_method" title="#load_9p (instance method)">- (Object) <strong>load_9p</strong>(stream, field_values) </a>
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
</span>
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
<span class="summary_desc"><div class='inline'><p>
|
304
|
-
Populates this object with information taken from the given 9P2000 byte
|
305
|
-
stream.
|
306
|
-
</p>
|
307
|
-
</div></span>
|
308
|
-
|
309
|
-
</li>
|
310
|
-
|
311
|
-
|
312
|
-
<li class="public ">
|
313
|
-
<span class="summary_signature">
|
314
|
-
|
315
|
-
<a href="#to_9p-instance_method" title="#to_9p (instance method)">- (Object) <strong>to_9p</strong>(field_values) </a>
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
</span>
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
<span class="summary_desc"><div class='inline'><p>
|
328
|
-
Transforms this object into a string of 9P2000 bytes.
|
329
|
-
</p>
|
330
|
-
</div></span>
|
331
|
-
|
332
|
-
</li>
|
333
|
-
|
334
|
-
|
335
|
-
</ul>
|
336
|
-
|
337
|
-
|
338
|
-
<div id="constructor_details" class="method_details_list">
|
339
|
-
<h2>Constructor Details</h2>
|
340
|
-
|
341
|
-
<div class="method_details first">
|
342
|
-
<p class="signature first" id="initialize-instance_method">
|
343
|
-
|
344
|
-
- (<tt><a href="" title="Rumai::IXP::Struct::Field (class)">Field</a></tt>) <strong>initialize</strong>(name, format = nil, counter = nil)
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
</p><div class="docstring">
|
349
|
-
<div class="discussion">
|
350
|
-
<p>
|
351
|
-
A new instance of Field
|
352
|
-
</p>
|
353
|
-
|
354
|
-
|
355
|
-
</div>
|
356
|
-
</div>
|
357
|
-
<div class="tags">
|
358
|
-
<h3>Parameters:</h3>
|
359
|
-
<ul class="param">
|
360
|
-
|
361
|
-
<li>
|
362
|
-
|
363
|
-
<span class='type'>(<tt>among all fields in a struct</tt>)</span>
|
364
|
-
|
365
|
-
|
366
|
-
<span class='name'>nameunique</span>
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
—
|
371
|
-
<div class='inline'><p>
|
372
|
-
name for the field
|
373
|
-
</p>
|
374
|
-
</div>
|
375
|
-
|
376
|
-
</li>
|
377
|
-
|
378
|
-
<li>
|
379
|
-
|
380
|
-
<span class='type'></span>
|
381
|
-
|
382
|
-
|
383
|
-
<span class='name'>format</span>
|
384
|
-
|
385
|
-
|
386
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
387
|
-
|
388
|
-
|
389
|
-
—
|
390
|
-
<div class='inline'><p>
|
391
|
-
number of bytes, a class, or nil
|
392
|
-
</p>
|
393
|
-
</div>
|
394
|
-
|
395
|
-
</li>
|
396
|
-
|
397
|
-
<li>
|
398
|
-
|
399
|
-
<span class='type'>(<tt><a href="" title="Rumai::IXP::Struct::Field (class)">Field</a></tt>)</span>
|
400
|
-
|
401
|
-
|
402
|
-
<span class='name'>counter</span>
|
403
|
-
|
404
|
-
|
405
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
406
|
-
|
407
|
-
|
408
|
-
—
|
409
|
-
<div class='inline'><p>
|
410
|
-
field which counts the length of this field’s value
|
411
|
-
</p>
|
412
|
-
</div>
|
413
|
-
|
414
|
-
</li>
|
415
|
-
|
416
|
-
</ul>
|
417
|
-
|
418
|
-
</div><table class="source_code">
|
419
|
-
<tr>
|
420
|
-
<td>
|
421
|
-
<pre class="lines">
|
422
|
-
|
423
|
-
|
424
|
-
153
|
425
|
-
154
|
426
|
-
155
|
427
|
-
156
|
428
|
-
157
|
429
|
-
158</pre>
|
430
|
-
</td>
|
431
|
-
<td>
|
432
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 153</span>
|
433
|
-
|
434
|
-
<span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id name'>name</span><span class='comma'>,</span> <span class='id format'>format</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id counter'>counter</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
435
|
-
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id name'>name</span>
|
436
|
-
<span class='ivar'>@format</span> <span class='op'>=</span> <span class='id format'>format</span>
|
437
|
-
<span class='ivar'>@countee</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
438
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id counter'>counter</span> <span class='op'>=</span> <span class='id counter'>counter</span>
|
439
|
-
<span class='kw'>end</span></pre>
|
440
|
-
</td>
|
441
|
-
</tr>
|
442
|
-
</table>
|
443
|
-
</div>
|
444
|
-
|
445
|
-
</div>
|
446
|
-
|
447
|
-
<div id="instance_attr_details" class="attr_details">
|
448
|
-
<h2>Instance Attribute Details</h2>
|
449
|
-
|
450
|
-
|
451
|
-
<span id="countee=-instance_method"></span>
|
452
|
-
<span id="countee-instance_method"></span>
|
453
|
-
<div class="method_details first">
|
454
|
-
<p class="signature first" id="countee-instance_method">
|
455
|
-
|
456
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>countee</strong>
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
</p><div class="docstring">
|
461
|
-
<div class="discussion">
|
462
|
-
<p>
|
463
|
-
Returns the value of attribute countee
|
464
|
-
</p>
|
465
|
-
|
466
|
-
|
467
|
-
</div>
|
468
|
-
</div>
|
469
|
-
<div class="tags">
|
470
|
-
|
471
|
-
</div><table class="source_code">
|
472
|
-
<tr>
|
473
|
-
<td>
|
474
|
-
<pre class="lines">
|
475
|
-
|
476
|
-
|
477
|
-
141
|
478
|
-
142
|
479
|
-
143</pre>
|
480
|
-
</td>
|
481
|
-
<td>
|
482
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 141</span>
|
483
|
-
|
484
|
-
<span class='kw'>def</span> <span class='id countee'>countee</span>
|
485
|
-
<span class='ivar'>@countee</span>
|
486
|
-
<span class='kw'>end</span></pre>
|
487
|
-
</td>
|
488
|
-
</tr>
|
489
|
-
</table>
|
490
|
-
</div>
|
491
|
-
|
492
|
-
|
493
|
-
<span id="counter=-instance_method"></span>
|
494
|
-
<span id="counter-instance_method"></span>
|
495
|
-
<div class="method_details ">
|
496
|
-
<p class="signature " id="counter-instance_method">
|
497
|
-
|
498
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>counter</strong>
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
</p><div class="docstring">
|
503
|
-
<div class="discussion">
|
504
|
-
<p>
|
505
|
-
Returns the value of attribute counter
|
506
|
-
</p>
|
507
|
-
|
508
|
-
|
509
|
-
</div>
|
510
|
-
</div>
|
511
|
-
<div class="tags">
|
512
|
-
|
513
|
-
</div><table class="source_code">
|
514
|
-
<tr>
|
515
|
-
<td>
|
516
|
-
<pre class="lines">
|
517
|
-
|
518
|
-
|
519
|
-
141
|
520
|
-
142
|
521
|
-
143</pre>
|
522
|
-
</td>
|
523
|
-
<td>
|
524
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 141</span>
|
525
|
-
|
526
|
-
<span class='kw'>def</span> <span class='id counter'>counter</span>
|
527
|
-
<span class='ivar'>@counter</span>
|
528
|
-
<span class='kw'>end</span></pre>
|
529
|
-
</td>
|
530
|
-
</tr>
|
531
|
-
</table>
|
532
|
-
</div>
|
533
|
-
|
534
|
-
|
535
|
-
<span id=""></span>
|
536
|
-
<span id="format-instance_method"></span>
|
537
|
-
<div class="method_details ">
|
538
|
-
<p class="signature " id="format-instance_method">
|
539
|
-
|
540
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>format</strong> <span class="extras">(readonly)</span>
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
</p><div class="docstring">
|
545
|
-
<div class="discussion">
|
546
|
-
<p>
|
547
|
-
Returns the value of attribute format
|
548
|
-
</p>
|
549
|
-
|
550
|
-
|
551
|
-
</div>
|
552
|
-
</div>
|
553
|
-
<div class="tags">
|
554
|
-
|
555
|
-
</div><table class="source_code">
|
556
|
-
<tr>
|
557
|
-
<td>
|
558
|
-
<pre class="lines">
|
559
|
-
|
560
|
-
|
561
|
-
141
|
562
|
-
142
|
563
|
-
143</pre>
|
564
|
-
</td>
|
565
|
-
<td>
|
566
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 141</span>
|
567
|
-
|
568
|
-
<span class='kw'>def</span> <span class='id format'>format</span>
|
569
|
-
<span class='ivar'>@format</span>
|
570
|
-
<span class='kw'>end</span></pre>
|
571
|
-
</td>
|
572
|
-
</tr>
|
573
|
-
</table>
|
574
|
-
</div>
|
575
|
-
|
576
|
-
|
577
|
-
<span id=""></span>
|
578
|
-
<span id="name-instance_method"></span>
|
579
|
-
<div class="method_details ">
|
580
|
-
<p class="signature " id="name-instance_method">
|
581
|
-
|
582
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>name</strong> <span class="extras">(readonly)</span>
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
</p><div class="docstring">
|
587
|
-
<div class="discussion">
|
588
|
-
<p>
|
589
|
-
Returns the value of attribute name
|
590
|
-
</p>
|
591
|
-
|
592
|
-
|
593
|
-
</div>
|
594
|
-
</div>
|
595
|
-
<div class="tags">
|
596
|
-
|
597
|
-
</div><table class="source_code">
|
598
|
-
<tr>
|
599
|
-
<td>
|
600
|
-
<pre class="lines">
|
601
|
-
|
602
|
-
|
603
|
-
141
|
604
|
-
142
|
605
|
-
143</pre>
|
606
|
-
</td>
|
607
|
-
<td>
|
608
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 141</span>
|
609
|
-
|
610
|
-
<span class='kw'>def</span> <span class='id name'>name</span>
|
611
|
-
<span class='ivar'>@name</span>
|
612
|
-
<span class='kw'>end</span></pre>
|
613
|
-
</td>
|
614
|
-
</tr>
|
615
|
-
</table>
|
616
|
-
</div>
|
617
|
-
|
618
|
-
</div>
|
619
|
-
|
620
|
-
|
621
|
-
<div id="class_method_details" class="method_details_list">
|
622
|
-
<h2>Class Method Details</h2>
|
623
|
-
|
624
|
-
|
625
|
-
<div class="method_details first">
|
626
|
-
<p class="signature first" id="factory-class_method">
|
627
|
-
|
628
|
-
+ (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>factory</strong>(format)
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
</p><div class="docstring">
|
633
|
-
<div class="discussion">
|
634
|
-
<p>
|
635
|
-
Returns a Field class that best represents the given format.
|
636
|
-
</p>
|
637
|
-
|
638
|
-
|
639
|
-
</div>
|
640
|
-
</div>
|
641
|
-
<div class="tags">
|
642
|
-
|
643
|
-
</div><table class="source_code">
|
644
|
-
<tr>
|
645
|
-
<td>
|
646
|
-
<pre class="lines">
|
647
|
-
|
648
|
-
|
649
|
-
184
|
650
|
-
185
|
651
|
-
186
|
652
|
-
187
|
653
|
-
188
|
654
|
-
189
|
655
|
-
190
|
656
|
-
191
|
657
|
-
192
|
658
|
-
193
|
659
|
-
194
|
660
|
-
195
|
661
|
-
196
|
662
|
-
197</pre>
|
663
|
-
</td>
|
664
|
-
<td>
|
665
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 184</span>
|
666
|
-
|
667
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id factory'>factory</span> <span class='id format'>format</span>
|
668
|
-
<span class='kw'>if</span> <span class='id format'>format</span> <span class='op'>==</span> <span class='const'>String</span>
|
669
|
-
<span class='const'>StringField</span>
|
670
|
-
|
671
|
-
<span class='kw'>elsif</span> <span class='id format'>format</span><span class='period'>.</span><span class='id is_a?'>is_a?</span> <span class='const'>Class</span>
|
672
|
-
<span class='const'>ClassField</span>
|
673
|
-
|
674
|
-
<span class='kw'>elsif</span> <span class='id format'>format</span> <span class='op'>==</span> <span class='int'>8</span>
|
675
|
-
<span class='const'>Integer8Field</span>
|
676
|
-
|
677
|
-
<span class='kw'>else</span>
|
678
|
-
<span class='const'>Field</span>
|
679
|
-
<span class='kw'>end</span>
|
680
|
-
<span class='kw'>end</span></pre>
|
681
|
-
</td>
|
682
|
-
</tr>
|
683
|
-
</table>
|
684
|
-
</div>
|
685
|
-
|
686
|
-
</div>
|
687
|
-
|
688
|
-
<div id="instance_method_details" class="method_details_list">
|
689
|
-
<h2>Instance Method Details</h2>
|
690
|
-
|
691
|
-
|
692
|
-
<div class="method_details first">
|
693
|
-
<p class="signature first" id="load_9p-instance_method">
|
694
|
-
|
695
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>load_9p</strong>(stream, field_values)
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
</p><div class="docstring">
|
700
|
-
<div class="discussion">
|
701
|
-
<p>
|
702
|
-
Populates this object with information taken from the given 9P2000 byte
|
703
|
-
stream.
|
704
|
-
</p>
|
705
|
-
|
706
|
-
|
707
|
-
</div>
|
708
|
-
</div>
|
709
|
-
<div class="tags">
|
710
|
-
|
711
|
-
</div><table class="source_code">
|
712
|
-
<tr>
|
713
|
-
<td>
|
714
|
-
<pre class="lines">
|
715
|
-
|
716
|
-
|
717
|
-
210
|
718
|
-
211
|
719
|
-
212</pre>
|
720
|
-
</td>
|
721
|
-
<td>
|
722
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 210</span>
|
723
|
-
|
724
|
-
<span class='kw'>def</span> <span class='id load_9p'>load_9p</span> <span class='id stream'>stream</span><span class='comma'>,</span> <span class='id field_values'>field_values</span>
|
725
|
-
<span class='id field_values'>field_values</span><span class='lbracket'>[</span><span class='ivar'>@name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id value_from_9p'>value_from_9p</span> <span class='id stream'>stream</span>
|
726
|
-
<span class='kw'>end</span></pre>
|
727
|
-
</td>
|
728
|
-
</tr>
|
729
|
-
</table>
|
730
|
-
</div>
|
731
|
-
|
732
|
-
<div class="method_details ">
|
733
|
-
<p class="signature " id="to_9p-instance_method">
|
734
|
-
|
735
|
-
- (<tt><a href="../../../Object.html" title="Object (class)">Object</a></tt>) <strong>to_9p</strong>(field_values)
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
</p><div class="docstring">
|
740
|
-
<div class="discussion">
|
741
|
-
<p>
|
742
|
-
Transforms this object into a string of 9P2000 bytes.
|
743
|
-
</p>
|
744
|
-
|
745
|
-
|
746
|
-
</div>
|
747
|
-
</div>
|
748
|
-
<div class="tags">
|
749
|
-
|
750
|
-
</div><table class="source_code">
|
751
|
-
<tr>
|
752
|
-
<td>
|
753
|
-
<pre class="lines">
|
754
|
-
|
755
|
-
|
756
|
-
202
|
757
|
-
203
|
758
|
-
204</pre>
|
759
|
-
</td>
|
760
|
-
<td>
|
761
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 202</span>
|
762
|
-
|
763
|
-
<span class='kw'>def</span> <span class='id to_9p'>to_9p</span> <span class='id field_values'>field_values</span>
|
764
|
-
<span class='id value_to_9p'>value_to_9p</span> <span class='id field_values'>field_values</span><span class='lbracket'>[</span><span class='ivar'>@name</span><span class='rbracket'>]</span>
|
765
|
-
<span class='kw'>end</span></pre>
|
766
|
-
</td>
|
767
|
-
</tr>
|
768
|
-
</table>
|
769
|
-
</div>
|
770
|
-
|
771
|
-
</div>
|
772
|
-
|
773
|
-
</div>
|
774
|
-
|
775
|
-
<div id="footer">
|
776
|
-
Generated on Thu Apr 1 00:30:58 2010 by
|
777
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
778
|
-
0.5.4 (ruby-1.9.1).
|
779
|
-
</div>
|
780
|
-
|
781
|
-
</body>
|
782
|
-
</html>
|