rumai 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. data/LICENSE +23 -0
  2. data/README +1 -0
  3. data/Rakefile +58 -0
  4. data/bin/rumai +38 -0
  5. data/doc/api/classes/IO.html +120 -0
  6. data/doc/api/classes/Integer.html +142 -0
  7. data/doc/api/classes/Integer.src/M000002.html +18 -0
  8. data/doc/api/classes/Object.html +113 -0
  9. data/doc/api/classes/Rumai.html +530 -0
  10. data/doc/api/classes/Rumai.src/M000007.html +18 -0
  11. data/doc/api/classes/Rumai.src/M000008.html +18 -0
  12. data/doc/api/classes/Rumai.src/M000009.html +18 -0
  13. data/doc/api/classes/Rumai.src/M000010.html +18 -0
  14. data/doc/api/classes/Rumai.src/M000011.html +18 -0
  15. data/doc/api/classes/Rumai.src/M000012.html +18 -0
  16. data/doc/api/classes/Rumai.src/M000013.html +18 -0
  17. data/doc/api/classes/Rumai.src/M000014.html +20 -0
  18. data/doc/api/classes/Rumai.src/M000015.html +18 -0
  19. data/doc/api/classes/Rumai.src/M000016.html +18 -0
  20. data/doc/api/classes/Rumai.src/M000017.html +18 -0
  21. data/doc/api/classes/Rumai.src/M000018.html +18 -0
  22. data/doc/api/classes/Rumai.src/M000019.html +18 -0
  23. data/doc/api/classes/Rumai.src/M000020.html +18 -0
  24. data/doc/api/classes/Rumai.src/M000021.html +18 -0
  25. data/doc/api/classes/Rumai.src/M000022.html +18 -0
  26. data/doc/api/classes/Rumai.src/M000023.html +18 -0
  27. data/doc/api/classes/Rumai.src/M000024.html +18 -0
  28. data/doc/api/classes/Rumai.src/M000025.html +18 -0
  29. data/doc/api/classes/Rumai.src/M000026.html +18 -0
  30. data/doc/api/classes/Rumai/Area.html +461 -0
  31. data/doc/api/classes/Rumai/Area.src/M000080.html +19 -0
  32. data/doc/api/classes/Rumai/Area.src/M000081.html +18 -0
  33. data/doc/api/classes/Rumai/Area.src/M000082.html +18 -0
  34. data/doc/api/classes/Rumai/Area.src/M000083.html +18 -0
  35. data/doc/api/classes/Rumai/Area.src/M000084.html +18 -0
  36. data/doc/api/classes/Rumai/Area.src/M000085.html +18 -0
  37. data/doc/api/classes/Rumai/Area.src/M000086.html +18 -0
  38. data/doc/api/classes/Rumai/Area.src/M000087.html +18 -0
  39. data/doc/api/classes/Rumai/Area.src/M000088.html +18 -0
  40. data/doc/api/classes/Rumai/Area.src/M000089.html +18 -0
  41. data/doc/api/classes/Rumai/Area.src/M000090.html +18 -0
  42. data/doc/api/classes/Rumai/Area.src/M000091.html +22 -0
  43. data/doc/api/classes/Rumai/Area.src/M000093.html +23 -0
  44. data/doc/api/classes/Rumai/Area.src/M000094.html +28 -0
  45. data/doc/api/classes/Rumai/Area.src/M000095.html +18 -0
  46. data/doc/api/classes/Rumai/Area.src/M000096.html +31 -0
  47. data/doc/api/classes/Rumai/Chain.html +179 -0
  48. data/doc/api/classes/Rumai/Chain.src/M000077.html +18 -0
  49. data/doc/api/classes/Rumai/Chain.src/M000078.html +18 -0
  50. data/doc/api/classes/Rumai/Chain.src/M000079.html +18 -0
  51. data/doc/api/classes/Rumai/Client.html +463 -0
  52. data/doc/api/classes/Rumai/Client.src/M000114.html +18 -0
  53. data/doc/api/classes/Rumai/Client.src/M000115.html +18 -0
  54. data/doc/api/classes/Rumai/Client.src/M000116.html +18 -0
  55. data/doc/api/classes/Rumai/Client.src/M000117.html +39 -0
  56. data/doc/api/classes/Rumai/Client.src/M000118.html +28 -0
  57. data/doc/api/classes/Rumai/Client.src/M000119.html +19 -0
  58. data/doc/api/classes/Rumai/Client.src/M000120.html +18 -0
  59. data/doc/api/classes/Rumai/Client.src/M000121.html +18 -0
  60. data/doc/api/classes/Rumai/Client.src/M000122.html +18 -0
  61. data/doc/api/classes/Rumai/Client.src/M000123.html +19 -0
  62. data/doc/api/classes/Rumai/Client.src/M000124.html +20 -0
  63. data/doc/api/classes/Rumai/Client.src/M000125.html +20 -0
  64. data/doc/api/classes/Rumai/Client.src/M000126.html +22 -0
  65. data/doc/api/classes/Rumai/Client.src/M000127.html +18 -0
  66. data/doc/api/classes/Rumai/Client.src/M000128.html +20 -0
  67. data/doc/api/classes/Rumai/Client.src/M000129.html +18 -0
  68. data/doc/api/classes/Rumai/Client.src/M000130.html +22 -0
  69. data/doc/api/classes/Rumai/ClientContainer.html +180 -0
  70. data/doc/api/classes/Rumai/ClientContainer.src/M000027.html +18 -0
  71. data/doc/api/classes/Rumai/ClientContainer.src/M000028.html +18 -0
  72. data/doc/api/classes/Rumai/ClientContainer.src/M000029.html +18 -0
  73. data/doc/api/classes/Rumai/ExportInstMethods.html +119 -0
  74. data/doc/api/classes/Rumai/IXP.html +149 -0
  75. data/doc/api/classes/Rumai/IXP/Agent.html +447 -0
  76. data/doc/api/classes/Rumai/IXP/Agent.src/M000046.html +47 -0
  77. data/doc/api/classes/Rumai/IXP/Agent.src/M000047.html +44 -0
  78. data/doc/api/classes/Rumai/IXP/Agent.src/M000048.html +39 -0
  79. data/doc/api/classes/Rumai/IXP/Agent.src/M000049.html +20 -0
  80. data/doc/api/classes/Rumai/IXP/Agent.src/M000050.html +22 -0
  81. data/doc/api/classes/Rumai/IXP/Agent.src/M000051.html +20 -0
  82. data/doc/api/classes/Rumai/IXP/Agent.src/M000052.html +33 -0
  83. data/doc/api/classes/Rumai/IXP/Agent.src/M000053.html +19 -0
  84. data/doc/api/classes/Rumai/IXP/Agent.src/M000054.html +18 -0
  85. data/doc/api/classes/Rumai/IXP/Agent.src/M000055.html +21 -0
  86. data/doc/api/classes/Rumai/IXP/Agent.src/M000056.html +20 -0
  87. data/doc/api/classes/Rumai/IXP/Agent.src/M000057.html +20 -0
  88. data/doc/api/classes/Rumai/IXP/Agent.src/M000058.html +22 -0
  89. data/doc/api/classes/Rumai/IXP/Agent.src/M000059.html +23 -0
  90. data/doc/api/classes/Rumai/IXP/Agent.src/M000060.html +19 -0
  91. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +254 -0
  92. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000062.html +22 -0
  93. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000063.html +21 -0
  94. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000064.html +42 -0
  95. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000065.html +26 -0
  96. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000066.html +36 -0
  97. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +130 -0
  98. data/doc/api/classes/Rumai/IXP/Agent/MODES.src/M000061.html +22 -0
  99. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +203 -0
  100. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000068.html +23 -0
  101. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000069.html +32 -0
  102. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000070.html +20 -0
  103. data/doc/api/classes/Rumai/IXP/Error.html +117 -0
  104. data/doc/api/classes/Rumai/IXP/Fcall.html +261 -0
  105. data/doc/api/classes/Rumai/IXP/Fcall.src/M000071.html +20 -0
  106. data/doc/api/classes/Rumai/IXP/Fcall.src/M000072.html +25 -0
  107. data/doc/api/classes/Rumai/IXP/Fcall.src/M000073.html +18 -0
  108. data/doc/api/classes/Rumai/IXP/Fcall.src/M000074.html +18 -0
  109. data/doc/api/classes/Rumai/IXP/Qid.html +184 -0
  110. data/doc/api/classes/Rumai/IXP/Rattach.html +119 -0
  111. data/doc/api/classes/Rumai/IXP/Rauth.html +119 -0
  112. data/doc/api/classes/Rumai/IXP/Rclunk.html +119 -0
  113. data/doc/api/classes/Rumai/IXP/Rcreate.html +119 -0
  114. data/doc/api/classes/Rumai/IXP/Rerror.html +119 -0
  115. data/doc/api/classes/Rumai/IXP/Rflush.html +119 -0
  116. data/doc/api/classes/Rumai/IXP/Ropen.html +119 -0
  117. data/doc/api/classes/Rumai/IXP/Rread.html +119 -0
  118. data/doc/api/classes/Rumai/IXP/Rremove.html +119 -0
  119. data/doc/api/classes/Rumai/IXP/Rstat.html +119 -0
  120. data/doc/api/classes/Rumai/IXP/Rversion.html +119 -0
  121. data/doc/api/classes/Rumai/IXP/Rwalk.html +119 -0
  122. data/doc/api/classes/Rumai/IXP/Rwrite.html +119 -0
  123. data/doc/api/classes/Rumai/IXP/Rwstat.html +119 -0
  124. data/doc/api/classes/Rumai/IXP/Stat.html +248 -0
  125. data/doc/api/classes/Rumai/IXP/Stat.src/M000076.html +18 -0
  126. data/doc/api/classes/Rumai/IXP/Stream.html +158 -0
  127. data/doc/api/classes/Rumai/IXP/Stream.src/M000045.html +19 -0
  128. data/doc/api/classes/Rumai/IXP/Struct.html +257 -0
  129. data/doc/api/classes/Rumai/IXP/Struct.src/M000030.html +19 -0
  130. data/doc/api/classes/Rumai/IXP/Struct.src/M000031.html +18 -0
  131. data/doc/api/classes/Rumai/IXP/Struct.src/M000032.html +18 -0
  132. data/doc/api/classes/Rumai/IXP/Struct.src/M000033.html +18 -0
  133. data/doc/api/classes/Rumai/IXP/Struct.src/M000034.html +20 -0
  134. data/doc/api/classes/Rumai/IXP/Struct.src/M000035.html +57 -0
  135. data/doc/api/classes/Rumai/IXP/Struct/Field.html +304 -0
  136. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000036.html +21 -0
  137. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000037.html +21 -0
  138. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000038.html +20 -0
  139. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000039.html +29 -0
  140. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000040.html +18 -0
  141. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000041.html +18 -0
  142. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +152 -0
  143. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000043.html +24 -0
  144. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000044.html +25 -0
  145. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +137 -0
  146. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.src/M000042.html +18 -0
  147. data/doc/api/classes/Rumai/IXP/Tattach.html +120 -0
  148. data/doc/api/classes/Rumai/IXP/Tauth.html +119 -0
  149. data/doc/api/classes/Rumai/IXP/Tclunk.html +119 -0
  150. data/doc/api/classes/Rumai/IXP/Tcreate.html +120 -0
  151. data/doc/api/classes/Rumai/IXP/Terror.html +145 -0
  152. data/doc/api/classes/Rumai/IXP/Terror.src/M000075.html +18 -0
  153. data/doc/api/classes/Rumai/IXP/Tflush.html +119 -0
  154. data/doc/api/classes/Rumai/IXP/Topen.html +193 -0
  155. data/doc/api/classes/Rumai/IXP/Tread.html +119 -0
  156. data/doc/api/classes/Rumai/IXP/Tremove.html +119 -0
  157. data/doc/api/classes/Rumai/IXP/Tstat.html +119 -0
  158. data/doc/api/classes/Rumai/IXP/Tversion.html +137 -0
  159. data/doc/api/classes/Rumai/IXP/Twalk.html +120 -0
  160. data/doc/api/classes/Rumai/IXP/Twrite.html +120 -0
  161. data/doc/api/classes/Rumai/IXP/Twstat.html +119 -0
  162. data/doc/api/classes/Rumai/Node.html +461 -0
  163. data/doc/api/classes/Rumai/Node.src/M000097.html +18 -0
  164. data/doc/api/classes/Rumai/Node.src/M000098.html +18 -0
  165. data/doc/api/classes/Rumai/Node.src/M000099.html +22 -0
  166. data/doc/api/classes/Rumai/Node.src/M000100.html +18 -0
  167. data/doc/api/classes/Rumai/Node.src/M000101.html +18 -0
  168. data/doc/api/classes/Rumai/Node.src/M000102.html +18 -0
  169. data/doc/api/classes/Rumai/Node.src/M000103.html +18 -0
  170. data/doc/api/classes/Rumai/Node.src/M000104.html +22 -0
  171. data/doc/api/classes/Rumai/Node.src/M000105.html +18 -0
  172. data/doc/api/classes/Rumai/Node.src/M000106.html +18 -0
  173. data/doc/api/classes/Rumai/Node.src/M000107.html +18 -0
  174. data/doc/api/classes/Rumai/Node.src/M000108.html +18 -0
  175. data/doc/api/classes/Rumai/Node.src/M000109.html +18 -0
  176. data/doc/api/classes/Rumai/Node.src/M000110.html +18 -0
  177. data/doc/api/classes/Rumai/Node.src/M000111.html +18 -0
  178. data/doc/api/classes/Rumai/Node.src/M000112.html +20 -0
  179. data/doc/api/classes/Rumai/Node.src/M000113.html +27 -0
  180. data/doc/api/classes/Rumai/View.html +436 -0
  181. data/doc/api/classes/Rumai/View.src/M000131.html +18 -0
  182. data/doc/api/classes/Rumai/View.src/M000132.html +18 -0
  183. data/doc/api/classes/Rumai/View.src/M000133.html +18 -0
  184. data/doc/api/classes/Rumai/View.src/M000134.html +18 -0
  185. data/doc/api/classes/Rumai/View.src/M000135.html +18 -0
  186. data/doc/api/classes/Rumai/View.src/M000136.html +18 -0
  187. data/doc/api/classes/Rumai/View.src/M000137.html +18 -0
  188. data/doc/api/classes/Rumai/View.src/M000138.html +28 -0
  189. data/doc/api/classes/Rumai/View.src/M000139.html +18 -0
  190. data/doc/api/classes/Rumai/View.src/M000140.html +18 -0
  191. data/doc/api/classes/Rumai/View.src/M000141.html +18 -0
  192. data/doc/api/classes/Rumai/View.src/M000142.html +18 -0
  193. data/doc/api/classes/Rumai/View.src/M000143.html +29 -0
  194. data/doc/api/classes/Rumai/View.src/M000144.html +20 -0
  195. data/doc/api/classes/Rumai/View.src/M000145.html +33 -0
  196. data/doc/api/classes/Rumai/View.src/M000146.html +50 -0
  197. data/doc/api/classes/String.html +169 -0
  198. data/doc/api/classes/String.src/M000005.html +18 -0
  199. data/doc/api/classes/String.src/M000006.html +19 -0
  200. data/doc/api/classes/StringIO.html +120 -0
  201. data/doc/api/classes/Time.html +163 -0
  202. data/doc/api/classes/Time.src/M000003.html +18 -0
  203. data/doc/api/classes/Time.src/M000004.html +18 -0
  204. data/doc/api/created.rid +1 -0
  205. data/doc/api/files/lib/rumai/fs_rb.html +115 -0
  206. data/doc/api/files/lib/rumai/ixp/message_rb.html +120 -0
  207. data/doc/api/files/lib/rumai/ixp/message_spec_rb.html +175 -0
  208. data/doc/api/files/lib/rumai/ixp/message_spec_rb.src/M000001.html +37 -0
  209. data/doc/api/files/lib/rumai/ixp/transport_rb.html +115 -0
  210. data/doc/api/files/lib/rumai/ixp_rb.html +116 -0
  211. data/doc/api/files/lib/rumai/nfo_rb.html +107 -0
  212. data/doc/api/files/lib/rumai/wm_rb.html +115 -0
  213. data/doc/api/files/lib/rumai_rb.html +115 -0
  214. data/doc/api/fr_class_index.html +82 -0
  215. data/doc/api/fr_file_index.html +34 -0
  216. data/doc/api/fr_method_index.html +172 -0
  217. data/doc/api/index.html +24 -0
  218. data/doc/api/rdoc-style.css +208 -0
  219. data/doc/guide.erb +390 -0
  220. data/doc/guide.html +2035 -0
  221. data/doc/index.html +2035 -0
  222. data/lib/rumai.rb +9 -0
  223. data/lib/rumai/fs.rb +170 -0
  224. data/lib/rumai/ixp.rb +9 -0
  225. data/lib/rumai/ixp/message.rb +642 -0
  226. data/lib/rumai/ixp/message_spec.rb +247 -0
  227. data/lib/rumai/ixp/transport.rb +382 -0
  228. data/lib/rumai/nfo.rb +24 -0
  229. data/lib/rumai/wm.rb +780 -0
  230. metadata +320 -0
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>client_ids (Rumai::ClientContainer)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 331</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
15
+ []
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>clients (Rumai::ClientContainer)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 336</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clients</span>
15
+ <span class="ruby-identifier">client_ids</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">i</span>}
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>grouping (Rumai::ClientContainer)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 350</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grouping</span>
15
+ <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">group?</span> }
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,119 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Rumai::ExportInstMethods</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Rumai::ExportInstMethods</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/rumai/fs_rb.html">
59
+ lib/rumai/fs.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+
75
+ <div id="description">
76
+ <p>
77
+ Makes instance methods accessible through class methods. This is done to
78
+ emulate the File class:
79
+ </p>
80
+ <pre>
81
+ File.exist? &quot;foo&quot;
82
+ File.new(&quot;foo&quot;).exist?
83
+ </pre>
84
+ <p>
85
+ Both of the above expressions are equivalent.
86
+ </p>
87
+
88
+ </div>
89
+
90
+
91
+ </div>
92
+
93
+
94
+ </div>
95
+
96
+
97
+ <!-- if includes -->
98
+
99
+ <div id="section">
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+ <!-- if method_list -->
109
+
110
+
111
+ </div>
112
+
113
+
114
+ <div id="validator-badges">
115
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
116
+ </div>
117
+
118
+ </body>
119
+ </html>
@@ -0,0 +1,149 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Rumai::IXP</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Rumai::IXP</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/rumai/ixp/transport_rb.html">
59
+ lib/rumai/ixp/transport.rb
60
+ </a>
61
+ <br />
62
+ <a href="../../files/lib/rumai/ixp/message_rb.html">
63
+ lib/rumai/ixp/message.rb
64
+ </a>
65
+ <br />
66
+ </td>
67
+ </tr>
68
+
69
+ </table>
70
+ </div>
71
+ <!-- banner header -->
72
+
73
+ <div id="bodyContent">
74
+
75
+
76
+
77
+ <div id="contextContent">
78
+
79
+
80
+
81
+ </div>
82
+
83
+
84
+ </div>
85
+
86
+
87
+ <!-- if includes -->
88
+
89
+ <div id="section">
90
+
91
+ <div id="class-list">
92
+ <h3 class="section-bar">Classes and Modules</h3>
93
+
94
+ Module <a href="IXP/Stream.html" class="link">Rumai::IXP::Stream</a><br />
95
+ Module <a href="IXP/Struct.html" class="link">Rumai::IXP::Struct</a><br />
96
+ Class <a href="IXP/Agent.html" class="link">Rumai::IXP::Agent</a><br />
97
+ Class <a href="IXP/Error.html" class="link">Rumai::IXP::Error</a><br />
98
+ Class <a href="IXP/Fcall.html" class="link">Rumai::IXP::Fcall</a><br />
99
+ Class <a href="IXP/Qid.html" class="link">Rumai::IXP::Qid</a><br />
100
+ Class <a href="IXP/Rattach.html" class="link">Rumai::IXP::Rattach</a><br />
101
+ Class <a href="IXP/Rauth.html" class="link">Rumai::IXP::Rauth</a><br />
102
+ Class <a href="IXP/Rclunk.html" class="link">Rumai::IXP::Rclunk</a><br />
103
+ Class <a href="IXP/Rcreate.html" class="link">Rumai::IXP::Rcreate</a><br />
104
+ Class <a href="IXP/Rerror.html" class="link">Rumai::IXP::Rerror</a><br />
105
+ Class <a href="IXP/Rflush.html" class="link">Rumai::IXP::Rflush</a><br />
106
+ Class <a href="IXP/Ropen.html" class="link">Rumai::IXP::Ropen</a><br />
107
+ Class <a href="IXP/Rread.html" class="link">Rumai::IXP::Rread</a><br />
108
+ Class <a href="IXP/Rremove.html" class="link">Rumai::IXP::Rremove</a><br />
109
+ Class <a href="IXP/Rstat.html" class="link">Rumai::IXP::Rstat</a><br />
110
+ Class <a href="IXP/Rversion.html" class="link">Rumai::IXP::Rversion</a><br />
111
+ Class <a href="IXP/Rwalk.html" class="link">Rumai::IXP::Rwalk</a><br />
112
+ Class <a href="IXP/Rwrite.html" class="link">Rumai::IXP::Rwrite</a><br />
113
+ Class <a href="IXP/Rwstat.html" class="link">Rumai::IXP::Rwstat</a><br />
114
+ Class <a href="IXP/Stat.html" class="link">Rumai::IXP::Stat</a><br />
115
+ Class <a href="IXP/Tattach.html" class="link">Rumai::IXP::Tattach</a><br />
116
+ Class <a href="IXP/Tauth.html" class="link">Rumai::IXP::Tauth</a><br />
117
+ Class <a href="IXP/Tclunk.html" class="link">Rumai::IXP::Tclunk</a><br />
118
+ Class <a href="IXP/Tcreate.html" class="link">Rumai::IXP::Tcreate</a><br />
119
+ Class <a href="IXP/Terror.html" class="link">Rumai::IXP::Terror</a><br />
120
+ Class <a href="IXP/Tflush.html" class="link">Rumai::IXP::Tflush</a><br />
121
+ Class <a href="IXP/Topen.html" class="link">Rumai::IXP::Topen</a><br />
122
+ Class <a href="IXP/Tread.html" class="link">Rumai::IXP::Tread</a><br />
123
+ Class <a href="IXP/Tremove.html" class="link">Rumai::IXP::Tremove</a><br />
124
+ Class <a href="IXP/Tstat.html" class="link">Rumai::IXP::Tstat</a><br />
125
+ Class <a href="IXP/Tversion.html" class="link">Rumai::IXP::Tversion</a><br />
126
+ Class <a href="IXP/Twalk.html" class="link">Rumai::IXP::Twalk</a><br />
127
+ Class <a href="IXP/Twrite.html" class="link">Rumai::IXP::Twrite</a><br />
128
+ Class <a href="IXP/Twstat.html" class="link">Rumai::IXP::Twstat</a><br />
129
+
130
+ </div>
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+ <!-- if method_list -->
139
+
140
+
141
+ </div>
142
+
143
+
144
+ <div id="validator-badges">
145
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
146
+ </div>
147
+
148
+ </body>
149
+ </html>
@@ -0,0 +1,447 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Rumai::IXP::Agent</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Rumai::IXP::Agent</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/rumai/ixp/transport_rb.html">
59
+ lib/rumai/ixp/transport.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="../../Object.html">
69
+ Object
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+ <div id="description">
84
+ <p>
85
+ A thread-safe proxy that multiplexes many threads onto a single 9P2000
86
+ connection.
87
+ </p>
88
+
89
+ </div>
90
+
91
+
92
+ </div>
93
+
94
+ <div id="method-list">
95
+ <h3 class="section-bar">Methods</h3>
96
+
97
+ <div class="name-list">
98
+ <a href="#M000059">attach</a>&nbsp;&nbsp;
99
+ <a href="#M000060">clunk</a>&nbsp;&nbsp;
100
+ <a href="#M000052">create</a>&nbsp;&nbsp;
101
+ <a href="#M000050">entries</a>&nbsp;&nbsp;
102
+ <a href="#M000046">new</a>&nbsp;&nbsp;
103
+ <a href="#M000048">open</a>&nbsp;&nbsp;
104
+ <a href="#M000049">read</a>&nbsp;&nbsp;
105
+ <a href="#M000053">remove</a>&nbsp;&nbsp;
106
+ <a href="#M000054">remove_fid</a>&nbsp;&nbsp;
107
+ <a href="#M000055">stat</a>&nbsp;&nbsp;
108
+ <a href="#M000056">stat_fid</a>&nbsp;&nbsp;
109
+ <a href="#M000047">talk</a>&nbsp;&nbsp;
110
+ <a href="#M000057">walk</a>&nbsp;&nbsp;
111
+ <a href="#M000058">walk_fid</a>&nbsp;&nbsp;
112
+ <a href="#M000051">write</a>&nbsp;&nbsp;
113
+ </div>
114
+ </div>
115
+
116
+ </div>
117
+
118
+
119
+ <!-- if includes -->
120
+
121
+ <div id="section">
122
+
123
+ <div id="class-list">
124
+ <h3 class="section-bar">Classes and Modules</h3>
125
+
126
+ Module <a href="Agent/MODES.html" class="link">Rumai::IXP::Agent::MODES</a><br />
127
+ Class <a href="Agent/FidStream.html" class="link">Rumai::IXP::Agent::FidStream</a><br />
128
+ Class <a href="Agent/RangedPool.html" class="link">Rumai::IXP::Agent::RangedPool</a><br />
129
+
130
+ </div>
131
+
132
+ <div id="constants-list">
133
+ <h3 class="section-bar">Constants</h3>
134
+
135
+ <div class="name-list">
136
+ <table summary="Constants">
137
+ <tr class="top-aligned-row context-row">
138
+ <td class="context-item-name">MODES</td>
139
+ <td>=</td>
140
+ <td class="context-item-value">{ 'r' =&gt; Topen::OREAD, 'w' =&gt; Topen::OWRITE, 't' =&gt; Topen::ORCLOSE, '+' =&gt; Topen::ORDWR, }</td>
141
+ </tr>
142
+ </table>
143
+ </div>
144
+ </div>
145
+
146
+
147
+
148
+ <div id="attribute-list">
149
+ <h3 class="section-bar">Attributes</h3>
150
+
151
+ <div class="name-list">
152
+ <table>
153
+ <tr class="top-aligned-row context-row">
154
+ <td class="context-item-name">msize</td>
155
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
156
+ <td class="context-item-desc"></td>
157
+ </tr>
158
+ </table>
159
+ </div>
160
+ </div>
161
+
162
+
163
+
164
+ <!-- if method_list -->
165
+ <div id="methods">
166
+ <h3 class="section-bar">Public Class methods</h3>
167
+
168
+ <div id="method-M000046" class="method-detail">
169
+ <a name="M000046"></a>
170
+
171
+ <div class="method-heading">
172
+ <a href="Agent.src/M000046.html" target="Code" class="method-signature"
173
+ onclick="popupCode('Agent.src/M000046.html');return false;">
174
+ <span class="method-name">new</span><span class="method-args">(aStream)</span>
175
+ </a>
176
+ </div>
177
+
178
+ <div class="method-description">
179
+ </div>
180
+ </div>
181
+
182
+ <h3 class="section-bar">Public Instance methods</h3>
183
+
184
+ <div id="method-M000059" class="method-detail">
185
+ <a name="M000059"></a>
186
+
187
+ <div class="method-heading">
188
+ <a href="Agent.src/M000059.html" target="Code" class="method-signature"
189
+ onclick="popupCode('Agent.src/M000059.html');return false;">
190
+ <span class="method-name">attach</span><span class="method-args">(aRootFid, aAuthFid = Fcall::NOFID, aAuthName = ENV['USER'])</span>
191
+ </a>
192
+ </div>
193
+
194
+ <div class="method-description">
195
+ <p>
196
+ Associates the given FID with the FS root.
197
+ </p>
198
+ </div>
199
+ </div>
200
+
201
+ <div id="method-M000060" class="method-detail">
202
+ <a name="M000060"></a>
203
+
204
+ <div class="method-heading">
205
+ <a href="Agent.src/M000060.html" target="Code" class="method-signature"
206
+ onclick="popupCode('Agent.src/M000060.html');return false;">
207
+ <span class="method-name">clunk</span><span class="method-args">(aFid)</span>
208
+ </a>
209
+ </div>
210
+
211
+ <div class="method-description">
212
+ <p>
213
+ Retires the given FID from use.
214
+ </p>
215
+ </div>
216
+ </div>
217
+
218
+ <div id="method-M000052" class="method-detail">
219
+ <a name="M000052"></a>
220
+
221
+ <div class="method-heading">
222
+ <a href="Agent.src/M000052.html" target="Code" class="method-signature"
223
+ onclick="popupCode('Agent.src/M000052.html');return false;">
224
+ <span class="method-name">create</span><span class="method-args">(aPath, aMode = 'rw', aPerm = 0644)</span>
225
+ </a>
226
+ </div>
227
+
228
+ <div class="method-description">
229
+ <p>
230
+ Creates a <a href="Agent.html#M000046">new</a> file at the given path that
231
+ is accessible using the given modes for a user having the given permission
232
+ bits.
233
+ </p>
234
+ </div>
235
+ </div>
236
+
237
+ <div id="method-M000050" class="method-detail">
238
+ <a name="M000050"></a>
239
+
240
+ <div class="method-heading">
241
+ <a href="Agent.src/M000050.html" target="Code" class="method-signature"
242
+ onclick="popupCode('Agent.src/M000050.html');return false;">
243
+ <span class="method-name">entries</span><span class="method-args">(aPath)</span>
244
+ </a>
245
+ </div>
246
+
247
+ <div class="method-description">
248
+ <p>
249
+ Returns the names of all files inside the directory whose path is given.
250
+ </p>
251
+ </div>
252
+ </div>
253
+
254
+ <div id="method-M000048" class="method-detail">
255
+ <a name="M000048"></a>
256
+
257
+ <div class="method-heading">
258
+ <a href="Agent.src/M000048.html" target="Code" class="method-signature"
259
+ onclick="popupCode('Agent.src/M000048.html');return false;">
260
+ <span class="method-name">open</span><span class="method-args">(aPath, aMode = 'r' {|FidStream| ...}</span>
261
+ </a>
262
+ </div>
263
+
264
+ <div class="method-description">
265
+ <p>
266
+ Opens the given path for I/O access through a <a
267
+ href="Agent/FidStream.html">FidStream</a> object. If a block is given, it
268
+ is invoked with a <a href="Agent/FidStream.html">FidStream</a> object and
269
+ the stream is closed afterwards.
270
+ </p>
271
+ <p>
272
+ See File::open in the Ruby documentation.
273
+ </p>
274
+ </div>
275
+ </div>
276
+
277
+ <div id="method-M000049" class="method-detail">
278
+ <a name="M000049"></a>
279
+
280
+ <div class="method-heading">
281
+ <a href="Agent.src/M000049.html" target="Code" class="method-signature"
282
+ onclick="popupCode('Agent.src/M000049.html');return false;">
283
+ <span class="method-name">read</span><span class="method-args">(aPath)</span>
284
+ </a>
285
+ </div>
286
+
287
+ <div class="method-description">
288
+ <p>
289
+ Returns the content of the file/directory at the given path.
290
+ </p>
291
+ </div>
292
+ </div>
293
+
294
+ <div id="method-M000053" class="method-detail">
295
+ <a name="M000053"></a>
296
+
297
+ <div class="method-heading">
298
+ <a href="Agent.src/M000053.html" target="Code" class="method-signature"
299
+ onclick="popupCode('Agent.src/M000053.html');return false;">
300
+ <span class="method-name">remove</span><span class="method-args">(aPath)</span>
301
+ </a>
302
+ </div>
303
+
304
+ <div class="method-description">
305
+ <p>
306
+ Deletes the file at the given path.
307
+ </p>
308
+ </div>
309
+ </div>
310
+
311
+ <div id="method-M000054" class="method-detail">
312
+ <a name="M000054"></a>
313
+
314
+ <div class="method-heading">
315
+ <a href="Agent.src/M000054.html" target="Code" class="method-signature"
316
+ onclick="popupCode('Agent.src/M000054.html');return false;">
317
+ <span class="method-name">remove_fid</span><span class="method-args">(aPathFid)</span>
318
+ </a>
319
+ </div>
320
+
321
+ <div class="method-description">
322
+ <p>
323
+ Deletes the file corresponding to the given FID and clunks the given FID.
324
+ </p>
325
+ </div>
326
+ </div>
327
+
328
+ <div id="method-M000055" class="method-detail">
329
+ <a name="M000055"></a>
330
+
331
+ <div class="method-heading">
332
+ <a href="Agent.src/M000055.html" target="Code" class="method-signature"
333
+ onclick="popupCode('Agent.src/M000055.html');return false;">
334
+ <span class="method-name">stat</span><span class="method-args">(aPath)</span>
335
+ </a>
336
+ </div>
337
+
338
+ <div class="method-description">
339
+ <p>
340
+ Returns information about the file at the given path.
341
+ </p>
342
+ </div>
343
+ </div>
344
+
345
+ <div id="method-M000056" class="method-detail">
346
+ <a name="M000056"></a>
347
+
348
+ <div class="method-heading">
349
+ <a href="Agent.src/M000056.html" target="Code" class="method-signature"
350
+ onclick="popupCode('Agent.src/M000056.html');return false;">
351
+ <span class="method-name">stat_fid</span><span class="method-args">(aPathFid)</span>
352
+ </a>
353
+ </div>
354
+
355
+ <div class="method-description">
356
+ <p>
357
+ Returns information about the file referenced by the given FID.
358
+ </p>
359
+ </div>
360
+ </div>
361
+
362
+ <div id="method-M000047" class="method-detail">
363
+ <a name="M000047"></a>
364
+
365
+ <div class="method-heading">
366
+ <a href="Agent.src/M000047.html" target="Code" class="method-signature"
367
+ onclick="popupCode('Agent.src/M000047.html');return false;">
368
+ <span class="method-name">talk</span><span class="method-args">(aRequest)</span>
369
+ </a>
370
+ </div>
371
+
372
+ <div class="method-description">
373
+ <p>
374
+ Sends the given message (<a href="Fcall.html">Rumai::IXP::Fcall</a>) and
375
+ returns its response.
376
+ </p>
377
+ <p>
378
+ This method allows you to perform a 9P2000 transaction without worrying
379
+ about the details of tag collisions and thread safety.
380
+ </p>
381
+ </div>
382
+ </div>
383
+
384
+ <div id="method-M000057" class="method-detail">
385
+ <a name="M000057"></a>
386
+
387
+ <div class="method-heading">
388
+ <a href="Agent.src/M000057.html" target="Code" class="method-signature"
389
+ onclick="popupCode('Agent.src/M000057.html');return false;">
390
+ <span class="method-name">walk</span><span class="method-args">(aPath)</span>
391
+ </a>
392
+ </div>
393
+
394
+ <div class="method-description">
395
+ <p>
396
+ Returns an FID corresponding to the given path.
397
+ </p>
398
+ </div>
399
+ </div>
400
+
401
+ <div id="method-M000058" class="method-detail">
402
+ <a name="M000058"></a>
403
+
404
+ <div class="method-heading">
405
+ <a href="Agent.src/M000058.html" target="Code" class="method-signature"
406
+ onclick="popupCode('Agent.src/M000058.html');return false;">
407
+ <span class="method-name">walk_fid</span><span class="method-args">(aPathFid, aPath)</span>
408
+ </a>
409
+ </div>
410
+
411
+ <div class="method-description">
412
+ <p>
413
+ Associates the given FID to the given path.
414
+ </p>
415
+ </div>
416
+ </div>
417
+
418
+ <div id="method-M000051" class="method-detail">
419
+ <a name="M000051"></a>
420
+
421
+ <div class="method-heading">
422
+ <a href="Agent.src/M000051.html" target="Code" class="method-signature"
423
+ onclick="popupCode('Agent.src/M000051.html');return false;">
424
+ <span class="method-name">write</span><span class="method-args">(aPath, aContent)</span>
425
+ </a>
426
+ </div>
427
+
428
+ <div class="method-description">
429
+ <p>
430
+ Returns the content of the file/directory at the given path.
431
+ </p>
432
+ </div>
433
+ </div>
434
+
435
+
436
+ </div>
437
+
438
+
439
+ </div>
440
+
441
+
442
+ <div id="validator-badges">
443
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
444
+ </div>
445
+
446
+ </body>
447
+ </html>