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,263 @@
|
|
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::Agent::RangedPool</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Agent_RangedPool">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Agent::RangedPool</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../../Object.html" title="Object">Object</a></li><ul><li>Rumai::IXP::Agent::RangedPool</li>
|
20
|
+
</ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
A finite, thread-safe pool of range members.
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
<div class="thisclass">
|
28
|
+
<h1>Constants</h1>
|
29
|
+
<dl>
|
30
|
+
|
31
|
+
<dt id="FILL_RATE-constant">FILL_RATE</dt>
|
32
|
+
<dd>10</dd>
|
33
|
+
|
34
|
+
</dl>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
</div><div class="section constructor">
|
38
|
+
<h1>Constructor Summary</h1>
|
39
|
+
<div id="initialize-instance_method" class="section method">
|
40
|
+
<div class="details_title">
|
41
|
+
<div class='section methodsignature'>
|
42
|
+
<tt class='def'>
|
43
|
+
<span class='visibility'>public</span>
|
44
|
+
<span class='return_types'></span>
|
45
|
+
<span class='name'>initialize</span><span class='args'>(aRange)</span>
|
46
|
+
<span class='block'></span>
|
47
|
+
</tt>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
</div><div class="section source">
|
51
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
52
|
+
<div class="source_code">
|
53
|
+
<table>
|
54
|
+
<tr>
|
55
|
+
<td>
|
56
|
+
<pre class="lines">
|
57
|
+
|
58
|
+
|
59
|
+
58
|
60
|
+
59
|
61
|
+
60
|
62
|
+
61
|
63
|
+
62
|
64
|
+
63
|
65
|
+
64</pre>
|
66
|
+
</td>
|
67
|
+
<td>
|
68
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/transport.rb', line 58</span>
|
69
|
+
|
70
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span> <span class='aRange identifier id'>aRange</span>
|
71
|
+
<span class='@pos ivar id'>@pos</span> <span class='assign token'>=</span> <span class='aRange identifier id'>aRange</span><span class='dot token'>.</span><span class='first identifier id'>first</span>
|
72
|
+
<span class='@lim ivar id'>@lim</span> <span class='assign token'>=</span> <span class='aRange identifier id'>aRange</span><span class='dot token'>.</span><span class='last identifier id'>last</span>
|
73
|
+
<span class='@lim ivar id'>@lim</span> <span class='assign token'>=</span> <span class='@lim ivar id'>@lim</span><span class='dot token'>.</span><span class='succ identifier id'>succ</span> <span class='unless unless_mod kw'>unless</span> <span class='aRange identifier id'>aRange</span><span class='dot token'>.</span><span class='exclude_end? fid id'>exclude_end?</span>
|
74
|
+
|
75
|
+
<span class='@pool ivar id'>@pool</span> <span class='assign token'>=</span> <span class='Queue constant id'>Queue</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
|
76
|
+
<span class='end end kw'>end</span>
|
77
|
+
</pre>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
</table>
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
</div> <div class="section visibilitygroup public">
|
85
|
+
<h1>Public Visibility</h1>
|
86
|
+
<div class="section methodsummary instance public">
|
87
|
+
<h1>Public Instance Method Summary</h1>
|
88
|
+
<table class="summary">
|
89
|
+
|
90
|
+
<tr>
|
91
|
+
<th class="signature">
|
92
|
+
<span class='name'><a href="#obtain-instance_method" title="#obtain">#obtain</a></span><span class='args'></span>
|
93
|
+
<span class='block'></span>
|
94
|
+
|
95
|
+
</th>
|
96
|
+
<td class="docstring">
|
97
|
+
<p>
|
98
|
+
Returns an unoccupied range member from the pool.
|
99
|
+
</p>
|
100
|
+
|
101
|
+
|
102
|
+
</td>
|
103
|
+
</tr>
|
104
|
+
|
105
|
+
<tr>
|
106
|
+
<th class="signature">
|
107
|
+
<span class='name'><a href="#release-instance_method" title="#release">#release</a></span><span class='args'>(aMember)</span>
|
108
|
+
<span class='block'></span>
|
109
|
+
|
110
|
+
</th>
|
111
|
+
<td class="docstring">
|
112
|
+
<p>
|
113
|
+
Marks the given member as being unoccupied so that it may be occupied again
|
114
|
+
in the future.
|
115
|
+
</p>
|
116
|
+
|
117
|
+
|
118
|
+
</td>
|
119
|
+
</tr>
|
120
|
+
|
121
|
+
</table>
|
122
|
+
</div>
|
123
|
+
<div class="section methoddetails instance public">
|
124
|
+
<h1>Public Instance Method Details</h1>
|
125
|
+
|
126
|
+
<div class="method">
|
127
|
+
<div class="method_header">
|
128
|
+
<h3>obtain</h3>
|
129
|
+
</div><div id="obtain-instance_method" class="section method">
|
130
|
+
<div class="details_title">
|
131
|
+
<div class='section methodsignature'>
|
132
|
+
<tt class='def'>
|
133
|
+
<span class='visibility'>public</span>
|
134
|
+
<span class='return_types'></span>
|
135
|
+
<span class='name'>obtain</span><span class='args'></span>
|
136
|
+
<span class='block'></span>
|
137
|
+
</tt>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
</div><div class="section docstring">
|
141
|
+
<p>
|
142
|
+
Returns an unoccupied range member from the pool.
|
143
|
+
</p>
|
144
|
+
|
145
|
+
</div><div class="section source">
|
146
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
147
|
+
<div class="source_code">
|
148
|
+
<table>
|
149
|
+
<tr>
|
150
|
+
<td>
|
151
|
+
<pre class="lines">
|
152
|
+
|
153
|
+
|
154
|
+
67
|
155
|
+
68
|
156
|
+
69
|
157
|
+
70
|
158
|
+
71
|
159
|
+
72
|
160
|
+
73
|
161
|
+
74
|
162
|
+
75
|
163
|
+
76
|
164
|
+
77
|
165
|
+
78
|
166
|
+
79
|
167
|
+
80
|
168
|
+
81
|
169
|
+
82
|
170
|
+
83
|
171
|
+
84
|
172
|
+
85
|
173
|
+
86
|
174
|
+
87</pre>
|
175
|
+
</td>
|
176
|
+
<td>
|
177
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/transport.rb', line 67</span>
|
178
|
+
|
179
|
+
<span class='def def kw'>def</span> <span class='obtain identifier id'>obtain</span>
|
180
|
+
<span class='begin begin kw'>begin</span>
|
181
|
+
<span class='@pool ivar id'>@pool</span><span class='dot token'>.</span><span class='deq identifier id'>deq</span> <span class='true true kw'>true</span>
|
182
|
+
|
183
|
+
<span class='rescue rescue kw'>rescue</span> <span class='ThreadError constant id'>ThreadError</span>
|
184
|
+
<span class='comment val'># pool is empty, so fill it</span>
|
185
|
+
<span class='FILL_RATE constant id'>FILL_RATE</span><span class='dot token'>.</span><span class='times identifier id'>times</span> <span class='do do kw'>do</span>
|
186
|
+
<span class='if if kw'>if</span> <span class='@pos ivar id'>@pos</span> <span class='neq op'>!=</span> <span class='@lim ivar id'>@lim</span>
|
187
|
+
<span class='@pool ivar id'>@pool</span> <span class='lshft op'><<</span> <span class='@pos ivar id'>@pos</span>
|
188
|
+
<span class='@pos ivar id'>@pos</span> <span class='assign token'>=</span> <span class='@pos ivar id'>@pos</span><span class='dot token'>.</span><span class='succ identifier id'>succ</span>
|
189
|
+
<span class='else else kw'>else</span>
|
190
|
+
<span class='comment val'># range is exhausted, so give other threads</span>
|
191
|
+
<span class='comment val'># a chance to fill the pool before retrying</span>
|
192
|
+
<span class='Thread constant id'>Thread</span><span class='dot token'>.</span><span class='pass identifier id'>pass</span>
|
193
|
+
<span class='break break kw'>break</span>
|
194
|
+
<span class='end end kw'>end</span>
|
195
|
+
<span class='end end kw'>end</span>
|
196
|
+
|
197
|
+
<span class='retry retry kw'>retry</span>
|
198
|
+
<span class='end end kw'>end</span>
|
199
|
+
<span class='end end kw'>end</span>
|
200
|
+
</pre>
|
201
|
+
</td>
|
202
|
+
</tr>
|
203
|
+
</table>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
|
209
|
+
<div class="method">
|
210
|
+
<div class="method_header">
|
211
|
+
<h3>release</h3>
|
212
|
+
</div><div id="release-instance_method" class="section method">
|
213
|
+
<div class="details_title">
|
214
|
+
<div class='section methodsignature'>
|
215
|
+
<tt class='def'>
|
216
|
+
<span class='visibility'>public</span>
|
217
|
+
<span class='return_types'></span>
|
218
|
+
<span class='name'>release</span><span class='args'>(aMember)</span>
|
219
|
+
<span class='block'></span>
|
220
|
+
</tt>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
</div><div class="section docstring">
|
224
|
+
<p>
|
225
|
+
Marks the given member as being unoccupied so that it may be occupied again
|
226
|
+
in the future.
|
227
|
+
</p>
|
228
|
+
|
229
|
+
</div><div class="section source">
|
230
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
231
|
+
<div class="source_code">
|
232
|
+
<table>
|
233
|
+
<tr>
|
234
|
+
<td>
|
235
|
+
<pre class="lines">
|
236
|
+
|
237
|
+
|
238
|
+
91
|
239
|
+
92
|
240
|
+
93</pre>
|
241
|
+
</td>
|
242
|
+
<td>
|
243
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/transport.rb', line 91</span>
|
244
|
+
|
245
|
+
<span class='def def kw'>def</span> <span class='release identifier id'>release</span> <span class='aMember identifier id'>aMember</span>
|
246
|
+
<span class='@pool ivar id'>@pool</span> <span class='lshft op'><<</span> <span class='aMember identifier id'>aMember</span>
|
247
|
+
<span class='end end kw'>end</span>
|
248
|
+
</pre>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
</table>
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
|
257
|
+
</div>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
</body>
|
263
|
+
</html>
|
@@ -0,0 +1,32 @@
|
|
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>Exception: Rumai::IXP::Error</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Error">
|
16
|
+
<h1 class="title">Exception: Rumai::IXP::Error</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li>StandardError</li><ul><li>Rumai::IXP::Error</li>
|
20
|
+
</ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
A common container for exceptions concerning IXP.
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</body>
|
32
|
+
</html>
|
@@ -0,0 +1,398 @@
|
|
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::Fcall</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Fcall">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Fcall</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../Object.html" title="Object">Object</a></li><ul><li>Rumai::IXP::Fcall</li>
|
20
|
+
</ul></ul>
|
21
|
+
</div><div class="section mixins">
|
22
|
+
<h1>Included Modules</h1>
|
23
|
+
<p><a href="Fcall/Struct.html" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a></p>
|
24
|
+
</div><div class="section docstring">
|
25
|
+
<p>
|
26
|
+
Fcall is the basic unit of communication in the 9P2000 protocol. It is
|
27
|
+
analogous to a "packet" in the Internetwork Protocol (IP).
|
28
|
+
</p>
|
29
|
+
<p>
|
30
|
+
See http://cm.bell-labs.com/magic/man2html/2/fcall
|
31
|
+
</p>
|
32
|
+
|
33
|
+
</div><div class="section constants">
|
34
|
+
<div class="thisclass">
|
35
|
+
<h1>Constants</h1>
|
36
|
+
<dl>
|
37
|
+
|
38
|
+
<dt id="CLASS_TO_TYPE-constant">CLASS_TO_TYPE</dt>
|
39
|
+
<dd>{
|
40
|
+
Tversion => 100,
|
41
|
+
Rversion => 101,
|
42
|
+
Tauth => 102,
|
43
|
+
Rauth => 103,
|
44
|
+
Tattach => 104,
|
45
|
+
Rattach => 105,
|
46
|
+
Terror => 106,
|
47
|
+
Rerror => 107,
|
48
|
+
Tflush => 108,
|
49
|
+
Rflush => 109,
|
50
|
+
Twalk => 110,
|
51
|
+
Rwalk => 111,
|
52
|
+
Topen => 112,
|
53
|
+
Ropen => 113,
|
54
|
+
Tcreate => 114,
|
55
|
+
Rcreate => 115,
|
56
|
+
Tread => 116,
|
57
|
+
Rread => 117,
|
58
|
+
Twrite => 118,
|
59
|
+
Rwrite => 119,
|
60
|
+
Tclunk => 120,
|
61
|
+
Rclunk => 121,
|
62
|
+
Tremove => 122,
|
63
|
+
Rremove => 123,
|
64
|
+
Tstat => 124,
|
65
|
+
Rstat => 125,
|
66
|
+
Twstat => 126,
|
67
|
+
Rwstat => 127,
|
68
|
+
}.freeze</dd>
|
69
|
+
|
70
|
+
<dt id="TYPE_TO_CLASS-constant">TYPE_TO_CLASS</dt>
|
71
|
+
<dd>CLASS_TO_TYPE.invert.freeze</dd>
|
72
|
+
|
73
|
+
</dl>
|
74
|
+
</div>
|
75
|
+
|
76
|
+
</div><div class="section constructor">
|
77
|
+
<h1>Constructor Summary</h1>
|
78
|
+
<p class="inherited_msg">
|
79
|
+
This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
|
80
|
+
</p>
|
81
|
+
</div> <div class="section visibilitygroup public">
|
82
|
+
<h1>Public Visibility</h1>
|
83
|
+
<div class="section methodsummary class public">
|
84
|
+
<h1>Public Class Method Summary</h1>
|
85
|
+
<table class="summary">
|
86
|
+
|
87
|
+
<tr>
|
88
|
+
<th class="signature">
|
89
|
+
<span class='name'><a href="#from_9p-class_method" title="from_9p">from_9p</a></span><span class='args'>(aStream)</span>
|
90
|
+
<span class='block'></span>
|
91
|
+
|
92
|
+
<span class='alias'>__from_9p__</span>
|
93
|
+
|
94
|
+
</th>
|
95
|
+
<td class="docstring">
|
96
|
+
<p>
|
97
|
+
Creates a new instance of this class from the given 9P2000 byte stream and
|
98
|
+
returns the instance.
|
99
|
+
</p>
|
100
|
+
|
101
|
+
|
102
|
+
</td>
|
103
|
+
</tr>
|
104
|
+
|
105
|
+
<tr>
|
106
|
+
<th class="signature">
|
107
|
+
<span class='name'><a href="#type-class_method" title="type">type</a></span><span class='args'></span>
|
108
|
+
<span class='block'></span>
|
109
|
+
|
110
|
+
</th>
|
111
|
+
<td class="docstring">
|
112
|
+
<p>
|
113
|
+
Returns the value of the ‘type’ field for this fcall.
|
114
|
+
</p>
|
115
|
+
|
116
|
+
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
|
120
|
+
</table><div class="included">
|
121
|
+
|
122
|
+
<div>
|
123
|
+
<h1>Public Class Methods Included from <a href="Fcall/Struct.html" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a></h1>
|
124
|
+
<p><span class='name'><a href="Struct.html#included-class_method" title="included">included</a></span></p>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
<div class="clear"></div>
|
129
|
+
</div>
|
130
|
+
<div class="section methodsummary instance public">
|
131
|
+
<h1>Public Instance Method Summary</h1>
|
132
|
+
<table class="summary">
|
133
|
+
|
134
|
+
<tr>
|
135
|
+
<th class="signature">
|
136
|
+
<span class='name'><a href="#to_9p-instance_method" title="#to_9p">#to_9p</a></span><span class='args'></span>
|
137
|
+
<span class='block'></span>
|
138
|
+
|
139
|
+
</th>
|
140
|
+
<td class="docstring">
|
141
|
+
<p>
|
142
|
+
Transforms this object into a string of 9P2000 bytes.
|
143
|
+
</p>
|
144
|
+
|
145
|
+
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
|
149
|
+
<tr>
|
150
|
+
<th class="signature">
|
151
|
+
<span class='name'><a href="#type-instance_method" title="#type">#type</a></span><span class='args'></span>
|
152
|
+
<span class='block'></span>
|
153
|
+
|
154
|
+
</th>
|
155
|
+
<td class="docstring">
|
156
|
+
<p>
|
157
|
+
Returns the value of the ‘type’ field for this fcall.
|
158
|
+
</p>
|
159
|
+
|
160
|
+
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
|
164
|
+
</table><div class="included">
|
165
|
+
|
166
|
+
<div>
|
167
|
+
<h1>Public Instance Methods Included from <a href="Fcall/Struct.html" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a></h1>
|
168
|
+
<p><span class='name'><a href="Struct.html#load_9p-instance_method" title="load_9p">load_9p</a></span></p>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
<div class="clear"></div>
|
173
|
+
</div>
|
174
|
+
<div class="section methoddetails class public">
|
175
|
+
<h1>Public Class Method Details</h1>
|
176
|
+
|
177
|
+
<div class="method">
|
178
|
+
<div class="method_header">
|
179
|
+
<h3>from_9p</h3>
|
180
|
+
</div><div id="from_9p-class_method" class="section method">
|
181
|
+
<div class="details_title">
|
182
|
+
<div class='section methodsignature'>
|
183
|
+
<tt class='def'>
|
184
|
+
<span class='visibility'>public</span>
|
185
|
+
<span class='return_types'></span>
|
186
|
+
<span class='name'>from_9p</span><span class='args'>(aStream)</span>
|
187
|
+
<span class='block'></span>
|
188
|
+
</tt>
|
189
|
+
</div>
|
190
|
+
<p class="aliases">
|
191
|
+
<span class="aka">Also known as:</span>
|
192
|
+
|
193
|
+
<tt id="__from_9p__-class_method">__from_9p__</tt>
|
194
|
+
|
195
|
+
</p>
|
196
|
+
</div><div class="section docstring">
|
197
|
+
<p>
|
198
|
+
Creates a new instance of this class from the given 9P2000 byte stream and
|
199
|
+
returns the instance.
|
200
|
+
</p>
|
201
|
+
|
202
|
+
</div><div class="section source">
|
203
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
204
|
+
<div class="source_code">
|
205
|
+
<table>
|
206
|
+
<tr>
|
207
|
+
<td>
|
208
|
+
<pre class="lines">
|
209
|
+
|
210
|
+
|
211
|
+
338
|
212
|
+
339
|
213
|
+
340
|
214
|
+
341
|
215
|
+
342
|
216
|
+
343
|
217
|
+
344
|
218
|
+
345
|
219
|
+
346
|
220
|
+
347</pre>
|
221
|
+
</td>
|
222
|
+
<td>
|
223
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 338</span>
|
224
|
+
|
225
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='from_9p identifier id'>from_9p</span> <span class='aStream identifier id'>aStream</span>
|
226
|
+
<span class='size identifier id'>size</span> <span class='assign 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>
|
227
|
+
<span class='type identifier id'>type</span> <span class='assign 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'>1</span><span class='rparen token'>)</span>
|
228
|
+
|
229
|
+
<span class='unless unless kw'>unless</span> <span class='fcall identifier id'>fcall</span> <span class='assign token'>=</span> <span class='TYPE_TO_CLASS constant id'>TYPE_TO_CLASS</span><span class='lbrack token'>[</span><span class='type identifier id'>type</span><span class='rbrack token'>]</span>
|
230
|
+
<span class='raise identifier id'>raise</span> <span class='Error constant id'>Error</span><span class='comma token'>,</span> <span class='dstring node'>"illegal fcall type: #{type}"</span>
|
231
|
+
<span class='end end kw'>end</span>
|
232
|
+
|
233
|
+
<span class='__from_9p__ identifier id'>__from_9p__</span> <span class='aStream identifier id'>aStream</span><span class='comma token'>,</span> <span class='fcall identifier id'>fcall</span>
|
234
|
+
<span class='end end kw'>end</span>
|
235
|
+
</pre>
|
236
|
+
</td>
|
237
|
+
</tr>
|
238
|
+
</table>
|
239
|
+
</div>
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
<div class="method">
|
245
|
+
<div class="method_header">
|
246
|
+
<h3>type</h3>
|
247
|
+
</div><div id="type-class_method" class="section method">
|
248
|
+
<div class="details_title">
|
249
|
+
<div class='section methodsignature'>
|
250
|
+
<tt class='def'>
|
251
|
+
<span class='visibility'>public</span>
|
252
|
+
<span class='return_types'></span>
|
253
|
+
<span class='name'>type</span><span class='args'></span>
|
254
|
+
<span class='block'></span>
|
255
|
+
</tt>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
</div><div class="section docstring">
|
259
|
+
<p>
|
260
|
+
Returns the value of the ‘type’ field for this fcall.
|
261
|
+
</p>
|
262
|
+
|
263
|
+
</div><div class="section source">
|
264
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
265
|
+
<div class="source_code">
|
266
|
+
<table>
|
267
|
+
<tr>
|
268
|
+
<td>
|
269
|
+
<pre class="lines">
|
270
|
+
|
271
|
+
|
272
|
+
569
|
273
|
+
570
|
274
|
+
571</pre>
|
275
|
+
</td>
|
276
|
+
<td>
|
277
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 569</span>
|
278
|
+
|
279
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='type identifier id'>type</span>
|
280
|
+
<span class='CLASS_TO_TYPE constant id'>CLASS_TO_TYPE</span><span class='lbrack token'>[</span><span class='self self kw'>self</span><span class='rbrack token'>]</span>
|
281
|
+
<span class='end end kw'>end</span>
|
282
|
+
</pre>
|
283
|
+
</td>
|
284
|
+
</tr>
|
285
|
+
</table>
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
</div>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
</div><div class="section methoddetails instance public">
|
292
|
+
<h1>Public Instance Method Details</h1>
|
293
|
+
|
294
|
+
<div class="method">
|
295
|
+
<div class="method_header">
|
296
|
+
<h3>to_9p</h3>
|
297
|
+
</div><div id="to_9p-instance_method" class="section method">
|
298
|
+
<div class="details_title">
|
299
|
+
<div class='section methodsignature'>
|
300
|
+
<tt class='def'>
|
301
|
+
<span class='visibility'>public</span>
|
302
|
+
<span class='return_types'></span>
|
303
|
+
<span class='name'>to_9p</span><span class='args'></span>
|
304
|
+
<span class='block'></span>
|
305
|
+
</tt>
|
306
|
+
</div>
|
307
|
+
|
308
|
+
</div><div class="section docstring">
|
309
|
+
<p>
|
310
|
+
Transforms this object into a string of 9P2000 bytes.
|
311
|
+
</p>
|
312
|
+
|
313
|
+
</div><div class="section source">
|
314
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
315
|
+
<div class="source_code">
|
316
|
+
<table>
|
317
|
+
<tr>
|
318
|
+
<td>
|
319
|
+
<pre class="lines">
|
320
|
+
|
321
|
+
|
322
|
+
326
|
323
|
+
327
|
324
|
+
328
|
325
|
+
329
|
326
|
+
330</pre>
|
327
|
+
</td>
|
328
|
+
<td>
|
329
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 326</span>
|
330
|
+
|
331
|
+
<span class='def def kw'>def</span> <span class='to_9p identifier id'>to_9p</span>
|
332
|
+
<span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='type identifier id'>type</span><span class='dot token'>.</span><span class='to_9p identifier id'>to_9p</span><span class='lparen token'>(</span><span class='integer val'>1</span><span class='rparen token'>)</span> <span class='lshft op'><<</span> <span class='super super kw'>super</span>
|
333
|
+
<span class='size identifier id'>size</span> <span class='assign token'>=</span> <span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='plus op'>+</span> <span class='integer val'>4</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>
|
334
|
+
<span class='size identifier id'>size</span> <span class='lshft op'><<</span> <span class='data identifier id'>data</span>
|
335
|
+
<span class='end end kw'>end</span>
|
336
|
+
</pre>
|
337
|
+
</td>
|
338
|
+
</tr>
|
339
|
+
</table>
|
340
|
+
</div>
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
|
345
|
+
<div class="method">
|
346
|
+
<div class="method_header">
|
347
|
+
<h3>type</h3>
|
348
|
+
</div><div id="type-instance_method" class="section method">
|
349
|
+
<div class="details_title">
|
350
|
+
<div class='section methodsignature'>
|
351
|
+
<tt class='def'>
|
352
|
+
<span class='visibility'>public</span>
|
353
|
+
<span class='return_types'></span>
|
354
|
+
<span class='name'>type</span><span class='args'></span>
|
355
|
+
<span class='block'></span>
|
356
|
+
</tt>
|
357
|
+
</div>
|
358
|
+
|
359
|
+
</div><div class="section docstring">
|
360
|
+
<p>
|
361
|
+
Returns the value of the ‘type’ field for this fcall.
|
362
|
+
</p>
|
363
|
+
|
364
|
+
</div><div class="section source">
|
365
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
366
|
+
<div class="source_code">
|
367
|
+
<table>
|
368
|
+
<tr>
|
369
|
+
<td>
|
370
|
+
<pre class="lines">
|
371
|
+
|
372
|
+
|
373
|
+
574
|
374
|
+
575
|
375
|
+
576</pre>
|
376
|
+
</td>
|
377
|
+
<td>
|
378
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 574</span>
|
379
|
+
|
380
|
+
<span class='def def kw'>def</span> <span class='type identifier id'>type</span>
|
381
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='class identifier id'>class</span><span class='dot token'>.</span><span class='type identifier id'>type</span>
|
382
|
+
<span class='end end kw'>end</span>
|
383
|
+
</pre>
|
384
|
+
</td>
|
385
|
+
</tr>
|
386
|
+
</table>
|
387
|
+
</div>
|
388
|
+
</div>
|
389
|
+
</div>
|
390
|
+
</div>
|
391
|
+
|
392
|
+
</div>
|
393
|
+
</div>
|
394
|
+
|
395
|
+
</div>
|
396
|
+
</div>
|
397
|
+
</body>
|
398
|
+
</html>
|