rumai 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +13 -23
- data/Rakefile +8 -58
- data/bin/rumai +21 -22
- data/doc/api/IO.html +53 -0
- data/doc/api/Integer.html +102 -0
- data/doc/api/Object.html +23 -0
- data/doc/api/Rumai.html +1218 -0
- data/doc/api/Rumai/Area.html +1088 -0
- data/doc/api/Rumai/Chain.html +230 -0
- data/doc/api/Rumai/Client.html +1264 -0
- data/doc/api/Rumai/ClientContainer.html +227 -0
- data/doc/api/Rumai/ExportInstMethods.html +115 -0
- data/doc/api/Rumai/IXP.html +23 -0
- data/doc/api/Rumai/IXP/Agent.html +1222 -0
- data/doc/api/Rumai/IXP/Agent/FidStream.html +602 -0
- data/doc/api/Rumai/IXP/Agent/RangedPool.html +263 -0
- data/doc/api/Rumai/IXP/Error.html +32 -0
- data/doc/api/Rumai/IXP/Fcall.html +398 -0
- data/doc/api/Rumai/IXP/Qid.html +99 -0
- data/doc/api/Rumai/IXP/Rattach.html +71 -0
- data/doc/api/Rumai/IXP/Rauth.html +71 -0
- data/doc/api/Rumai/IXP/Rclunk.html +71 -0
- data/doc/api/Rumai/IXP/Rcreate.html +71 -0
- data/doc/api/Rumai/IXP/Rerror.html +71 -0
- data/doc/api/Rumai/IXP/Rflush.html +71 -0
- data/doc/api/Rumai/IXP/Ropen.html +71 -0
- data/doc/api/Rumai/IXP/Rread.html +71 -0
- data/doc/api/Rumai/IXP/Rremove.html +71 -0
- data/doc/api/Rumai/IXP/Rstat.html +71 -0
- data/doc/api/Rumai/IXP/Rversion.html +71 -0
- data/doc/api/Rumai/IXP/Rwalk.html +71 -0
- data/doc/api/Rumai/IXP/Rwrite.html +71 -0
- data/doc/api/Rumai/IXP/Rwstat.html +71 -0
- data/doc/api/Rumai/IXP/Stat.html +188 -0
- data/doc/api/Rumai/IXP/Stream.html +112 -0
- data/doc/api/Rumai/IXP/Struct.html +348 -0
- data/doc/api/Rumai/IXP/Struct/ClassField.html +177 -0
- data/doc/api/Rumai/IXP/Struct/Field.html +549 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +175 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +95 -0
- data/doc/api/Rumai/IXP/Struct/Integer8Field.html +181 -0
- data/doc/api/Rumai/IXP/Struct/StringField.html +128 -0
- data/doc/api/Rumai/IXP/Tattach.html +71 -0
- data/doc/api/Rumai/IXP/Tauth.html +71 -0
- data/doc/api/Rumai/IXP/Tclunk.html +71 -0
- data/doc/api/Rumai/IXP/Tcreate.html +71 -0
- data/doc/api/Rumai/IXP/Terror.html +156 -0
- data/doc/api/Rumai/IXP/Tflush.html +71 -0
- data/doc/api/Rumai/IXP/Topen.html +113 -0
- data/doc/api/Rumai/IXP/Tread.html +71 -0
- data/doc/api/Rumai/IXP/Tremove.html +71 -0
- data/doc/api/Rumai/IXP/Tstat.html +71 -0
- data/doc/api/Rumai/IXP/Tversion.html +83 -0
- data/doc/api/Rumai/IXP/Twalk.html +71 -0
- data/doc/api/Rumai/IXP/Twrite.html +71 -0
- data/doc/api/Rumai/IXP/Twstat.html +71 -0
- data/doc/api/Rumai/Node.html +1139 -0
- data/doc/api/Rumai/View.html +1280 -0
- data/doc/api/Rumai/WidgetImpl.html +196 -0
- data/doc/api/Rumai/WidgetNode.html +184 -0
- data/doc/api/String.html +180 -0
- data/doc/api/StringIO.html +53 -0
- data/doc/api/Time.html +175 -0
- data/doc/api/all-methods.html +1436 -0
- data/doc/api/all-namespaces.html +140 -0
- data/doc/api/app.js +18 -0
- data/doc/api/index.html +16 -22
- data/doc/api/jquery.js +11 -0
- data/doc/api/readme.html +35 -0
- data/doc/api/style.css +68 -0
- data/doc/api/syntax_highlight.css +21 -0
- data/doc/history.erb +17 -0
- data/doc/index.erb +13 -0
- data/doc/index.xhtml +1235 -0
- data/doc/intro.erb +86 -0
- data/doc/setup.erb +55 -0
- data/doc/theory.erb +3 -0
- data/doc/usage.erb +285 -0
- data/lib/rumai.rb +10 -7
- data/lib/rumai/fs.rb +13 -15
- data/lib/rumai/ixp.rb +2 -7
- data/lib/rumai/ixp/message.rb +0 -3
- data/lib/rumai/ixp/transport.rb +1 -4
- data/lib/rumai/wm.rb +6 -6
- data/test/rumai/ixp/message.rb +249 -0
- metadata +104 -263
- data/README +0 -1
- data/doc/api/classes/IO.html +0 -120
- data/doc/api/classes/Integer.html +0 -142
- data/doc/api/classes/Integer.src/M000002.html +0 -18
- data/doc/api/classes/Object.html +0 -113
- data/doc/api/classes/Rumai.html +0 -530
- data/doc/api/classes/Rumai.src/M000007.html +0 -18
- data/doc/api/classes/Rumai.src/M000008.html +0 -18
- data/doc/api/classes/Rumai.src/M000009.html +0 -18
- data/doc/api/classes/Rumai.src/M000010.html +0 -18
- data/doc/api/classes/Rumai.src/M000011.html +0 -18
- data/doc/api/classes/Rumai.src/M000012.html +0 -18
- data/doc/api/classes/Rumai.src/M000013.html +0 -18
- data/doc/api/classes/Rumai.src/M000014.html +0 -20
- data/doc/api/classes/Rumai.src/M000015.html +0 -18
- data/doc/api/classes/Rumai.src/M000016.html +0 -18
- data/doc/api/classes/Rumai.src/M000017.html +0 -18
- data/doc/api/classes/Rumai.src/M000018.html +0 -18
- data/doc/api/classes/Rumai.src/M000019.html +0 -18
- data/doc/api/classes/Rumai.src/M000020.html +0 -18
- data/doc/api/classes/Rumai.src/M000021.html +0 -18
- data/doc/api/classes/Rumai.src/M000022.html +0 -18
- data/doc/api/classes/Rumai.src/M000023.html +0 -18
- data/doc/api/classes/Rumai.src/M000024.html +0 -18
- data/doc/api/classes/Rumai.src/M000025.html +0 -18
- data/doc/api/classes/Rumai.src/M000026.html +0 -18
- data/doc/api/classes/Rumai/Area.html +0 -461
- data/doc/api/classes/Rumai/Area.src/M000079.html +0 -19
- data/doc/api/classes/Rumai/Area.src/M000080.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000081.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000082.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000083.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000084.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000085.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000086.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000087.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000088.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000089.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000090.html +0 -22
- data/doc/api/classes/Rumai/Area.src/M000092.html +0 -23
- data/doc/api/classes/Rumai/Area.src/M000093.html +0 -28
- data/doc/api/classes/Rumai/Area.src/M000094.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000095.html +0 -31
- data/doc/api/classes/Rumai/Chain.html +0 -179
- data/doc/api/classes/Rumai/Chain.src/M000076.html +0 -18
- data/doc/api/classes/Rumai/Chain.src/M000077.html +0 -18
- data/doc/api/classes/Rumai/Chain.src/M000078.html +0 -18
- data/doc/api/classes/Rumai/Client.html +0 -481
- data/doc/api/classes/Rumai/Client.src/M000113.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000114.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000115.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000116.html +0 -39
- data/doc/api/classes/Rumai/Client.src/M000117.html +0 -19
- data/doc/api/classes/Rumai/Client.src/M000118.html +0 -19
- data/doc/api/classes/Rumai/Client.src/M000119.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000120.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000121.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000122.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000123.html +0 -19
- data/doc/api/classes/Rumai/Client.src/M000124.html +0 -20
- data/doc/api/classes/Rumai/Client.src/M000125.html +0 -20
- data/doc/api/classes/Rumai/Client.src/M000126.html +0 -22
- data/doc/api/classes/Rumai/Client.src/M000127.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000128.html +0 -20
- data/doc/api/classes/Rumai/Client.src/M000129.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000130.html +0 -22
- data/doc/api/classes/Rumai/ClientContainer.html +0 -180
- data/doc/api/classes/Rumai/ClientContainer.src/M000027.html +0 -18
- data/doc/api/classes/Rumai/ClientContainer.src/M000028.html +0 -18
- data/doc/api/classes/Rumai/ClientContainer.src/M000029.html +0 -18
- data/doc/api/classes/Rumai/ExportInstMethods.html +0 -119
- data/doc/api/classes/Rumai/IXP.html +0 -149
- data/doc/api/classes/Rumai/IXP/Agent.html +0 -447
- data/doc/api/classes/Rumai/IXP/Agent.src/M000044.html +0 -53
- data/doc/api/classes/Rumai/IXP/Agent.src/M000045.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent.src/M000046.html +0 -39
- data/doc/api/classes/Rumai/IXP/Agent.src/M000047.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000048.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent.src/M000049.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000050.html +0 -33
- data/doc/api/classes/Rumai/IXP/Agent.src/M000051.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent.src/M000052.html +0 -18
- data/doc/api/classes/Rumai/IXP/Agent.src/M000053.html +0 -21
- data/doc/api/classes/Rumai/IXP/Agent.src/M000054.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000055.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000056.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent.src/M000057.html +0 -23
- data/doc/api/classes/Rumai/IXP/Agent.src/M000058.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -312
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000060.html +0 -23
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000061.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000062.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000063.html +0 -18
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000064.html +0 -45
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000065.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -130
- data/doc/api/classes/Rumai/IXP/Agent/MODES.src/M000059.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -203
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000067.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000068.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000069.html +0 -18
- data/doc/api/classes/Rumai/IXP/Error.html +0 -117
- data/doc/api/classes/Rumai/IXP/Fcall.html +0 -261
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000070.html +0 -20
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000071.html +0 -25
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000072.html +0 -18
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000073.html +0 -18
- data/doc/api/classes/Rumai/IXP/Qid.html +0 -184
- data/doc/api/classes/Rumai/IXP/Rattach.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rauth.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rerror.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rflush.html +0 -119
- data/doc/api/classes/Rumai/IXP/Ropen.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rread.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rremove.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rstat.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rversion.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -119
- data/doc/api/classes/Rumai/IXP/Stat.html +0 -248
- data/doc/api/classes/Rumai/IXP/Stat.src/M000075.html +0 -18
- data/doc/api/classes/Rumai/IXP/Stream.html +0 -158
- data/doc/api/classes/Rumai/IXP/Stream.src/M000043.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct.html +0 -221
- data/doc/api/classes/Rumai/IXP/Struct.src/M000030.html +0 -19
- data/doc/api/classes/Rumai/IXP/Struct.src/M000031.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct.src/M000032.html +0 -20
- data/doc/api/classes/Rumai/IXP/Struct.src/M000033.html +0 -57
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -296
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000034.html +0 -21
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000035.html +0 -21
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000036.html +0 -20
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000037.html +0 -29
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000038.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000039.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -152
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000041.html +0 -24
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000042.html +0 -25
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -137
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.src/M000040.html +0 -18
- data/doc/api/classes/Rumai/IXP/Tattach.html +0 -120
- data/doc/api/classes/Rumai/IXP/Tauth.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -120
- data/doc/api/classes/Rumai/IXP/Terror.html +0 -145
- data/doc/api/classes/Rumai/IXP/Terror.src/M000074.html +0 -18
- data/doc/api/classes/Rumai/IXP/Tflush.html +0 -119
- data/doc/api/classes/Rumai/IXP/Topen.html +0 -193
- data/doc/api/classes/Rumai/IXP/Tread.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tremove.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tstat.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tversion.html +0 -137
- data/doc/api/classes/Rumai/IXP/Twalk.html +0 -120
- data/doc/api/classes/Rumai/IXP/Twrite.html +0 -120
- data/doc/api/classes/Rumai/IXP/Twstat.html +0 -119
- data/doc/api/classes/Rumai/Node.html +0 -461
- data/doc/api/classes/Rumai/Node.src/M000096.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000097.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000098.html +0 -22
- data/doc/api/classes/Rumai/Node.src/M000099.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000100.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000101.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000102.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000103.html +0 -22
- data/doc/api/classes/Rumai/Node.src/M000104.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000105.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000106.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000107.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000108.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000109.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000110.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000111.html +0 -20
- data/doc/api/classes/Rumai/Node.src/M000112.html +0 -27
- data/doc/api/classes/Rumai/View.html +0 -436
- data/doc/api/classes/Rumai/View.src/M000131.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000132.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000133.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000134.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000135.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000136.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000137.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000138.html +0 -28
- data/doc/api/classes/Rumai/View.src/M000139.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000140.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000141.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000142.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000143.html +0 -29
- data/doc/api/classes/Rumai/View.src/M000144.html +0 -20
- data/doc/api/classes/Rumai/View.src/M000145.html +0 -33
- data/doc/api/classes/Rumai/View.src/M000146.html +0 -50
- data/doc/api/classes/String.html +0 -169
- data/doc/api/classes/String.src/M000005.html +0 -18
- data/doc/api/classes/String.src/M000006.html +0 -18
- data/doc/api/classes/StringIO.html +0 -120
- data/doc/api/classes/Time.html +0 -163
- data/doc/api/classes/Time.src/M000003.html +0 -18
- data/doc/api/classes/Time.src/M000004.html +0 -18
- data/doc/api/created.rid +0 -1
- data/doc/api/files/lib/rumai/fs_rb.html +0 -115
- data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -120
- data/doc/api/files/lib/rumai/ixp/message_spec_rb.html +0 -175
- data/doc/api/files/lib/rumai/ixp/message_spec_rb.src/M000001.html +0 -37
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -115
- data/doc/api/files/lib/rumai/ixp_rb.html +0 -116
- data/doc/api/files/lib/rumai/nfo_rb.html +0 -107
- data/doc/api/files/lib/rumai/wm_rb.html +0 -115
- data/doc/api/files/lib/rumai_rb.html +0 -115
- data/doc/api/fr_class_index.html +0 -82
- data/doc/api/fr_file_index.html +0 -34
- data/doc/api/fr_method_index.html +0 -172
- data/doc/api/rdoc-style.css +0 -208
- data/doc/guide.erb +0 -390
- data/doc/guide.html +0 -2043
- data/lib/rumai/ixp/message_spec.rb +0 -247
- data/lib/rumai/nfo.rb +0 -24
@@ -0,0 +1,177 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../../../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: Rumai::IXP::Struct::ClassField</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Struct_ClassField">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Struct::ClassField</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../../Object.html" title="Object">Object</a></li><ul><li><a href="Field.html" title="Rumai::IXP::Struct::Field">Rumai::IXP::Struct::Field</a></li><ul><li>Rumai::IXP::Struct::ClassField</li>
|
20
|
+
</ul></ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
A field whose value knows how to convert itself to and from 9p.
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
|
28
|
+
</div><div class="section constructor">
|
29
|
+
<h1>Constructor Summary</h1>
|
30
|
+
<p class="inherited_msg">
|
31
|
+
This class inherits a constructor from <a href="Field.html#initialize-instance_method" title="Rumai::IXP::Struct::Field">Rumai::IXP::Struct::Field</a>.
|
32
|
+
</p>
|
33
|
+
</div> <div class="section visibilitygroup public">
|
34
|
+
<h1>Public Visibility</h1>
|
35
|
+
<div class="section methodsummary class public">
|
36
|
+
<div class="inherited">
|
37
|
+
|
38
|
+
<div>
|
39
|
+
<h1>Public Class Methods Inherited from <a href="Field.html" title="Rumai::IXP::Struct::Field">Rumai::IXP::Struct::Field</a></h1>
|
40
|
+
<p><span class='name'><a href="Field.html#factory-class_method" title="factory">factory</a></span></p>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
<div class="clear"></div>
|
45
|
+
</div>
|
46
|
+
<div class="section methodsummary instance public">
|
47
|
+
<h1>Public Instance Method Summary</h1>
|
48
|
+
<table class="summary">
|
49
|
+
|
50
|
+
<tr>
|
51
|
+
<th class="signature">
|
52
|
+
<span class='name'><a href="#value_from_9p-instance_method" title="#value_from_9p">#value_from_9p</a></span><span class='args'>(aStream)</span>
|
53
|
+
<span class='block'></span>
|
54
|
+
|
55
|
+
</th>
|
56
|
+
<td class="docstring">
|
57
|
+
|
58
|
+
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
|
62
|
+
<tr>
|
63
|
+
<th class="signature">
|
64
|
+
<span class='name'><a href="#value_to_9p-instance_method" title="#value_to_9p">#value_to_9p</a></span><span class='args'>(aValue)</span>
|
65
|
+
<span class='block'></span>
|
66
|
+
|
67
|
+
</th>
|
68
|
+
<td class="docstring">
|
69
|
+
|
70
|
+
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
|
74
|
+
</table><div class="inherited">
|
75
|
+
|
76
|
+
<div>
|
77
|
+
<h1>Public Instance Methods Inherited from <a href="Field.html" title="Rumai::IXP::Struct::Field">Rumai::IXP::Struct::Field</a></h1>
|
78
|
+
<p><span class='name'><a href="Field.html#countee-instance_method" title="countee">countee</a></span>, <span class='name'><a href="Field.html#counter-instance_method" title="counter">counter</a></span>, <span class='name'><a href="Field.html#load_9p-instance_method" title="load_9p">load_9p</a></span>, <span class='name'><a href="Field.html#to_9p-instance_method" title="to_9p">to_9p</a></span></p>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
<div class="clear"></div>
|
83
|
+
</div>
|
84
|
+
<div class="section methoddetails instance public">
|
85
|
+
<h1>Public Instance Method Details</h1>
|
86
|
+
|
87
|
+
<div class="method">
|
88
|
+
<div class="method_header">
|
89
|
+
<h3>value_from_9p</h3>
|
90
|
+
</div><div id="value_from_9p-instance_method" class="section method">
|
91
|
+
<div class="details_title">
|
92
|
+
<div class='section methodsignature'>
|
93
|
+
<tt class='def'>
|
94
|
+
<span class='visibility'>public</span>
|
95
|
+
<span class='return_types'></span>
|
96
|
+
<span class='name'>value_from_9p</span><span class='args'>(aStream)</span>
|
97
|
+
<span class='block'></span>
|
98
|
+
</tt>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
</div><div class="section source">
|
102
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
103
|
+
<div class="source_code">
|
104
|
+
<table>
|
105
|
+
<tr>
|
106
|
+
<td>
|
107
|
+
<pre class="lines">
|
108
|
+
|
109
|
+
|
110
|
+
220
|
111
|
+
221
|
112
|
+
222</pre>
|
113
|
+
</td>
|
114
|
+
<td>
|
115
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 220</span>
|
116
|
+
|
117
|
+
<span class='def def kw'>def</span> <span class='value_from_9p identifier id'>value_from_9p</span> <span class='aStream identifier id'>aStream</span>
|
118
|
+
<span class='@format ivar id'>@format</span><span class='dot token'>.</span><span class='from_9p identifier id'>from_9p</span> <span class='aStream identifier id'>aStream</span>
|
119
|
+
<span class='end end kw'>end</span>
|
120
|
+
</pre>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
</table>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div class="method">
|
130
|
+
<div class="method_header">
|
131
|
+
<h3>value_to_9p</h3>
|
132
|
+
</div><div id="value_to_9p-instance_method" class="section method">
|
133
|
+
<div class="details_title">
|
134
|
+
<div class='section methodsignature'>
|
135
|
+
<tt class='def'>
|
136
|
+
<span class='visibility'>public</span>
|
137
|
+
<span class='return_types'></span>
|
138
|
+
<span class='name'>value_to_9p</span><span class='args'>(aValue)</span>
|
139
|
+
<span class='block'></span>
|
140
|
+
</tt>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
</div><div class="section source">
|
144
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
145
|
+
<div class="source_code">
|
146
|
+
<table>
|
147
|
+
<tr>
|
148
|
+
<td>
|
149
|
+
<pre class="lines">
|
150
|
+
|
151
|
+
|
152
|
+
216
|
153
|
+
217
|
154
|
+
218</pre>
|
155
|
+
</td>
|
156
|
+
<td>
|
157
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 216</span>
|
158
|
+
|
159
|
+
<span class='def def kw'>def</span> <span class='value_to_9p identifier id'>value_to_9p</span> <span class='aValue identifier id'>aValue</span>
|
160
|
+
<span class='aValue identifier id'>aValue</span><span class='dot token'>.</span><span class='to_9p identifier id'>to_9p</span>
|
161
|
+
<span class='end end kw'>end</span>
|
162
|
+
</pre>
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
</table>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
</body>
|
177
|
+
</html>
|
@@ -0,0 +1,549 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../../../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: Rumai::IXP::Struct::Field</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Struct_Field">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Struct::Field</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../../Object.html" title="Object">Object</a></li><ul><li>Rumai::IXP::Struct::Field</li>
|
20
|
+
</ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
A field inside a Struct. A field’s value is considered to be:
|
24
|
+
</p>
|
25
|
+
<ul>
|
26
|
+
<li>array of format when <tt>counter && format.is_a? Class</tt>
|
27
|
+
|
28
|
+
</li>
|
29
|
+
<li>raw byte string when <tt>counter && format.nil?</tt>
|
30
|
+
|
31
|
+
</li>
|
32
|
+
</ul>
|
33
|
+
|
34
|
+
</div><div class="section attributes">
|
35
|
+
<h1>Attributes</h1>
|
36
|
+
|
37
|
+
|
38
|
+
<div class="instance">
|
39
|
+
<h2>Instance Attributes</h2>
|
40
|
+
<table>
|
41
|
+
|
42
|
+
<tr>
|
43
|
+
<th class="name">countee</td>
|
44
|
+
<td class="readwrite">
|
45
|
+
[RW]
|
46
|
+
</td>
|
47
|
+
<td class="visibility">
|
48
|
+
public
|
49
|
+
</td>
|
50
|
+
<td class="docstring">
|
51
|
+
<p>
|
52
|
+
Sets the countee for this field (implying that this field counts the length
|
53
|
+
of the given field).
|
54
|
+
</p>
|
55
|
+
|
56
|
+
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
|
60
|
+
<tr>
|
61
|
+
<th class="name">counter</td>
|
62
|
+
<td class="readwrite">
|
63
|
+
[RW]
|
64
|
+
</td>
|
65
|
+
<td class="visibility">
|
66
|
+
public
|
67
|
+
</td>
|
68
|
+
<td class="docstring">
|
69
|
+
<p>
|
70
|
+
Sets the counter for this field (implying that the length of this field is
|
71
|
+
counted by the given field).
|
72
|
+
</p>
|
73
|
+
|
74
|
+
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
|
78
|
+
<tr>
|
79
|
+
<th class="name">format</td>
|
80
|
+
<td class="readwrite">
|
81
|
+
[<span id='format-instance_method'>R</span>W]
|
82
|
+
</td>
|
83
|
+
<td class="visibility">
|
84
|
+
public
|
85
|
+
</td>
|
86
|
+
<td class="docstring">
|
87
|
+
<p>
|
88
|
+
Returns the value of attribute <tt>format</tt>.
|
89
|
+
</p>
|
90
|
+
|
91
|
+
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
|
95
|
+
<tr>
|
96
|
+
<th class="name">name</td>
|
97
|
+
<td class="readwrite">
|
98
|
+
[<span id='name-instance_method'>R</span>W]
|
99
|
+
</td>
|
100
|
+
<td class="visibility">
|
101
|
+
public
|
102
|
+
</td>
|
103
|
+
<td class="docstring">
|
104
|
+
<p>
|
105
|
+
Returns the value of attribute <tt>name</tt>.
|
106
|
+
</p>
|
107
|
+
|
108
|
+
|
109
|
+
</td>
|
110
|
+
</tr>
|
111
|
+
|
112
|
+
</table>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div><div class="section constants">
|
116
|
+
|
117
|
+
</div><div class="section constructor">
|
118
|
+
<h1>Constructor Summary</h1>
|
119
|
+
<div id="initialize-instance_method" class="section method">
|
120
|
+
<div class="details_title">
|
121
|
+
<div class='section methodsignature'>
|
122
|
+
<tt class='def'>
|
123
|
+
<span class='visibility'>public</span>
|
124
|
+
<span class='return_types'></span>
|
125
|
+
<span class='name'>initialize</span><span class='args'>(aName, aFormat = nil, aCounter = nil)</span>
|
126
|
+
<span class='block'></span>
|
127
|
+
</tt>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
</div><div class="section docstring">
|
131
|
+
<table>
|
132
|
+
<tr><td valign="top">aName:</td><td>unique (among all fields in a struct) name for the field
|
133
|
+
|
134
|
+
</td></tr>
|
135
|
+
<tr><td valign="top">aFormat:</td><td>number of bytes, a class, or nil
|
136
|
+
|
137
|
+
</td></tr>
|
138
|
+
<tr><td valign="top">aCounter:</td><td>field which counts the length of this field’s value
|
139
|
+
|
140
|
+
</td></tr>
|
141
|
+
</table>
|
142
|
+
|
143
|
+
</div><div class="section source">
|
144
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
145
|
+
<div class="source_code">
|
146
|
+
<table>
|
147
|
+
<tr>
|
148
|
+
<td>
|
149
|
+
<pre class="lines">
|
150
|
+
|
151
|
+
|
152
|
+
117
|
153
|
+
118
|
154
|
+
119
|
155
|
+
120
|
156
|
+
121
|
157
|
+
122</pre>
|
158
|
+
</td>
|
159
|
+
<td>
|
160
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 117</span>
|
161
|
+
|
162
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span> <span class='aName identifier id'>aName</span><span class='comma token'>,</span> <span class='aFormat identifier id'>aFormat</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='aCounter identifier id'>aCounter</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
|
163
|
+
<span class='@name ivar id'>@name</span> <span class='assign token'>=</span> <span class='aName identifier id'>aName</span>
|
164
|
+
<span class='@format ivar id'>@format</span> <span class='assign token'>=</span> <span class='aFormat identifier id'>aFormat</span>
|
165
|
+
<span class='@countee ivar id'>@countee</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
|
166
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='counter identifier id'>counter</span> <span class='assign token'>=</span> <span class='aCounter identifier id'>aCounter</span>
|
167
|
+
<span class='end end kw'>end</span>
|
168
|
+
</pre>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
</table>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
</div> <div class="section visibilitygroup public">
|
176
|
+
<h1>Public Visibility</h1>
|
177
|
+
<div class="section methodsummary class public">
|
178
|
+
<h1>Public Class Method Summary</h1>
|
179
|
+
<table class="summary">
|
180
|
+
|
181
|
+
<tr>
|
182
|
+
<th class="signature">
|
183
|
+
<span class='name'><a href="#factory-class_method" title="factory">factory</a></span><span class='args'>(aFormat)</span>
|
184
|
+
<span class='block'></span>
|
185
|
+
|
186
|
+
</th>
|
187
|
+
<td class="docstring">
|
188
|
+
<p>
|
189
|
+
Returns a Field class that best represents the given format.
|
190
|
+
</p>
|
191
|
+
|
192
|
+
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
|
196
|
+
</table>
|
197
|
+
</div>
|
198
|
+
<div class="section methodsummary instance public">
|
199
|
+
<h1>Public Instance Method Summary</h1>
|
200
|
+
<table class="summary">
|
201
|
+
|
202
|
+
<tr>
|
203
|
+
<th class="signature">
|
204
|
+
<span class='name'><a href="#countee-instance_method" title="#countee">#countee</a></span><span class='args'></span>
|
205
|
+
<span class='block'></span>
|
206
|
+
|
207
|
+
</th>
|
208
|
+
<td class="docstring">
|
209
|
+
<p>
|
210
|
+
Sets the countee for this field (implying that this field counts the length
|
211
|
+
of the given field)..
|
212
|
+
</p>
|
213
|
+
|
214
|
+
|
215
|
+
</td>
|
216
|
+
</tr>
|
217
|
+
|
218
|
+
<tr>
|
219
|
+
<th class="signature">
|
220
|
+
<span class='name'><a href="#counter-instance_method" title="#counter">#counter</a></span><span class='args'></span>
|
221
|
+
<span class='block'></span>
|
222
|
+
|
223
|
+
</th>
|
224
|
+
<td class="docstring">
|
225
|
+
<p>
|
226
|
+
Sets the counter for this field (implying that the length of this field is
|
227
|
+
counted by the given field)..
|
228
|
+
</p>
|
229
|
+
|
230
|
+
|
231
|
+
</td>
|
232
|
+
</tr>
|
233
|
+
|
234
|
+
<tr>
|
235
|
+
<th class="signature">
|
236
|
+
<span class='name'><a href="#load_9p-instance_method" title="#load_9p">#load_9p</a></span><span class='args'>(aStream, aFieldValues)</span>
|
237
|
+
<span class='block'></span>
|
238
|
+
|
239
|
+
</th>
|
240
|
+
<td class="docstring">
|
241
|
+
<p>
|
242
|
+
Populates this object with information taken from the given 9P2000 byte
|
243
|
+
stream.
|
244
|
+
</p>
|
245
|
+
|
246
|
+
|
247
|
+
</td>
|
248
|
+
</tr>
|
249
|
+
|
250
|
+
<tr>
|
251
|
+
<th class="signature">
|
252
|
+
<span class='name'><a href="#to_9p-instance_method" title="#to_9p">#to_9p</a></span><span class='args'>(aFieldValues)</span>
|
253
|
+
<span class='block'></span>
|
254
|
+
|
255
|
+
</th>
|
256
|
+
<td class="docstring">
|
257
|
+
<p>
|
258
|
+
Transforms this object into a string of 9P2000 bytes.
|
259
|
+
</p>
|
260
|
+
|
261
|
+
|
262
|
+
</td>
|
263
|
+
</tr>
|
264
|
+
|
265
|
+
</table>
|
266
|
+
</div>
|
267
|
+
<div class="section methoddetails class public">
|
268
|
+
<h1>Public Class Method Details</h1>
|
269
|
+
|
270
|
+
<div class="method">
|
271
|
+
<div class="method_header">
|
272
|
+
<h3>factory</h3>
|
273
|
+
</div><div id="factory-class_method" class="section method">
|
274
|
+
<div class="details_title">
|
275
|
+
<div class='section methodsignature'>
|
276
|
+
<tt class='def'>
|
277
|
+
<span class='visibility'>public</span>
|
278
|
+
<span class='return_types'></span>
|
279
|
+
<span class='name'>factory</span><span class='args'>(aFormat)</span>
|
280
|
+
<span class='block'></span>
|
281
|
+
</tt>
|
282
|
+
</div>
|
283
|
+
|
284
|
+
</div><div class="section docstring">
|
285
|
+
<p>
|
286
|
+
Returns a Field class that best represents the given format.
|
287
|
+
</p>
|
288
|
+
|
289
|
+
</div><div class="section source">
|
290
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
291
|
+
<div class="source_code">
|
292
|
+
<table>
|
293
|
+
<tr>
|
294
|
+
<td>
|
295
|
+
<pre class="lines">
|
296
|
+
|
297
|
+
|
298
|
+
142
|
299
|
+
143
|
300
|
+
144
|
301
|
+
145
|
302
|
+
146
|
303
|
+
147
|
304
|
+
148
|
305
|
+
149
|
306
|
+
150
|
307
|
+
151
|
308
|
+
152
|
309
|
+
153
|
310
|
+
154
|
311
|
+
155</pre>
|
312
|
+
</td>
|
313
|
+
<td>
|
314
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 142</span>
|
315
|
+
|
316
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='factory identifier id'>factory</span> <span class='aFormat identifier id'>aFormat</span>
|
317
|
+
<span class='if if kw'>if</span> <span class='aFormat identifier id'>aFormat</span> <span class='eq op'>==</span> <span class='String constant id'>String</span>
|
318
|
+
<span class='StringField constant id'>StringField</span>
|
319
|
+
|
320
|
+
<span class='elsif elsif kw'>elsif</span> <span class='aFormat identifier id'>aFormat</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span> <span class='Class constant id'>Class</span>
|
321
|
+
<span class='ClassField constant id'>ClassField</span>
|
322
|
+
|
323
|
+
<span class='elsif elsif kw'>elsif</span> <span class='aFormat identifier id'>aFormat</span> <span class='eq op'>==</span> <span class='integer val'>8</span>
|
324
|
+
<span class='Integer8Field constant id'>Integer8Field</span>
|
325
|
+
|
326
|
+
<span class='else else kw'>else</span>
|
327
|
+
<span class='Field constant id'>Field</span>
|
328
|
+
<span class='end end kw'>end</span>
|
329
|
+
<span class='end end kw'>end</span>
|
330
|
+
</pre>
|
331
|
+
</td>
|
332
|
+
</tr>
|
333
|
+
</table>
|
334
|
+
</div>
|
335
|
+
</div>
|
336
|
+
</div>
|
337
|
+
</div>
|
338
|
+
|
339
|
+
</div><div class="section methoddetails instance public">
|
340
|
+
<h1>Public Instance Method Details</h1>
|
341
|
+
|
342
|
+
<div class="method">
|
343
|
+
<div class="method_header">
|
344
|
+
<h3>countee</h3>
|
345
|
+
</div><div id="countee-instance_method" class="section method">
|
346
|
+
<div class="details_title">
|
347
|
+
<div class='section methodsignature'>
|
348
|
+
<tt class='def'>
|
349
|
+
<span class='visibility'>public</span>
|
350
|
+
<span class='return_types'></span>
|
351
|
+
<span class='name'>countee</span><span class='args'></span>
|
352
|
+
<span class='block'></span>
|
353
|
+
</tt>
|
354
|
+
</div>
|
355
|
+
|
356
|
+
</div><div class="section docstring">
|
357
|
+
<p>
|
358
|
+
Sets the countee for this field (implying that this field counts the length
|
359
|
+
of the given field).
|
360
|
+
</p>
|
361
|
+
|
362
|
+
</div><div class="section source">
|
363
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
364
|
+
<div class="source_code">
|
365
|
+
<table>
|
366
|
+
<tr>
|
367
|
+
<td>
|
368
|
+
<pre class="lines">
|
369
|
+
|
370
|
+
|
371
|
+
135
|
372
|
+
136
|
373
|
+
137
|
374
|
+
138
|
375
|
+
139</pre>
|
376
|
+
</td>
|
377
|
+
<td>
|
378
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 135</span>
|
379
|
+
|
380
|
+
<span class='def def kw'>def</span> <span class='countee= identifier id'>countee=</span> <span class='aField identifier id'>aField</span>
|
381
|
+
<span class='if if kw'>if</span> <span class='@countee ivar id'>@countee</span> <span class='assign token'>=</span> <span class='aField identifier id'>aField</span>
|
382
|
+
<span class='extend identifier id'>extend</span> <span class='CounterField constant id'>CounterField</span>
|
383
|
+
<span class='end end kw'>end</span>
|
384
|
+
<span class='end end kw'>end</span>
|
385
|
+
</pre>
|
386
|
+
</td>
|
387
|
+
</tr>
|
388
|
+
</table>
|
389
|
+
</div>
|
390
|
+
</div>
|
391
|
+
</div>
|
392
|
+
</div>
|
393
|
+
|
394
|
+
<div class="method">
|
395
|
+
<div class="method_header">
|
396
|
+
<h3>counter</h3>
|
397
|
+
</div><div id="counter-instance_method" class="section method">
|
398
|
+
<div class="details_title">
|
399
|
+
<div class='section methodsignature'>
|
400
|
+
<tt class='def'>
|
401
|
+
<span class='visibility'>public</span>
|
402
|
+
<span class='return_types'></span>
|
403
|
+
<span class='name'>counter</span><span class='args'></span>
|
404
|
+
<span class='block'></span>
|
405
|
+
</tt>
|
406
|
+
</div>
|
407
|
+
|
408
|
+
</div><div class="section docstring">
|
409
|
+
<p>
|
410
|
+
Sets the counter for this field (implying that the length of this field is
|
411
|
+
counted by the given field).
|
412
|
+
</p>
|
413
|
+
|
414
|
+
</div><div class="section source">
|
415
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
416
|
+
<div class="source_code">
|
417
|
+
<table>
|
418
|
+
<tr>
|
419
|
+
<td>
|
420
|
+
<pre class="lines">
|
421
|
+
|
422
|
+
|
423
|
+
126
|
424
|
+
127
|
425
|
+
128
|
426
|
+
129
|
427
|
+
130
|
428
|
+
131</pre>
|
429
|
+
</td>
|
430
|
+
<td>
|
431
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 126</span>
|
432
|
+
|
433
|
+
<span class='def def kw'>def</span> <span class='counter= identifier id'>counter=</span> <span class='aField identifier id'>aField</span>
|
434
|
+
<span class='if if kw'>if</span> <span class='@counter ivar id'>@counter</span> <span class='assign token'>=</span> <span class='aField identifier id'>aField</span>
|
435
|
+
<span class='extend identifier id'>extend</span> <span class='CounteeField constant id'>CounteeField</span>
|
436
|
+
<span class='@counter ivar id'>@counter</span><span class='dot token'>.</span><span class='countee identifier id'>countee</span> <span class='assign token'>=</span> <span class='self self kw'>self</span>
|
437
|
+
<span class='end end kw'>end</span>
|
438
|
+
<span class='end end kw'>end</span>
|
439
|
+
</pre>
|
440
|
+
</td>
|
441
|
+
</tr>
|
442
|
+
</table>
|
443
|
+
</div>
|
444
|
+
</div>
|
445
|
+
</div>
|
446
|
+
</div>
|
447
|
+
|
448
|
+
<div class="method">
|
449
|
+
<div class="method_header">
|
450
|
+
<h3>load_9p</h3>
|
451
|
+
</div><div id="load_9p-instance_method" class="section method">
|
452
|
+
<div class="details_title">
|
453
|
+
<div class='section methodsignature'>
|
454
|
+
<tt class='def'>
|
455
|
+
<span class='visibility'>public</span>
|
456
|
+
<span class='return_types'></span>
|
457
|
+
<span class='name'>load_9p</span><span class='args'>(aStream, aFieldValues)</span>
|
458
|
+
<span class='block'></span>
|
459
|
+
</tt>
|
460
|
+
</div>
|
461
|
+
|
462
|
+
</div><div class="section docstring">
|
463
|
+
<p>
|
464
|
+
Populates this object with information taken from the given 9P2000 byte
|
465
|
+
stream.
|
466
|
+
</p>
|
467
|
+
|
468
|
+
</div><div class="section source">
|
469
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
470
|
+
<div class="source_code">
|
471
|
+
<table>
|
472
|
+
<tr>
|
473
|
+
<td>
|
474
|
+
<pre class="lines">
|
475
|
+
|
476
|
+
|
477
|
+
164
|
478
|
+
165
|
479
|
+
166</pre>
|
480
|
+
</td>
|
481
|
+
<td>
|
482
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 164</span>
|
483
|
+
|
484
|
+
<span class='def def kw'>def</span> <span class='load_9p identifier id'>load_9p</span> <span class='aStream identifier id'>aStream</span><span class='comma token'>,</span> <span class='aFieldValues identifier id'>aFieldValues</span>
|
485
|
+
<span class='aFieldValues identifier id'>aFieldValues</span><span class='lbrack token'>[</span><span class='@name ivar id'>@name</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='value_from_9p identifier id'>value_from_9p</span> <span class='aStream identifier id'>aStream</span>
|
486
|
+
<span class='end end kw'>end</span>
|
487
|
+
</pre>
|
488
|
+
</td>
|
489
|
+
</tr>
|
490
|
+
</table>
|
491
|
+
</div>
|
492
|
+
</div>
|
493
|
+
</div>
|
494
|
+
</div>
|
495
|
+
|
496
|
+
<div class="method">
|
497
|
+
<div class="method_header">
|
498
|
+
<h3>to_9p</h3>
|
499
|
+
</div><div id="to_9p-instance_method" class="section method">
|
500
|
+
<div class="details_title">
|
501
|
+
<div class='section methodsignature'>
|
502
|
+
<tt class='def'>
|
503
|
+
<span class='visibility'>public</span>
|
504
|
+
<span class='return_types'></span>
|
505
|
+
<span class='name'>to_9p</span><span class='args'>(aFieldValues)</span>
|
506
|
+
<span class='block'></span>
|
507
|
+
</tt>
|
508
|
+
</div>
|
509
|
+
|
510
|
+
</div><div class="section docstring">
|
511
|
+
<p>
|
512
|
+
Transforms this object into a string of 9P2000 bytes.
|
513
|
+
</p>
|
514
|
+
|
515
|
+
</div><div class="section source">
|
516
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
517
|
+
<div class="source_code">
|
518
|
+
<table>
|
519
|
+
<tr>
|
520
|
+
<td>
|
521
|
+
<pre class="lines">
|
522
|
+
|
523
|
+
|
524
|
+
158
|
525
|
+
159
|
526
|
+
160</pre>
|
527
|
+
</td>
|
528
|
+
<td>
|
529
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 158</span>
|
530
|
+
|
531
|
+
<span class='def def kw'>def</span> <span class='to_9p identifier id'>to_9p</span> <span class='aFieldValues identifier id'>aFieldValues</span>
|
532
|
+
<span class='value_to_9p identifier id'>value_to_9p</span> <span class='aFieldValues identifier id'>aFieldValues</span><span class='lbrack token'>[</span><span class='@name ivar id'>@name</span><span class='rbrack token'>]</span>
|
533
|
+
<span class='end end kw'>end</span>
|
534
|
+
</pre>
|
535
|
+
</td>
|
536
|
+
</tr>
|
537
|
+
</table>
|
538
|
+
</div>
|
539
|
+
</div>
|
540
|
+
</div>
|
541
|
+
</div>
|
542
|
+
|
543
|
+
</div>
|
544
|
+
</div>
|
545
|
+
|
546
|
+
</div>
|
547
|
+
</div>
|
548
|
+
</body>
|
549
|
+
</html>
|