rumai 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (304) hide show
  1. data/LICENSE +13 -23
  2. data/Rakefile +8 -58
  3. data/bin/rumai +21 -22
  4. data/doc/api/IO.html +53 -0
  5. data/doc/api/Integer.html +102 -0
  6. data/doc/api/Object.html +23 -0
  7. data/doc/api/Rumai.html +1218 -0
  8. data/doc/api/Rumai/Area.html +1088 -0
  9. data/doc/api/Rumai/Chain.html +230 -0
  10. data/doc/api/Rumai/Client.html +1264 -0
  11. data/doc/api/Rumai/ClientContainer.html +227 -0
  12. data/doc/api/Rumai/ExportInstMethods.html +115 -0
  13. data/doc/api/Rumai/IXP.html +23 -0
  14. data/doc/api/Rumai/IXP/Agent.html +1222 -0
  15. data/doc/api/Rumai/IXP/Agent/FidStream.html +602 -0
  16. data/doc/api/Rumai/IXP/Agent/RangedPool.html +263 -0
  17. data/doc/api/Rumai/IXP/Error.html +32 -0
  18. data/doc/api/Rumai/IXP/Fcall.html +398 -0
  19. data/doc/api/Rumai/IXP/Qid.html +99 -0
  20. data/doc/api/Rumai/IXP/Rattach.html +71 -0
  21. data/doc/api/Rumai/IXP/Rauth.html +71 -0
  22. data/doc/api/Rumai/IXP/Rclunk.html +71 -0
  23. data/doc/api/Rumai/IXP/Rcreate.html +71 -0
  24. data/doc/api/Rumai/IXP/Rerror.html +71 -0
  25. data/doc/api/Rumai/IXP/Rflush.html +71 -0
  26. data/doc/api/Rumai/IXP/Ropen.html +71 -0
  27. data/doc/api/Rumai/IXP/Rread.html +71 -0
  28. data/doc/api/Rumai/IXP/Rremove.html +71 -0
  29. data/doc/api/Rumai/IXP/Rstat.html +71 -0
  30. data/doc/api/Rumai/IXP/Rversion.html +71 -0
  31. data/doc/api/Rumai/IXP/Rwalk.html +71 -0
  32. data/doc/api/Rumai/IXP/Rwrite.html +71 -0
  33. data/doc/api/Rumai/IXP/Rwstat.html +71 -0
  34. data/doc/api/Rumai/IXP/Stat.html +188 -0
  35. data/doc/api/Rumai/IXP/Stream.html +112 -0
  36. data/doc/api/Rumai/IXP/Struct.html +348 -0
  37. data/doc/api/Rumai/IXP/Struct/ClassField.html +177 -0
  38. data/doc/api/Rumai/IXP/Struct/Field.html +549 -0
  39. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +175 -0
  40. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +95 -0
  41. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +181 -0
  42. data/doc/api/Rumai/IXP/Struct/StringField.html +128 -0
  43. data/doc/api/Rumai/IXP/Tattach.html +71 -0
  44. data/doc/api/Rumai/IXP/Tauth.html +71 -0
  45. data/doc/api/Rumai/IXP/Tclunk.html +71 -0
  46. data/doc/api/Rumai/IXP/Tcreate.html +71 -0
  47. data/doc/api/Rumai/IXP/Terror.html +156 -0
  48. data/doc/api/Rumai/IXP/Tflush.html +71 -0
  49. data/doc/api/Rumai/IXP/Topen.html +113 -0
  50. data/doc/api/Rumai/IXP/Tread.html +71 -0
  51. data/doc/api/Rumai/IXP/Tremove.html +71 -0
  52. data/doc/api/Rumai/IXP/Tstat.html +71 -0
  53. data/doc/api/Rumai/IXP/Tversion.html +83 -0
  54. data/doc/api/Rumai/IXP/Twalk.html +71 -0
  55. data/doc/api/Rumai/IXP/Twrite.html +71 -0
  56. data/doc/api/Rumai/IXP/Twstat.html +71 -0
  57. data/doc/api/Rumai/Node.html +1139 -0
  58. data/doc/api/Rumai/View.html +1280 -0
  59. data/doc/api/Rumai/WidgetImpl.html +196 -0
  60. data/doc/api/Rumai/WidgetNode.html +184 -0
  61. data/doc/api/String.html +180 -0
  62. data/doc/api/StringIO.html +53 -0
  63. data/doc/api/Time.html +175 -0
  64. data/doc/api/all-methods.html +1436 -0
  65. data/doc/api/all-namespaces.html +140 -0
  66. data/doc/api/app.js +18 -0
  67. data/doc/api/index.html +16 -22
  68. data/doc/api/jquery.js +11 -0
  69. data/doc/api/readme.html +35 -0
  70. data/doc/api/style.css +68 -0
  71. data/doc/api/syntax_highlight.css +21 -0
  72. data/doc/history.erb +17 -0
  73. data/doc/index.erb +13 -0
  74. data/doc/index.xhtml +1235 -0
  75. data/doc/intro.erb +86 -0
  76. data/doc/setup.erb +55 -0
  77. data/doc/theory.erb +3 -0
  78. data/doc/usage.erb +285 -0
  79. data/lib/rumai.rb +10 -7
  80. data/lib/rumai/fs.rb +13 -15
  81. data/lib/rumai/ixp.rb +2 -7
  82. data/lib/rumai/ixp/message.rb +0 -3
  83. data/lib/rumai/ixp/transport.rb +1 -4
  84. data/lib/rumai/wm.rb +6 -6
  85. data/test/rumai/ixp/message.rb +249 -0
  86. metadata +104 -263
  87. data/README +0 -1
  88. data/doc/api/classes/IO.html +0 -120
  89. data/doc/api/classes/Integer.html +0 -142
  90. data/doc/api/classes/Integer.src/M000002.html +0 -18
  91. data/doc/api/classes/Object.html +0 -113
  92. data/doc/api/classes/Rumai.html +0 -530
  93. data/doc/api/classes/Rumai.src/M000007.html +0 -18
  94. data/doc/api/classes/Rumai.src/M000008.html +0 -18
  95. data/doc/api/classes/Rumai.src/M000009.html +0 -18
  96. data/doc/api/classes/Rumai.src/M000010.html +0 -18
  97. data/doc/api/classes/Rumai.src/M000011.html +0 -18
  98. data/doc/api/classes/Rumai.src/M000012.html +0 -18
  99. data/doc/api/classes/Rumai.src/M000013.html +0 -18
  100. data/doc/api/classes/Rumai.src/M000014.html +0 -20
  101. data/doc/api/classes/Rumai.src/M000015.html +0 -18
  102. data/doc/api/classes/Rumai.src/M000016.html +0 -18
  103. data/doc/api/classes/Rumai.src/M000017.html +0 -18
  104. data/doc/api/classes/Rumai.src/M000018.html +0 -18
  105. data/doc/api/classes/Rumai.src/M000019.html +0 -18
  106. data/doc/api/classes/Rumai.src/M000020.html +0 -18
  107. data/doc/api/classes/Rumai.src/M000021.html +0 -18
  108. data/doc/api/classes/Rumai.src/M000022.html +0 -18
  109. data/doc/api/classes/Rumai.src/M000023.html +0 -18
  110. data/doc/api/classes/Rumai.src/M000024.html +0 -18
  111. data/doc/api/classes/Rumai.src/M000025.html +0 -18
  112. data/doc/api/classes/Rumai.src/M000026.html +0 -18
  113. data/doc/api/classes/Rumai/Area.html +0 -461
  114. data/doc/api/classes/Rumai/Area.src/M000079.html +0 -19
  115. data/doc/api/classes/Rumai/Area.src/M000080.html +0 -18
  116. data/doc/api/classes/Rumai/Area.src/M000081.html +0 -18
  117. data/doc/api/classes/Rumai/Area.src/M000082.html +0 -18
  118. data/doc/api/classes/Rumai/Area.src/M000083.html +0 -18
  119. data/doc/api/classes/Rumai/Area.src/M000084.html +0 -18
  120. data/doc/api/classes/Rumai/Area.src/M000085.html +0 -18
  121. data/doc/api/classes/Rumai/Area.src/M000086.html +0 -18
  122. data/doc/api/classes/Rumai/Area.src/M000087.html +0 -18
  123. data/doc/api/classes/Rumai/Area.src/M000088.html +0 -18
  124. data/doc/api/classes/Rumai/Area.src/M000089.html +0 -18
  125. data/doc/api/classes/Rumai/Area.src/M000090.html +0 -22
  126. data/doc/api/classes/Rumai/Area.src/M000092.html +0 -23
  127. data/doc/api/classes/Rumai/Area.src/M000093.html +0 -28
  128. data/doc/api/classes/Rumai/Area.src/M000094.html +0 -18
  129. data/doc/api/classes/Rumai/Area.src/M000095.html +0 -31
  130. data/doc/api/classes/Rumai/Chain.html +0 -179
  131. data/doc/api/classes/Rumai/Chain.src/M000076.html +0 -18
  132. data/doc/api/classes/Rumai/Chain.src/M000077.html +0 -18
  133. data/doc/api/classes/Rumai/Chain.src/M000078.html +0 -18
  134. data/doc/api/classes/Rumai/Client.html +0 -481
  135. data/doc/api/classes/Rumai/Client.src/M000113.html +0 -18
  136. data/doc/api/classes/Rumai/Client.src/M000114.html +0 -18
  137. data/doc/api/classes/Rumai/Client.src/M000115.html +0 -18
  138. data/doc/api/classes/Rumai/Client.src/M000116.html +0 -39
  139. data/doc/api/classes/Rumai/Client.src/M000117.html +0 -19
  140. data/doc/api/classes/Rumai/Client.src/M000118.html +0 -19
  141. data/doc/api/classes/Rumai/Client.src/M000119.html +0 -18
  142. data/doc/api/classes/Rumai/Client.src/M000120.html +0 -18
  143. data/doc/api/classes/Rumai/Client.src/M000121.html +0 -18
  144. data/doc/api/classes/Rumai/Client.src/M000122.html +0 -18
  145. data/doc/api/classes/Rumai/Client.src/M000123.html +0 -19
  146. data/doc/api/classes/Rumai/Client.src/M000124.html +0 -20
  147. data/doc/api/classes/Rumai/Client.src/M000125.html +0 -20
  148. data/doc/api/classes/Rumai/Client.src/M000126.html +0 -22
  149. data/doc/api/classes/Rumai/Client.src/M000127.html +0 -18
  150. data/doc/api/classes/Rumai/Client.src/M000128.html +0 -20
  151. data/doc/api/classes/Rumai/Client.src/M000129.html +0 -18
  152. data/doc/api/classes/Rumai/Client.src/M000130.html +0 -22
  153. data/doc/api/classes/Rumai/ClientContainer.html +0 -180
  154. data/doc/api/classes/Rumai/ClientContainer.src/M000027.html +0 -18
  155. data/doc/api/classes/Rumai/ClientContainer.src/M000028.html +0 -18
  156. data/doc/api/classes/Rumai/ClientContainer.src/M000029.html +0 -18
  157. data/doc/api/classes/Rumai/ExportInstMethods.html +0 -119
  158. data/doc/api/classes/Rumai/IXP.html +0 -149
  159. data/doc/api/classes/Rumai/IXP/Agent.html +0 -447
  160. data/doc/api/classes/Rumai/IXP/Agent.src/M000044.html +0 -53
  161. data/doc/api/classes/Rumai/IXP/Agent.src/M000045.html +0 -36
  162. data/doc/api/classes/Rumai/IXP/Agent.src/M000046.html +0 -39
  163. data/doc/api/classes/Rumai/IXP/Agent.src/M000047.html +0 -20
  164. data/doc/api/classes/Rumai/IXP/Agent.src/M000048.html +0 -22
  165. data/doc/api/classes/Rumai/IXP/Agent.src/M000049.html +0 -20
  166. data/doc/api/classes/Rumai/IXP/Agent.src/M000050.html +0 -33
  167. data/doc/api/classes/Rumai/IXP/Agent.src/M000051.html +0 -19
  168. data/doc/api/classes/Rumai/IXP/Agent.src/M000052.html +0 -18
  169. data/doc/api/classes/Rumai/IXP/Agent.src/M000053.html +0 -21
  170. data/doc/api/classes/Rumai/IXP/Agent.src/M000054.html +0 -20
  171. data/doc/api/classes/Rumai/IXP/Agent.src/M000055.html +0 -20
  172. data/doc/api/classes/Rumai/IXP/Agent.src/M000056.html +0 -22
  173. data/doc/api/classes/Rumai/IXP/Agent.src/M000057.html +0 -23
  174. data/doc/api/classes/Rumai/IXP/Agent.src/M000058.html +0 -19
  175. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -312
  176. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000060.html +0 -23
  177. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000061.html +0 -19
  178. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000062.html +0 -22
  179. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000063.html +0 -18
  180. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000064.html +0 -45
  181. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000065.html +0 -36
  182. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -130
  183. data/doc/api/classes/Rumai/IXP/Agent/MODES.src/M000059.html +0 -22
  184. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -203
  185. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000067.html +0 -22
  186. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000068.html +0 -36
  187. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000069.html +0 -18
  188. data/doc/api/classes/Rumai/IXP/Error.html +0 -117
  189. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -261
  190. data/doc/api/classes/Rumai/IXP/Fcall.src/M000070.html +0 -20
  191. data/doc/api/classes/Rumai/IXP/Fcall.src/M000071.html +0 -25
  192. data/doc/api/classes/Rumai/IXP/Fcall.src/M000072.html +0 -18
  193. data/doc/api/classes/Rumai/IXP/Fcall.src/M000073.html +0 -18
  194. data/doc/api/classes/Rumai/IXP/Qid.html +0 -184
  195. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -119
  196. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -119
  197. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -119
  198. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -119
  199. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -119
  200. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -119
  201. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -119
  202. data/doc/api/classes/Rumai/IXP/Rread.html +0 -119
  203. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -119
  204. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -119
  205. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -119
  206. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -119
  207. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -119
  208. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -119
  209. data/doc/api/classes/Rumai/IXP/Stat.html +0 -248
  210. data/doc/api/classes/Rumai/IXP/Stat.src/M000075.html +0 -18
  211. data/doc/api/classes/Rumai/IXP/Stream.html +0 -158
  212. data/doc/api/classes/Rumai/IXP/Stream.src/M000043.html +0 -18
  213. data/doc/api/classes/Rumai/IXP/Struct.html +0 -221
  214. data/doc/api/classes/Rumai/IXP/Struct.src/M000030.html +0 -19
  215. data/doc/api/classes/Rumai/IXP/Struct.src/M000031.html +0 -18
  216. data/doc/api/classes/Rumai/IXP/Struct.src/M000032.html +0 -20
  217. data/doc/api/classes/Rumai/IXP/Struct.src/M000033.html +0 -57
  218. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -296
  219. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000034.html +0 -21
  220. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000035.html +0 -21
  221. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000036.html +0 -20
  222. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000037.html +0 -29
  223. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000038.html +0 -18
  224. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000039.html +0 -18
  225. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -152
  226. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000041.html +0 -24
  227. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000042.html +0 -25
  228. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -137
  229. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.src/M000040.html +0 -18
  230. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -120
  231. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -119
  232. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -119
  233. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -120
  234. data/doc/api/classes/Rumai/IXP/Terror.html +0 -145
  235. data/doc/api/classes/Rumai/IXP/Terror.src/M000074.html +0 -18
  236. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -119
  237. data/doc/api/classes/Rumai/IXP/Topen.html +0 -193
  238. data/doc/api/classes/Rumai/IXP/Tread.html +0 -119
  239. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -119
  240. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -119
  241. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -137
  242. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -120
  243. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -120
  244. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -119
  245. data/doc/api/classes/Rumai/Node.html +0 -461
  246. data/doc/api/classes/Rumai/Node.src/M000096.html +0 -18
  247. data/doc/api/classes/Rumai/Node.src/M000097.html +0 -18
  248. data/doc/api/classes/Rumai/Node.src/M000098.html +0 -22
  249. data/doc/api/classes/Rumai/Node.src/M000099.html +0 -18
  250. data/doc/api/classes/Rumai/Node.src/M000100.html +0 -18
  251. data/doc/api/classes/Rumai/Node.src/M000101.html +0 -18
  252. data/doc/api/classes/Rumai/Node.src/M000102.html +0 -18
  253. data/doc/api/classes/Rumai/Node.src/M000103.html +0 -22
  254. data/doc/api/classes/Rumai/Node.src/M000104.html +0 -18
  255. data/doc/api/classes/Rumai/Node.src/M000105.html +0 -18
  256. data/doc/api/classes/Rumai/Node.src/M000106.html +0 -18
  257. data/doc/api/classes/Rumai/Node.src/M000107.html +0 -18
  258. data/doc/api/classes/Rumai/Node.src/M000108.html +0 -18
  259. data/doc/api/classes/Rumai/Node.src/M000109.html +0 -18
  260. data/doc/api/classes/Rumai/Node.src/M000110.html +0 -18
  261. data/doc/api/classes/Rumai/Node.src/M000111.html +0 -20
  262. data/doc/api/classes/Rumai/Node.src/M000112.html +0 -27
  263. data/doc/api/classes/Rumai/View.html +0 -436
  264. data/doc/api/classes/Rumai/View.src/M000131.html +0 -18
  265. data/doc/api/classes/Rumai/View.src/M000132.html +0 -18
  266. data/doc/api/classes/Rumai/View.src/M000133.html +0 -18
  267. data/doc/api/classes/Rumai/View.src/M000134.html +0 -18
  268. data/doc/api/classes/Rumai/View.src/M000135.html +0 -18
  269. data/doc/api/classes/Rumai/View.src/M000136.html +0 -18
  270. data/doc/api/classes/Rumai/View.src/M000137.html +0 -18
  271. data/doc/api/classes/Rumai/View.src/M000138.html +0 -28
  272. data/doc/api/classes/Rumai/View.src/M000139.html +0 -18
  273. data/doc/api/classes/Rumai/View.src/M000140.html +0 -18
  274. data/doc/api/classes/Rumai/View.src/M000141.html +0 -18
  275. data/doc/api/classes/Rumai/View.src/M000142.html +0 -18
  276. data/doc/api/classes/Rumai/View.src/M000143.html +0 -29
  277. data/doc/api/classes/Rumai/View.src/M000144.html +0 -20
  278. data/doc/api/classes/Rumai/View.src/M000145.html +0 -33
  279. data/doc/api/classes/Rumai/View.src/M000146.html +0 -50
  280. data/doc/api/classes/String.html +0 -169
  281. data/doc/api/classes/String.src/M000005.html +0 -18
  282. data/doc/api/classes/String.src/M000006.html +0 -18
  283. data/doc/api/classes/StringIO.html +0 -120
  284. data/doc/api/classes/Time.html +0 -163
  285. data/doc/api/classes/Time.src/M000003.html +0 -18
  286. data/doc/api/classes/Time.src/M000004.html +0 -18
  287. data/doc/api/created.rid +0 -1
  288. data/doc/api/files/lib/rumai/fs_rb.html +0 -115
  289. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -120
  290. data/doc/api/files/lib/rumai/ixp/message_spec_rb.html +0 -175
  291. data/doc/api/files/lib/rumai/ixp/message_spec_rb.src/M000001.html +0 -37
  292. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -115
  293. data/doc/api/files/lib/rumai/ixp_rb.html +0 -116
  294. data/doc/api/files/lib/rumai/nfo_rb.html +0 -107
  295. data/doc/api/files/lib/rumai/wm_rb.html +0 -115
  296. data/doc/api/files/lib/rumai_rb.html +0 -115
  297. data/doc/api/fr_class_index.html +0 -82
  298. data/doc/api/fr_file_index.html +0 -34
  299. data/doc/api/fr_method_index.html +0 -172
  300. data/doc/api/rdoc-style.css +0 -208
  301. data/doc/guide.erb +0 -390
  302. data/doc/guide.html +0 -2043
  303. data/lib/rumai/ixp/message_spec.rb +0 -247
  304. data/lib/rumai/nfo.rb +0 -24
