rumai 3.2.2 → 3.2.3
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/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,503 +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::Fcall</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>
|
|
28
|
-
»
|
|
29
|
-
<span class="title">Fcall</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::Fcall
|
|
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::Fcall</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<span class="defines">,<br />
|
|
81
|
-
lib/rumai/ixp/message.rb</span>
|
|
82
|
-
</dd>
|
|
83
|
-
|
|
84
|
-
</dl>
|
|
85
|
-
<div class="clear"></div>
|
|
86
|
-
|
|
87
|
-
<h2>Overview</h2><div class="docstring">
|
|
88
|
-
<div class="discussion">
|
|
89
|
-
<p>
|
|
90
|
-
A remote function call (fcall).
|
|
91
|
-
</p>
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<div class="tags">
|
|
97
|
-
|
|
98
|
-
</div><div id="subclasses">
|
|
99
|
-
<h2>Direct Known Subclasses</h2>
|
|
100
|
-
<p class="children"><a href="Rattach.html" title="Rumai::IXP::Rattach (class)">Rattach</a>, <a href="Rauth.html" title="Rumai::IXP::Rauth (class)">Rauth</a>, <a href="Rclunk.html" title="Rumai::IXP::Rclunk (class)">Rclunk</a>, <a href="Rcreate.html" title="Rumai::IXP::Rcreate (class)">Rcreate</a>, <a href="Rerror.html" title="Rumai::IXP::Rerror (class)">Rerror</a>, <a href="Rflush.html" title="Rumai::IXP::Rflush (class)">Rflush</a>, <a href="Ropen.html" title="Rumai::IXP::Ropen (class)">Ropen</a>, <a href="Rread.html" title="Rumai::IXP::Rread (class)">Rread</a>, <a href="Rremove.html" title="Rumai::IXP::Rremove (class)">Rremove</a>, <a href="Rstat.html" title="Rumai::IXP::Rstat (class)">Rstat</a>, <a href="Rversion.html" title="Rumai::IXP::Rversion (class)">Rversion</a>, <a href="Rwalk.html" title="Rumai::IXP::Rwalk (class)">Rwalk</a>, <a href="Rwrite.html" title="Rumai::IXP::Rwrite (class)">Rwrite</a>, <a href="Rwstat.html" title="Rumai::IXP::Rwstat (class)">Rwstat</a>, <a href="Tattach.html" title="Rumai::IXP::Tattach (class)">Tattach</a>, <a href="Tauth.html" title="Rumai::IXP::Tauth (class)">Tauth</a>, <a href="Tclunk.html" title="Rumai::IXP::Tclunk (class)">Tclunk</a>, <a href="Tcreate.html" title="Rumai::IXP::Tcreate (class)">Tcreate</a>, <a href="Terror.html" title="Rumai::IXP::Terror (class)">Terror</a>, <a href="Tflush.html" title="Rumai::IXP::Tflush (class)">Tflush</a>, <a href="Topen.html" title="Rumai::IXP::Topen (class)">Topen</a>, <a href="Tread.html" title="Rumai::IXP::Tread (class)">Tread</a>, <a href="Tremove.html" title="Rumai::IXP::Tremove (class)">Tremove</a>, <a href="Tstat.html" title="Rumai::IXP::Tstat (class)">Tstat</a>, <a href="Tversion.html" title="Rumai::IXP::Tversion (class)">Tversion</a>, <a href="Twalk.html" title="Rumai::IXP::Twalk (class)">Twalk</a>, <a href="Twrite.html" title="Rumai::IXP::Twrite (class)">Twrite</a>, <a href="Twstat.html" title="Rumai::IXP::Twstat (class)">Twstat</a></p>
|
|
101
|
-
</div>
|
|
102
|
-
|
|
103
|
-
<h2>Constant Summary</h2>
|
|
104
|
-
|
|
105
|
-
<dl class="constants">
|
|
106
|
-
|
|
107
|
-
<dt id="NOTAG-constant" class="">NOTAG =
|
|
108
|
-
|
|
109
|
-
</dt>
|
|
110
|
-
<dd><pre class="code"><span class='const'>BYTE2_MASK</span></pre></dd>
|
|
111
|
-
|
|
112
|
-
<dt id="NOFID-constant" class="">NOFID =
|
|
113
|
-
<div class="docstring">
|
|
114
|
-
<div class="discussion">
|
|
115
|
-
<p>
|
|
116
|
-
(ushort) (uint32)
|
|
117
|
-
</p>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
<div class="tags">
|
|
123
|
-
|
|
124
|
-
</div>
|
|
125
|
-
</dt>
|
|
126
|
-
<dd><pre class="code"><span class='const'>BYTE4_MASK</span></pre></dd>
|
|
127
|
-
|
|
128
|
-
<dt id="CLASS_TO_TYPE-constant" class="">CLASS_TO_TYPE =
|
|
129
|
-
|
|
130
|
-
</dt>
|
|
131
|
-
<dd><pre class="code"><span class='lbrace'>{</span>
|
|
132
|
-
<span class='const'>Tversion</span> <span class='op'>=></span> <span class='int'>100</span><span class='comma'>,</span>
|
|
133
|
-
<span class='const'>Rversion</span> <span class='op'>=></span> <span class='int'>101</span><span class='comma'>,</span>
|
|
134
|
-
<span class='const'>Tauth</span> <span class='op'>=></span> <span class='int'>102</span><span class='comma'>,</span>
|
|
135
|
-
<span class='const'>Rauth</span> <span class='op'>=></span> <span class='int'>103</span><span class='comma'>,</span>
|
|
136
|
-
<span class='const'>Tattach</span> <span class='op'>=></span> <span class='int'>104</span><span class='comma'>,</span>
|
|
137
|
-
<span class='const'>Rattach</span> <span class='op'>=></span> <span class='int'>105</span><span class='comma'>,</span>
|
|
138
|
-
<span class='const'>Terror</span> <span class='op'>=></span> <span class='int'>106</span><span class='comma'>,</span>
|
|
139
|
-
<span class='const'>Rerror</span> <span class='op'>=></span> <span class='int'>107</span><span class='comma'>,</span>
|
|
140
|
-
<span class='const'>Tflush</span> <span class='op'>=></span> <span class='int'>108</span><span class='comma'>,</span>
|
|
141
|
-
<span class='const'>Rflush</span> <span class='op'>=></span> <span class='int'>109</span><span class='comma'>,</span>
|
|
142
|
-
<span class='const'>Twalk</span> <span class='op'>=></span> <span class='int'>110</span><span class='comma'>,</span>
|
|
143
|
-
<span class='const'>Rwalk</span> <span class='op'>=></span> <span class='int'>111</span><span class='comma'>,</span>
|
|
144
|
-
<span class='const'>Topen</span> <span class='op'>=></span> <span class='int'>112</span><span class='comma'>,</span>
|
|
145
|
-
<span class='const'>Ropen</span> <span class='op'>=></span> <span class='int'>113</span><span class='comma'>,</span>
|
|
146
|
-
<span class='const'>Tcreate</span> <span class='op'>=></span> <span class='int'>114</span><span class='comma'>,</span>
|
|
147
|
-
<span class='const'>Rcreate</span> <span class='op'>=></span> <span class='int'>115</span><span class='comma'>,</span>
|
|
148
|
-
<span class='const'>Tread</span> <span class='op'>=></span> <span class='int'>116</span><span class='comma'>,</span>
|
|
149
|
-
<span class='const'>Rread</span> <span class='op'>=></span> <span class='int'>117</span><span class='comma'>,</span>
|
|
150
|
-
<span class='const'>Twrite</span> <span class='op'>=></span> <span class='int'>118</span><span class='comma'>,</span>
|
|
151
|
-
<span class='const'>Rwrite</span> <span class='op'>=></span> <span class='int'>119</span><span class='comma'>,</span>
|
|
152
|
-
<span class='const'>Tclunk</span> <span class='op'>=></span> <span class='int'>120</span><span class='comma'>,</span>
|
|
153
|
-
<span class='const'>Rclunk</span> <span class='op'>=></span> <span class='int'>121</span><span class='comma'>,</span>
|
|
154
|
-
<span class='const'>Tremove</span> <span class='op'>=></span> <span class='int'>122</span><span class='comma'>,</span>
|
|
155
|
-
<span class='const'>Rremove</span> <span class='op'>=></span> <span class='int'>123</span><span class='comma'>,</span>
|
|
156
|
-
<span class='const'>Tstat</span> <span class='op'>=></span> <span class='int'>124</span><span class='comma'>,</span>
|
|
157
|
-
<span class='const'>Rstat</span> <span class='op'>=></span> <span class='int'>125</span><span class='comma'>,</span>
|
|
158
|
-
<span class='const'>Twstat</span> <span class='op'>=></span> <span class='int'>126</span><span class='comma'>,</span>
|
|
159
|
-
<span class='const'>Rwstat</span> <span class='op'>=></span> <span class='int'>127</span><span class='comma'>,</span>
|
|
160
|
-
<span class='rbrace'>}</span><span class='period'>.</span><span class='id freeze'>freeze</span></pre></dd>
|
|
161
|
-
|
|
162
|
-
<dt id="TYPE_TO_CLASS-constant" class="">TYPE_TO_CLASS =
|
|
163
|
-
|
|
164
|
-
</dt>
|
|
165
|
-
<dd><pre class="code"><span class='const'>CLASS_TO_TYPE</span><span class='period'>.</span><span class='id invert'>invert</span><span class='period'>.</span><span class='id freeze'>freeze</span></pre></dd>
|
|
166
|
-
|
|
167
|
-
</dl>
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<h2>Class Method Summary</h2>
|
|
178
|
-
|
|
179
|
-
<ul class="summary">
|
|
180
|
-
|
|
181
|
-
<li class="public ">
|
|
182
|
-
<span class="summary_signature">
|
|
183
|
-
|
|
184
|
-
<a href="#from_9p-class_method" title="from_9p (class method)">+ (Object) <strong>from_9p</strong>(stream) </a>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
(also: __from_9p__)
|
|
189
|
-
|
|
190
|
-
</span>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
199
|
-
Creates a new instance of this class from the given 9P2000 byte stream and
|
|
200
|
-
returns the instance.
|
|
201
|
-
</p>
|
|
202
|
-
</div></span>
|
|
203
|
-
|
|
204
|
-
</li>
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
<li class="public ">
|
|
208
|
-
<span class="summary_signature">
|
|
209
|
-
|
|
210
|
-
<a href="#type-class_method" title="type (class method)">+ (Object) <strong>type</strong> </a>
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
</span>
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
223
|
-
Returns the value of the ‘type’ field for this fcall.
|
|
224
|
-
</p>
|
|
225
|
-
</div></span>
|
|
226
|
-
|
|
227
|
-
</li>
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
</ul>
|
|
231
|
-
|
|
232
|
-
<h2>Instance Method Summary</h2>
|
|
233
|
-
|
|
234
|
-
<ul class="summary">
|
|
235
|
-
|
|
236
|
-
<li class="public ">
|
|
237
|
-
<span class="summary_signature">
|
|
238
|
-
|
|
239
|
-
<a href="#to_9p-instance_method" title="#to_9p (instance method)">- (Object) <strong>to_9p</strong> </a>
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
</span>
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
252
|
-
Transforms this object into a string of 9P2000 bytes.
|
|
253
|
-
</p>
|
|
254
|
-
</div></span>
|
|
255
|
-
|
|
256
|
-
</li>
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
<li class="public ">
|
|
260
|
-
<span class="summary_signature">
|
|
261
|
-
|
|
262
|
-
<a href="#type-instance_method" title="#type (instance method)">- (Object) <strong>type</strong> </a>
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
</span>
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
275
|
-
Returns the value of the ‘type’ field for this fcall.
|
|
276
|
-
</p>
|
|
277
|
-
</div></span>
|
|
278
|
-
|
|
279
|
-
</li>
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
</ul>
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
<h3 class="inherited">Methods included from <a href="Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></h3>
|
|
294
|
-
<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></p>
|
|
295
|
-
<div id="constructor_details" class="method_details_list">
|
|
296
|
-
<h2>Constructor Details</h2>
|
|
297
|
-
|
|
298
|
-
<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>
|
|
299
|
-
|
|
300
|
-
</div>
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
<div id="class_method_details" class="method_details_list">
|
|
304
|
-
<h2>Class Method Details</h2>
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
<div class="method_details first">
|
|
308
|
-
<p class="signature first" id="from_9p-class_method">
|
|
309
|
-
|
|
310
|
-
+ (<tt><a href="../../Object.html" title="Object (class)">Object</a></tt>) <strong>from_9p</strong>(stream)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
<span class="aliases">Also known as:
|
|
315
|
-
<span class="names"><span id='__from_9p__-class_method'>__from_9p__</span></span>
|
|
316
|
-
</span>
|
|
317
|
-
|
|
318
|
-
</p><div class="docstring">
|
|
319
|
-
<div class="discussion">
|
|
320
|
-
<p>
|
|
321
|
-
Creates a new instance of this class from the given 9P2000 byte stream and
|
|
322
|
-
returns the instance.
|
|
323
|
-
</p>
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
</div>
|
|
327
|
-
</div>
|
|
328
|
-
<div class="tags">
|
|
329
|
-
|
|
330
|
-
</div><table class="source_code">
|
|
331
|
-
<tr>
|
|
332
|
-
<td>
|
|
333
|
-
<pre class="lines">
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
416
|
|
337
|
-
417
|
|
338
|
-
418
|
|
339
|
-
419
|
|
340
|
-
420
|
|
341
|
-
421
|
|
342
|
-
422
|
|
343
|
-
423
|
|
344
|
-
424
|
|
345
|
-
425</pre>
|
|
346
|
-
</td>
|
|
347
|
-
<td>
|
|
348
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 416</span>
|
|
349
|
-
|
|
350
|
-
<span class='kw'>def</span> <span class='id from_9p'>from_9p</span> <span class='id stream'>stream</span>
|
|
351
|
-
<span class='id size'>size</span> <span class='op'>=</span> <span class='id stream'>stream</span><span class='period'>.</span><span class='id read_9p'>read_9p</span><span class='lparen'>(</span><span class='int'>4</span><span class='rparen'>)</span>
|
|
352
|
-
<span class='id type'>type</span> <span class='op'>=</span> <span class='id stream'>stream</span><span class='period'>.</span><span class='id read_9p'>read_9p</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span>
|
|
353
|
-
|
|
354
|
-
<span class='kw'>unless</span> <span class='id fcall'>fcall</span> <span class='op'>=</span> <span class='const'>TYPE_TO_CLASS</span><span class='lbracket'>[</span><span class='id type'>type</span><span class='rbracket'>]</span>
|
|
355
|
-
<span class='id raise'>raise</span> <span class='const'>Error</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>illegal fcall type: </span><span class='embexpr_beg'>#{</span><span class='id type'>type</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
|
356
|
-
<span class='kw'>end</span>
|
|
357
|
-
|
|
358
|
-
<span class='id __from_9p__'>__from_9p__</span> <span class='id stream'>stream</span><span class='comma'>,</span> <span class='id fcall'>fcall</span>
|
|
359
|
-
<span class='kw'>end</span></pre>
|
|
360
|
-
</td>
|
|
361
|
-
</tr>
|
|
362
|
-
</table>
|
|
363
|
-
</div>
|
|
364
|
-
|
|
365
|
-
<div class="method_details ">
|
|
366
|
-
<p class="signature " id="type-class_method">
|
|
367
|
-
|
|
368
|
-
+ (<tt><a href="../../Object.html" title="Object (class)">Object</a></tt>) <strong>type</strong>
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
</p><div class="docstring">
|
|
373
|
-
<div class="discussion">
|
|
374
|
-
<p>
|
|
375
|
-
Returns the value of the ‘type’ field for this fcall.
|
|
376
|
-
</p>
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
</div>
|
|
380
|
-
</div>
|
|
381
|
-
<div class="tags">
|
|
382
|
-
|
|
383
|
-
</div><table class="source_code">
|
|
384
|
-
<tr>
|
|
385
|
-
<td>
|
|
386
|
-
<pre class="lines">
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
657
|
|
390
|
-
658
|
|
391
|
-
659</pre>
|
|
392
|
-
</td>
|
|
393
|
-
<td>
|
|
394
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 657</span>
|
|
395
|
-
|
|
396
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id type'>type</span>
|
|
397
|
-
<span class='const'>CLASS_TO_TYPE</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='rbracket'>]</span>
|
|
398
|
-
<span class='kw'>end</span></pre>
|
|
399
|
-
</td>
|
|
400
|
-
</tr>
|
|
401
|
-
</table>
|
|
402
|
-
</div>
|
|
403
|
-
|
|
404
|
-
</div>
|
|
405
|
-
|
|
406
|
-
<div id="instance_method_details" class="method_details_list">
|
|
407
|
-
<h2>Instance Method Details</h2>
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
<div class="method_details first">
|
|
411
|
-
<p class="signature first" id="to_9p-instance_method">
|
|
412
|
-
|
|
413
|
-
- (<tt><a href="../../Object.html" title="Object (class)">Object</a></tt>) <strong>to_9p</strong>
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
</p><div class="docstring">
|
|
418
|
-
<div class="discussion">
|
|
419
|
-
<p>
|
|
420
|
-
Transforms this object into a string of 9P2000 bytes.
|
|
421
|
-
</p>
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
</div>
|
|
425
|
-
</div>
|
|
426
|
-
<div class="tags">
|
|
427
|
-
|
|
428
|
-
</div><table class="source_code">
|
|
429
|
-
<tr>
|
|
430
|
-
<td>
|
|
431
|
-
<pre class="lines">
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
402
|
|
435
|
-
403
|
|
436
|
-
404
|
|
437
|
-
405
|
|
438
|
-
406</pre>
|
|
439
|
-
</td>
|
|
440
|
-
<td>
|
|
441
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 402</span>
|
|
442
|
-
|
|
443
|
-
<span class='kw'>def</span> <span class='id to_9p'>to_9p</span>
|
|
444
|
-
<span class='id data'>data</span> <span class='op'>=</span> <span class='id type'>type</span><span class='period'>.</span><span class='id to_9p'>to_9p</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span> <span class='op'><<</span> <span class='kw'>super</span>
|
|
445
|
-
<span class='id size'>size</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id data'>data</span><span class='period'>.</span><span class='id length'>length</span> <span class='op'>+</span> <span class='int'>4</span><span class='rparen'>)</span><span class='period'>.</span><span class='id to_9p'>to_9p</span><span class='lparen'>(</span><span class='int'>4</span><span class='rparen'>)</span>
|
|
446
|
-
<span class='id size'>size</span> <span class='op'><<</span> <span class='id data'>data</span>
|
|
447
|
-
<span class='kw'>end</span></pre>
|
|
448
|
-
</td>
|
|
449
|
-
</tr>
|
|
450
|
-
</table>
|
|
451
|
-
</div>
|
|
452
|
-
|
|
453
|
-
<div class="method_details ">
|
|
454
|
-
<p class="signature " id="type-instance_method">
|
|
455
|
-
|
|
456
|
-
- (<tt><a href="../../Object.html" title="Object (class)">Object</a></tt>) <strong>type</strong>
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
</p><div class="docstring">
|
|
461
|
-
<div class="discussion">
|
|
462
|
-
<p>
|
|
463
|
-
Returns the value of the ‘type’ field for this fcall.
|
|
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
|
-
664
|
|
478
|
-
665
|
|
479
|
-
666</pre>
|
|
480
|
-
</td>
|
|
481
|
-
<td>
|
|
482
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 664</span>
|
|
483
|
-
|
|
484
|
-
<span class='kw'>def</span> <span class='id type'>type</span>
|
|
485
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id class'>class</span><span class='period'>.</span><span class='id type'>type</span>
|
|
486
|
-
<span class='kw'>end</span></pre>
|
|
487
|
-
</td>
|
|
488
|
-
</tr>
|
|
489
|
-
</table>
|
|
490
|
-
</div>
|
|
491
|
-
|
|
492
|
-
</div>
|
|
493
|
-
|
|
494
|
-
</div>
|
|
495
|
-
|
|
496
|
-
<div id="footer">
|
|
497
|
-
Generated on Thu Apr 1 00:30:59 2010 by
|
|
498
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
|
499
|
-
0.5.4 (ruby-1.9.1).
|
|
500
|
-
</div>
|
|
501
|
-
|
|
502
|
-
</body>
|
|
503
|
-
</html>
|