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,175 @@
|
|
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>Module: Rumai::IXP::Struct::Field::CounteeField</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section module Rumai_IXP_Struct_Field_CounteeField">
|
16
|
+
<h1 class="title">Module: Rumai::IXP::Struct::Field::CounteeField</h1>
|
17
|
+
<div class="section docstring">
|
18
|
+
<p>
|
19
|
+
Methods for a field whose length is counted by another field.
|
20
|
+
</p>
|
21
|
+
|
22
|
+
</div><div class="section constants">
|
23
|
+
|
24
|
+
</div> <div class="section visibilitygroup public">
|
25
|
+
<h1>Public Visibility</h1>
|
26
|
+
<div class="section methodsummary instance public">
|
27
|
+
<h1>Public Instance Method Summary</h1>
|
28
|
+
<table class="summary">
|
29
|
+
|
30
|
+
<tr>
|
31
|
+
<th class="signature">
|
32
|
+
<span class='name'><a href="#load_9p-instance_method" title="#load_9p">#load_9p</a></span><span class='args'>(aStream, aFieldValues)</span>
|
33
|
+
<span class='block'></span>
|
34
|
+
|
35
|
+
</th>
|
36
|
+
<td class="docstring">
|
37
|
+
|
38
|
+
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
|
42
|
+
<tr>
|
43
|
+
<th class="signature">
|
44
|
+
<span class='name'><a href="#to_9p-instance_method" title="#to_9p">#to_9p</a></span><span class='args'>(aFieldValues)</span>
|
45
|
+
<span class='block'></span>
|
46
|
+
|
47
|
+
</th>
|
48
|
+
<td class="docstring">
|
49
|
+
|
50
|
+
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
|
54
|
+
</table>
|
55
|
+
</div>
|
56
|
+
<div class="section methoddetails instance public">
|
57
|
+
<h1>Public Instance Method Details</h1>
|
58
|
+
|
59
|
+
<div class="method">
|
60
|
+
<div class="method_header">
|
61
|
+
<h3>load_9p</h3>
|
62
|
+
</div><div id="load_9p-instance_method" class="section method">
|
63
|
+
<div class="details_title">
|
64
|
+
<div class='section methodsignature'>
|
65
|
+
<tt class='def'>
|
66
|
+
<span class='visibility'>public</span>
|
67
|
+
<span class='return_types'></span>
|
68
|
+
<span class='name'>load_9p</span><span class='args'>(aStream, aFieldValues)</span>
|
69
|
+
<span class='block'></span>
|
70
|
+
</tt>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
</div><div class="section source">
|
74
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
75
|
+
<div class="source_code">
|
76
|
+
<table>
|
77
|
+
<tr>
|
78
|
+
<td>
|
79
|
+
<pre class="lines">
|
80
|
+
|
81
|
+
|
82
|
+
201
|
83
|
+
202
|
84
|
+
203
|
85
|
+
204
|
86
|
+
205
|
87
|
+
206
|
88
|
+
207
|
89
|
+
208
|
90
|
+
209
|
91
|
+
210</pre>
|
92
|
+
</td>
|
93
|
+
<td>
|
94
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 201</span>
|
95
|
+
|
96
|
+
<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>
|
97
|
+
<span class='count identifier id'>count</span> <span class='assign token'>=</span> <span class='aFieldValues identifier id'>aFieldValues</span><span class='lbrack token'>[</span><span class='@counter ivar id'>@counter</span><span class='dot token'>.</span><span class='name identifier id'>name</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span>
|
98
|
+
|
99
|
+
<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>
|
100
|
+
<span class='if if kw'>if</span> <span class='@format ivar id'>@format</span>
|
101
|
+
<span class='Array constant id'>Array</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='count identifier id'>count</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span> <span class='value_from_9p identifier id'>value_from_9p</span> <span class='aStream identifier id'>aStream</span> <span class='rbrace token'>}</span>
|
102
|
+
<span class='else else kw'>else</span>
|
103
|
+
<span class='aStream identifier id'>aStream</span><span class='dot token'>.</span><span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='count identifier id'>count</span><span class='rparen token'>)</span> <span class='comment val'># raw byte sequence</span>
|
104
|
+
<span class='end end kw'>end</span>
|
105
|
+
<span class='end end kw'>end</span>
|
106
|
+
</pre>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
</table>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div class="method">
|
116
|
+
<div class="method_header">
|
117
|
+
<h3>to_9p</h3>
|
118
|
+
</div><div id="to_9p-instance_method" class="section method">
|
119
|
+
<div class="details_title">
|
120
|
+
<div class='section methodsignature'>
|
121
|
+
<tt class='def'>
|
122
|
+
<span class='visibility'>public</span>
|
123
|
+
<span class='return_types'></span>
|
124
|
+
<span class='name'>to_9p</span><span class='args'>(aFieldValues)</span>
|
125
|
+
<span class='block'></span>
|
126
|
+
</tt>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
</div><div class="section source">
|
130
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
131
|
+
<div class="source_code">
|
132
|
+
<table>
|
133
|
+
<tr>
|
134
|
+
<td>
|
135
|
+
<pre class="lines">
|
136
|
+
|
137
|
+
|
138
|
+
191
|
139
|
+
192
|
140
|
+
193
|
141
|
+
194
|
142
|
+
195
|
143
|
+
196
|
144
|
+
197
|
145
|
+
198
|
146
|
+
199</pre>
|
147
|
+
</td>
|
148
|
+
<td>
|
149
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 191</span>
|
150
|
+
|
151
|
+
<span class='def def kw'>def</span> <span class='to_9p identifier id'>to_9p</span> <span class='aFieldValues identifier id'>aFieldValues</span>
|
152
|
+
<span class='value identifier id'>value</span> <span class='assign token'>=</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>
|
153
|
+
|
154
|
+
<span class='if if kw'>if</span> <span class='@format ivar id'>@format</span>
|
155
|
+
<span class='value identifier id'>value</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='v identifier id'>v</span><span class='bitor op'>|</span> <span class='value_to_9p identifier id'>value_to_9p</span> <span class='v identifier id'>v</span><span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span>
|
156
|
+
<span class='else else kw'>else</span>
|
157
|
+
<span class='value identifier id'>value</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='comment val'># raw byte sequence</span>
|
158
|
+
<span class='end end kw'>end</span>
|
159
|
+
<span class='end end kw'>end</span>
|
160
|
+
</pre>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
</table>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</body>
|
175
|
+
</html>
|
@@ -0,0 +1,95 @@
|
|
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>Module: Rumai::IXP::Struct::Field::CounterField</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section module Rumai_IXP_Struct_Field_CounterField">
|
16
|
+
<h1 class="title">Module: Rumai::IXP::Struct::Field::CounterField</h1>
|
17
|
+
<div class="section docstring">
|
18
|
+
<p>
|
19
|
+
Methods for a field that counts the length of another field.
|
20
|
+
</p>
|
21
|
+
|
22
|
+
</div><div class="section constants">
|
23
|
+
|
24
|
+
</div> <div class="section visibilitygroup public">
|
25
|
+
<h1>Public Visibility</h1>
|
26
|
+
<div class="section methodsummary instance public">
|
27
|
+
<h1>Public Instance Method Summary</h1>
|
28
|
+
<table class="summary">
|
29
|
+
|
30
|
+
<tr>
|
31
|
+
<th class="signature">
|
32
|
+
<span class='name'><a href="#to_9p-instance_method" title="#to_9p">#to_9p</a></span><span class='args'>(aFieldValues)</span>
|
33
|
+
<span class='block'></span>
|
34
|
+
|
35
|
+
</th>
|
36
|
+
<td class="docstring">
|
37
|
+
|
38
|
+
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
|
42
|
+
</table>
|
43
|
+
</div>
|
44
|
+
<div class="section methoddetails instance public">
|
45
|
+
<h1>Public Instance Method Details</h1>
|
46
|
+
|
47
|
+
<div class="method">
|
48
|
+
<div class="method_header">
|
49
|
+
<h3>to_9p</h3>
|
50
|
+
</div><div id="to_9p-instance_method" class="section method">
|
51
|
+
<div class="details_title">
|
52
|
+
<div class='section methodsignature'>
|
53
|
+
<tt class='def'>
|
54
|
+
<span class='visibility'>public</span>
|
55
|
+
<span class='return_types'></span>
|
56
|
+
<span class='name'>to_9p</span><span class='args'>(aFieldValues)</span>
|
57
|
+
<span class='block'></span>
|
58
|
+
</tt>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
</div><div class="section source">
|
62
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
63
|
+
<div class="source_code">
|
64
|
+
<table>
|
65
|
+
<tr>
|
66
|
+
<td>
|
67
|
+
<pre class="lines">
|
68
|
+
|
69
|
+
|
70
|
+
184
|
71
|
+
185
|
72
|
+
186</pre>
|
73
|
+
</td>
|
74
|
+
<td>
|
75
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 184</span>
|
76
|
+
|
77
|
+
<span class='def def kw'>def</span> <span class='to_9p identifier id'>to_9p</span> <span class='aFieldValues identifier id'>aFieldValues</span>
|
78
|
+
<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='@countee ivar id'>@countee</span><span class='dot token'>.</span><span class='name identifier id'>name</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='length identifier id'>length</span>
|
79
|
+
<span class='end end kw'>end</span>
|
80
|
+
</pre>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
</table>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
</body>
|
95
|
+
</html>
|
@@ -0,0 +1,181 @@
|
|
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::Integer8Field</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Struct_Integer8Field">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Struct::Integer8Field</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::Integer8Field</li>
|
20
|
+
</ul></ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
A field whose value is a 8-byte integer.
|
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
|
+
240
|
111
|
+
241
|
112
|
+
242</pre>
|
113
|
+
</td>
|
114
|
+
<td>
|
115
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 240</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='aStream identifier id'>aStream</span><span class='dot token'>.</span><span class='read_9p identifier id'>read_9p</span><span class='lparen token'>(</span><span class='integer val'>4</span><span class='rparen token'>)</span> <span class='bitor op'>|</span> <span class='lparen token'>(</span><span class='aStream identifier id'>aStream</span><span class='dot token'>.</span><span class='read_9p identifier id'>read_9p</span><span class='lparen token'>(</span><span class='integer val'>4</span><span class='rparen token'>)</span> <span class='lshft op'><<</span> <span class='BYTE4_BITS constant id'>BYTE4_BITS</span><span class='rparen token'>)</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
|
+
234
|
153
|
+
235
|
154
|
+
236
|
155
|
+
237
|
156
|
+
238</pre>
|
157
|
+
</td>
|
158
|
+
<td>
|
159
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 234</span>
|
160
|
+
|
161
|
+
<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>
|
162
|
+
<span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='aValue identifier id'>aValue</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span>
|
163
|
+
<span class='lparen token'>(</span><span class='BYTE4_MASK constant id'>BYTE4_MASK</span> <span class='bitand op'>&</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_9p identifier id'>to_9p</span><span class='lparen token'>(</span><span class='integer val'>4</span><span class='rparen token'>)</span> <span class='lshft op'><<</span> <span class='comment val'># lower bytes</span>
|
164
|
+
<span class='lparen token'>(</span><span class='BYTE4_MASK constant id'>BYTE4_MASK</span> <span class='bitand op'>&</span> <span class='lparen token'>(</span><span class='v identifier id'>v</span> <span class='rshft op'>>></span> <span class='BYTE4_BITS constant id'>BYTE4_BITS</span><span class='rparen token'>)</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_9p identifier id'>to_9p</span><span class='lparen token'>(</span><span class='integer val'>4</span><span class='rparen token'>)</span> <span class='comment val'># higher bytes</span>
|
165
|
+
<span class='end end kw'>end</span>
|
166
|
+
</pre>
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
</table>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
</body>
|
181
|
+
</html>
|