@@ -0,0 +1,71 @@
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::Rwrite</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section class Rumai_IXP_Rwrite">
16
+ <h1 class="title">Class: Rumai::IXP::Rwrite</h1>
17
+ <div class="section inheritance">
18
+ <ul>
19
+ <li><a href="../../Object.html" title="Object">Object</a></li><ul><li><a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></li><ul><li>Rumai::IXP::Rwrite</li>
20
+ </ul></ul></ul>
21
+ </div><div class="section docstring">
22
+ <p>
23
+ size[4] Rwrite tag[2] count[4]
24
+ </p>
25
+
26
+ </div><div class="section constants">
27
+ <div class="inherited">
28
+
29
+ <div>
30
+ <h1>Constants Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
31
+ <p><span class='name'><a href="Fcall.html#CLASS_TO_TYPE-constant" title="CLASS_TO_TYPE">CLASS_TO_TYPE</a></span>, <span class='name'><a href="Fcall.html#TYPE_TO_CLASS-constant" title="TYPE_TO_CLASS">TYPE_TO_CLASS</a></span></p>
32
+ </div>
33
+
34
+ </div>
35
+ <div class="clear"></div>
36
+ </div><div class="section constructor">
37
+ <h1>Constructor Summary</h1>
38
+ <p class="inherited_msg">
39
+ This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
40
+ </p>
41
+ </div> <div class="section visibilitygroup public">
42
+ <h1>Public Visibility</h1>
43
+ <div class="section methodsummary class public">
44
+ <div class="inherited">
45
+
46
+ <div>
47
+ <h1>Public Class Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
48
+ <p><span class='name'><a href="Fcall.html#from_9p-class_method" title="from_9p">from_9p</a></span>, <span class='name'><a href="Fcall.html#type-class_method" title="type">type</a></span></p>
49
+ </div>
50
+
51
+ </div>
52
+ <div class="clear"></div>
53
+ </div>
54
+ <div class="section methodsummary instance public">
55
+ <div class="inherited">
56
+
57
+ <div>
58
+ <h1>Public Instance Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
59
+ <p><span class='name'><a href="Fcall.html#to_9p-instance_method" title="to_9p">to_9p</a></span>, <span class='name'><a href="Fcall.html#type-instance_method" title="type">type</a></span></p>
60
+ </div>
61
+
62
+ </div>
63
+ <div class="clear"></div>
64
+ </div>
65
+
66
+ </div>
67
+
68
+ </div>
69
+ </div>
70
+ </body>
71
+ </html>
@@ -0,0 +1,71 @@
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::Rwstat</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section class Rumai_IXP_Rwstat">
16
+ <h1 class="title">Class: Rumai::IXP::Rwstat</h1>
17
+ <div class="section inheritance">
18
+ <ul>
19
+ <li><a href="../../Object.html" title="Object">Object</a></li><ul><li><a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></li><ul><li>Rumai::IXP::Rwstat</li>
20
+ </ul></ul></ul>
21
+ </div><div class="section docstring">
22
+ <p>
23
+ size[4] Rwstat tag[2]
24
+ </p>
25
+
26
+ </div><div class="section constants">
27
+ <div class="inherited">
28
+
29
+ <div>
30
+ <h1>Constants Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
31
+ <p><span class='name'><a href="Fcall.html#CLASS_TO_TYPE-constant" title="CLASS_TO_TYPE">CLASS_TO_TYPE</a></span>, <span class='name'><a href="Fcall.html#TYPE_TO_CLASS-constant" title="TYPE_TO_CLASS">TYPE_TO_CLASS</a></span></p>
32
+ </div>
33
+
34
+ </div>
35
+ <div class="clear"></div>
36
+ </div><div class="section constructor">
37
+ <h1>Constructor Summary</h1>
38
+ <p class="inherited_msg">
39
+ This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
40
+ </p>
41
+ </div> <div class="section visibilitygroup public">
42
+ <h1>Public Visibility</h1>
43
+ <div class="section methodsummary class public">
44
+ <div class="inherited">
45
+
46
+ <div>
47
+ <h1>Public Class Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
48
+ <p><span class='name'><a href="Fcall.html#from_9p-class_method" title="from_9p">from_9p</a></span>, <span class='name'><a href="Fcall.html#type-class_method" title="type">type</a></span></p>
49
+ </div>
50
+
51
+ </div>
52
+ <div class="clear"></div>
53
+ </div>
54
+ <div class="section methodsummary instance public">
55
+ <div class="inherited">
56
+
57
+ <div>
58
+ <h1>Public Instance Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
59
+ <p><span class='name'><a href="Fcall.html#to_9p-instance_method" title="to_9p">to_9p</a></span>, <span class='name'><a href="Fcall.html#type-instance_method" title="type">type</a></span></p>
60
+ </div>
61
+
62
+ </div>
63
+ <div class="clear"></div>
64
+ </div>
65
+
66
+ </div>
67
+
68
+ </div>
69
+ </div>
70
+ </body>
71
+ </html>
@@ -0,0 +1,188 @@
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::Stat</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section class Rumai_IXP_Stat">
16
+ <h1 class="title">Class: Rumai::IXP::Stat</h1>
17
+ <div class="section inheritance">
18
+ <ul>
19
+ <li><a href="../../Object.html" title="Object">Object</a></li><ul><li>Rumai::IXP::Stat</li>
20
+ </ul></ul>
21
+ </div><div class="section mixins">
22
+ <h1>Included Modules</h1>
23
+ <p><a href="Stat/Struct.html" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a></p>
24
+ </div><div class="section docstring">
25
+ <p>
26
+ Holds information about a file on a 9P2000 server.
27
+ </p>
28
+ <p>
29
+ See http://cm.bell-labs.com/magic/man2html/5/stat
30
+ </p>
31
+
32
+ </div><div class="section constants">
33
+ <div class="thisclass">
34
+ <h1>Constants</h1>
35
+ <dl>
36
+
37
+ <dt id="DMAPPEND-constant">DMAPPEND</dt>
38
+ <dd>0x40000000 </dd>
39
+
40
+ <dt id="DMAUTH-constant">DMAUTH</dt>
41
+ <dd>0x08000000 </dd>
42
+
43
+ <dt id="DMDEVICE-constant">DMDEVICE</dt>
44
+ <dd>0x00800000 </dd>
45
+
46
+ <dt id="DMDIR-constant">DMDIR</dt>
47
+ <dd>0x80000000 </dd>
48
+
49
+ <dt id="DMEXCL-constant">DMEXCL</dt>
50
+ <dd>0x20000000 </dd>
51
+
52
+ <dt id="DMEXEC-constant">DMEXEC</dt>
53
+ <dd>0x1 </dd>
54
+
55
+ <dt id="DMMOUNT-constant">DMMOUNT</dt>
56
+ <dd>0x10000000 </dd>
57
+
58
+ <dt id="DMNAMEDPIPE-constant">DMNAMEDPIPE</dt>
59
+ <dd>0x00200000 </dd>
60
+
61
+ <dt id="DMREAD-constant">DMREAD</dt>
62
+ <dd>0x4 </dd>
63
+
64
+ <dt id="DMSETGID-constant">DMSETGID</dt>
65
+ <dd>0x00040000 </dd>
66
+
67
+ <dt id="DMSETUID-constant">DMSETUID</dt>
68
+ <dd>0x00080000 </dd>
69
+
70
+ <dt id="DMSOCKET-constant">DMSOCKET</dt>
71
+ <dd>0x00100000 </dd>
72
+
73
+ <dt id="DMSYMLINK-constant">DMSYMLINK</dt>
74
+ <dd>0x02000000 </dd>
75
+
76
+ <dt id="DMTMP-constant">DMTMP</dt>
77
+ <dd>0x04000000 </dd>
78
+
79
+ <dt id="DMWRITE-constant">DMWRITE</dt>
80
+ <dd>0x2 </dd>
81
+
82
+ </dl>
83
+ </div>
84
+
85
+ </div><div class="section constructor">
86
+ <h1>Constructor Summary</h1>
87
+ <p class="inherited_msg">
88
+ This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
89
+ </p>
90
+ </div> <div class="section visibilitygroup public">
91
+ <h1>Public Visibility</h1>
92
+ <div class="section methodsummary class public">
93
+ <div class="included">
94
+
95
+ <div>
96
+ <h1>Public Class Methods Included from <a href="Stat/Struct.html" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a></h1>
97
+ <p><span class='name'><a href="Struct.html#included-class_method" title="included">included</a></span></p>
98
+ </div>
99
+
100
+ </div>
101
+ <div class="clear"></div>
102
+ </div>
103
+ <div class="section methodsummary instance public">
104
+ <h1>Public Instance Method Summary</h1>
105
+ <table class="summary">
106
+
107
+ <tr>
108
+ <th class="signature">
109
+ <span class='name'><a href="#directory%3F-instance_method" title="#directory?">#directory?</a></span><span class='args'></span>
110
+ <span class='block'></span>
111
+
112
+ </th>
113
+ <td class="docstring">
114
+ <p>
115
+ Tests if this file is a directory.
116
+ </p>
117
+
118
+
119
+ </td>
120
+ </tr>
121
+
122
+ </table><div class="included">
123
+
124
+ <div>
125
+ <h1>Public Instance Methods Included from <a href="Stat/Struct.html" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a></h1>
126
+ <p><span class='name'><a href="Struct.html#load_9p-instance_method" title="load_9p">load_9p</a></span>, <span class='name'><a href="Struct.html#to_9p-instance_method" title="to_9p">to_9p</a></span></p>
127
+ </div>
128
+
129
+ </div>
130
+ <div class="clear"></div>
131
+ </div>
132
+ <div class="section methoddetails instance public">
133
+ <h1>Public Instance Method Details</h1>
134
+
135
+ <div class="method">
136
+ <div class="method_header">
137
+ <h3>directory?</h3>
138
+ </div><div id="directory%3F-instance_method" class="section method">
139
+ <div class="details_title">
140
+ <div class='section methodsignature'>
141
+ <tt class='def'>
142
+ <span class='visibility'>public</span>
143
+ <span class='return_types'></span>
144
+ <span class='name'>directory?</span><span class='args'></span>
145
+ <span class='block'></span>
146
+ </tt>
147
+ </div>
148
+
149
+ </div><div class="section docstring">
150
+ <p>
151
+ Tests if this file is a directory.
152
+ </p>
153
+
154
+ </div><div class="section source">
155
+ <span>[<a class="source_link" href="#">View source</a>]</span>
156
+ <div class="source_code">
157
+ <table>
158
+ <tr>
159
+ <td>
160
+ <pre class="lines">
161
+
162
+
163
+ 305
164
+ 306
165
+ 307</pre>
166
+ </td>
167
+ <td>
168
+ <pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 305</span>
169
+
170
+ <span class='def def kw'>def</span> <span class='directory? fid id'>directory?</span>
171
+ <span class='mode identifier id'>mode</span> <span class='bitand op'>&amp;</span> <span class='DMDIR constant id'>DMDIR</span> <span class='gt op'>&gt;</span> <span class='integer val'>0</span>
172
+ <span class='end end kw'>end</span>
173
+ </pre>
174
+ </td>
175
+ </tr>
176
+ </table>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ </div>
181
+
182
+ </div>
183
+ </div>
184
+
185
+ </div>
186
+ </div>
187
+ </body>
188
+ </html>
@@ -0,0 +1,112 @@
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::Stream</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section module Rumai_IXP_Stream">
16
+ <h1 class="title">Module: Rumai::IXP::Stream</h1>
17
+ <div class="section docstring">
18
+ <p>
19
+ A 9P2000 byte stream.
20
+ </p>
21
+
22
+ </div><div class="section constants">
23
+ <div class="thisclass">
24
+ <h1>Constants</h1>
25
+ <dl>
26
+
27
+ <dt id="PACKING_FLAGS-constant">PACKING_FLAGS</dt>
28
+ <dd>{ 1 =&gt; 'C', 2 =&gt; 'v', 4 =&gt; 'V' }.freeze</dd>
29
+
30
+ </dl>
31
+ </div>
32
+
33
+ </div> <div class="section visibilitygroup public">
34
+ <h1>Public Visibility</h1>
35
+ <div class="section methodsummary instance public">
36
+ <h1>Public Instance Method Summary</h1>
37
+ <table class="summary">
38
+
39
+ <tr>
40
+ <th class="signature">
41
+ <span class='name'><a href="#read_9p-instance_method" title="#read_9p">#read_9p</a></span><span class='args'>(aNumBytes)</span>
42
+ <span class='block'></span>
43
+
44
+ </th>
45
+ <td class="docstring">
46
+ <p>
47
+ Unpacks the given number of bytes from this 9P2000 byte stream.
48
+ </p>
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>read_9p</h3>
62
+ </div><div id="read_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'>read_9p</span><span class='args'>(aNumBytes)</span>
69
+ <span class='block'></span>
70
+ </tt>
71
+ </div>
72
+
73
+ </div><div class="section docstring">
74
+ <p>
75
+ Unpacks the given number of bytes from this 9P2000 byte stream.
76
+ </p>
77
+
78
+ </div><div class="section source">
79
+ <span>[<a class="source_link" href="#">View source</a>]</span>
80
+ <div class="source_code">
81
+ <table>
82
+ <tr>
83
+ <td>
84
+ <pre class="lines">
85
+
86
+
87
+ 28
88
+ 29
89
+ 30</pre>
90
+ </td>
91
+ <td>
92
+ <pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 28</span>
93
+
94
+ <span class='def def kw'>def</span> <span class='read_9p identifier id'>read_9p</span> <span class='aNumBytes identifier id'>aNumBytes</span>
95
+ <span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='aNumBytes identifier id'>aNumBytes</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='unpack identifier id'>unpack</span><span class='lparen token'>(</span><span class='PACKING_FLAGS constant id'>PACKING_FLAGS</span><span class='lbrack token'>[</span><span class='aNumBytes identifier id'>aNumBytes</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
96
+ <span class='end end kw'>end</span>
97
+ </pre>
98
+ </td>
99
+ </tr>
100
+ </table>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </div>
105
+
106
+ </div>
107
+ </div>
108
+
109
+ </div>
110
+ </div>
111
+ </body>
112
+ </html>
@@ -0,0 +1,348 @@
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</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section module Rumai_IXP_Struct">
16
+ <h1 class="title">Module: Rumai::IXP::Struct</h1>
17
+ <div class="section docstring">
18
+ <p>
19
+ A serializable 9P2000 data structure.
20
+ </p>
21
+
22
+ </div><div class="section attributes">
23
+ <h1>Attributes</h1>
24
+
25
+
26
+ <div class="instance">
27
+ <h2>Instance Attributes</h2>
28
+ <table>
29
+
30
+ <tr>
31
+ <th class="name">fields</td>
32
+ <td class="readwrite">
33
+ [<span id='fields-instance_method'>R</span>W]
34
+ </td>
35
+ <td class="visibility">
36
+ public
37
+ </td>
38
+ <td class="docstring">
39
+ <p>
40
+ Returns the value of attribute <tt>fields</tt>.
41
+ </p>
42
+
43
+
44
+ </td>
45
+ </tr>
46
+
47
+ </table>
48
+ </div>
49
+
50
+ </div><div class="section constants">
51
+
52
+ </div> <div class="section visibilitygroup public">
53
+ <h1>Public Visibility</h1>
54
+ <div class="section methodsummary class public">
55
+ <h1>Public Class Method Summary</h1>
56
+ <table class="summary">
57
+
58
+ <tr>
59
+ <th class="signature">
60
+ <span class='name'><a href="#included-class_method" title="included">included</a></span><span class='args'>(aTarget)</span>
61
+ <span class='block'></span>
62
+
63
+ </th>
64
+ <td class="docstring">
65
+ <p>
66
+ Provides a convenient DSL (for defining fields) to all objects which
67
+ <b>include</b> this module.
68
+ </p>
69
+
70
+
71
+ </td>
72
+ </tr>
73
+
74
+ </table>
75
+ </div>
76
+ <div class="section methodsummary instance public">
77
+ <h1>Public Instance Method Summary</h1>
78
+ <table class="summary">
79
+
80
+ <tr>
81
+ <th class="signature">
82
+ <span class='name'><a href="#load_9p-instance_method" title="#load_9p">#load_9p</a></span><span class='args'>(aStream)</span>
83
+ <span class='block'></span>
84
+
85
+ </th>
86
+ <td class="docstring">
87
+ <p>
88
+ Populates this object with information from the given 9P2000 byte stream.
89
+ </p>
90
+
91
+
92
+ </td>
93
+ </tr>
94
+
95
+ <tr>
96
+ <th class="signature">
97
+ <span class='name'><a href="#to_9p-instance_method" title="#to_9p">#to_9p</a></span><span class='args'></span>
98
+ <span class='block'></span>
99
+
100
+ </th>
101
+ <td class="docstring">
102
+ <p>
103
+ Transforms this object into a string of 9P2000 bytes.
104
+ </p>
105
+
106
+
107
+ </td>
108
+ </tr>
109
+
110
+ </table>
111
+ </div>
112
+ <div class="section methoddetails class public">
113
+ <h1>Public Class Method Details</h1>
114
+
115
+ <div class="method">
116
+ <div class="method_header">
117
+ <h3>included</h3>
118
+ </div><div id="included-class_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'>included</span><span class='args'>(aTarget)</span>
125
+ <span class='block'></span>
126
+ </tt>
127
+ </div>
128
+
129
+ </div><div class="section docstring">
130
+ <p>
131
+ Provides a convenient DSL (for defining fields) to all objects which
132
+ <b>include</b> this module.
133
+ </p>
134
+
135
+ </div><div class="section source">
136
+ <span>[<a class="source_link" href="#">View source</a>]</span>
137
+ <div class="source_code">
138
+ <table>
139
+ <tr>
140
+ <td>
141
+ <pre class="lines">
142
+
143
+
144
+ 63
145
+ 64
146
+ 65
147
+ 66
148
+ 67
149
+ 68
150
+ 69
151
+ 70
152
+ 71
153
+ 72
154
+ 73
155
+ 74
156
+ 75
157
+ 76
158
+ 77
159
+ 78
160
+ 79
161
+ 80
162
+ 81
163
+ 82
164
+ 83
165
+ 84
166
+ 85
167
+ 86
168
+ 87
169
+ 88
170
+ 89
171
+ 90
172
+ 91
173
+ 92
174
+ 93
175
+ 94
176
+ 95
177
+ 96
178
+ 97
179
+ 98
180
+ 99
181
+ 100
182
+ 101
183
+ 102
184
+ 103
185
+ 104</pre>
186
+ </td>
187
+ <td>
188
+ <pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 63</span>
189
+
190
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='included identifier id'>included</span> <span class='aTarget identifier id'>aTarget</span>
191
+ <span class='class class kw'>class</span> <span class='lshft op'>&lt;&lt;</span> <span class='aTarget identifier id'>aTarget</span>
192
+ <span class='comment val'># Returns a list of fields which compose this Struct.</span>
193
+ <span class='def def kw'>def</span> <span class='fields identifier id'>fields</span>
194
+ <span class='@fields ivar id'>@fields</span> <span class='opasgn op'>||=</span>
195
+ <span class='if if kw'>if</span> <span class='superclass identifier id'>superclass</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='colon op'>:</span><span class='fields identifier id'>fields</span>
196
+ <span class='superclass identifier id'>superclass</span><span class='dot token'>.</span><span class='fields identifier id'>fields</span><span class='dot token'>.</span><span class='dup identifier id'>dup</span>
197
+ <span class='else else kw'>else</span>
198
+ <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
199
+ <span class='end end kw'>end</span>
200
+ <span class='end end kw'>end</span>
201
+
202
+ <span class='comment val'># Defines a new field in this Struct.</span>
203
+ <span class='comment val'># aArgs:: arguments for Field.new()</span>
204
+ <span class='def def kw'>def</span> <span class='field identifier id'>field</span> <span class='aName identifier id'>aName</span><span class='comma token'>,</span> <span class='aFormat identifier id'>aFormat</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
205
+ <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='Field constant id'>Field</span><span class='dot token'>.</span><span class='factory identifier id'>factory</span><span class='lparen token'>(</span><span class='aFormat identifier id'>aFormat</span><span class='rparen token'>)</span>
206
+ <span class='f identifier id'>f</span> <span class='assign token'>=</span> <span class='c identifier id'>c</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='aName identifier id'>aName</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span><span class='comma token'>,</span> <span class='aFormat identifier id'>aFormat</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span><span class='rparen token'>)</span>
207
+ <span class='fields identifier id'>fields</span> <span class='lshft op'>&lt;&lt;</span> <span class='f identifier id'>f</span> <span class='comment val'># register field as being part of this structure</span>
208
+
209
+ <span class='comment val'># provide accessor methods to field values</span>
210
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='class_eval identifier id'>class_eval</span> <span class='dstring node'>%{
211
+ def #{f.name}
212
+ @values[#{f.name.inspect}]
213
+ end
214
+
215
+ def #{f.name}= aValue
216
+ @values[#{f.name.inspect}] = aValue
217
+ end
218
+ }</span>
219
+
220
+ <span class='return return kw'>return</span> <span class='f identifier id'>f</span>
221
+ <span class='end end kw'>end</span>
222
+
223
+ <span class='comment val'># Creates a new instance of this class from the</span>
224
+ <span class='comment val'># given 9P2000 byte stream and returns the instance.</span>
225
+ <span class='def def kw'>def</span> <span class='from_9p identifier id'>from_9p</span> <span class='aStream identifier id'>aStream</span><span class='comma token'>,</span> <span class='aMsgClass identifier id'>aMsgClass</span> <span class='assign token'>=</span> <span class='self self kw'>self</span>
226
+ <span class='msg identifier id'>msg</span> <span class='assign token'>=</span> <span class='aMsgClass identifier id'>aMsgClass</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
227
+ <span class='msg identifier id'>msg</span><span class='dot token'>.</span><span class='load_9p identifier id'>load_9p</span><span class='lparen token'>(</span><span class='aStream identifier id'>aStream</span><span class='rparen token'>)</span>
228
+ <span class='msg identifier id'>msg</span>
229
+ <span class='end end kw'>end</span>
230
+ <span class='end end kw'>end</span>
231
+ <span class='end end kw'>end</span>
232
+ </pre>
233
+ </td>
234
+ </tr>
235
+ </table>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ </div>
240
+
241
+ </div><div class="section methoddetails instance public">
242
+ <h1>Public Instance Method Details</h1>
243
+
244
+ <div class="method">
245
+ <div class="method_header">
246
+ <h3>load_9p</h3>
247
+ </div><div id="load_9p-instance_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'>load_9p</span><span class='args'>(aStream)</span>
254
+ <span class='block'></span>
255
+ </tt>
256
+ </div>
257
+
258
+ </div><div class="section docstring">
259
+ <p>
260
+ Populates this object with information from the given 9P2000 byte stream.
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
+ 55
273
+ 56
274
+ 57
275
+ 58
276
+ 59</pre>
277
+ </td>
278
+ <td>
279
+ <pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 55</span>
280
+
281
+ <span class='def def kw'>def</span> <span class='load_9p identifier id'>load_9p</span> <span class='aStream identifier id'>aStream</span>
282
+ <span class='@fields ivar id'>@fields</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='f identifier id'>f</span><span class='bitor op'>|</span>
283
+ <span class='f identifier id'>f</span><span class='dot token'>.</span><span class='load_9p identifier id'>load_9p</span> <span class='aStream identifier id'>aStream</span><span class='comma token'>,</span> <span class='@values ivar id'>@values</span>
284
+ <span class='end end kw'>end</span>
285
+ <span class='end end kw'>end</span>
286
+ </pre>
287
+ </td>
288
+ </tr>
289
+ </table>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ </div>
294
+
295
+ <div class="method">
296
+ <div class="method_header">
297
+ <h3>to_9p</h3>
298
+ </div><div id="to_9p-instance_method" class="section method">
299
+ <div class="details_title">
300
+ <div class='section methodsignature'>
301
+ <tt class='def'>
302
+ <span class='visibility'>public</span>
303
+ <span class='return_types'></span>
304
+ <span class='name'>to_9p</span><span class='args'></span>
305
+ <span class='block'></span>
306
+ </tt>
307
+ </div>
308
+
309
+ </div><div class="section docstring">
310
+ <p>
311
+ Transforms this object into a string of 9P2000 bytes.
312
+ </p>
313
+
314
+ </div><div class="section source">
315
+ <span>[<a class="source_link" href="#">View source</a>]</span>
316
+ <div class="source_code">
317
+ <table>
318
+ <tr>
319
+ <td>
320
+ <pre class="lines">
321
+
322
+
323
+ 49
324
+ 50
325
+ 51</pre>
326
+ </td>
327
+ <td>
328
+ <pre class="code"><span class="info file"># File 'lib/rumai/ixp/message.rb', line 49</span>
329
+
330
+ <span class='def def kw'>def</span> <span class='to_9p identifier id'>to_9p</span>
331
+ <span class='@fields ivar id'>@fields</span><span class='dot token'>.</span><span class='inject identifier id'>inject</span><span class='lparen token'>(</span><span class='string val'>''</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='s identifier id'>s</span><span class='comma token'>,</span><span class='f identifier id'>f</span><span class='bitor op'>|</span> <span class='s identifier id'>s</span> <span class='lshft op'>&lt;&lt;</span> <span class='f identifier id'>f</span><span class='dot token'>.</span><span class='to_9p identifier id'>to_9p</span><span class='lparen token'>(</span><span class='@values ivar id'>@values</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
332
+ <span class='end end kw'>end</span>
333
+ </pre>
334
+ </td>
335
+ </tr>
336
+ </table>
337
+ </div>
338
+ </div>
339
+ </div>
340
+ </div>
341
+
342
+ </div>
343
+ </div>
344
+
345
+ </div>
346
+ </div>
347
+ </body>
348
+ </html>