messages.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Nfsv3RmdirResFail = exports.Nfsv3RmdirResOk = exports.Nfsv3RmdirRequest = exports.Nfsv3RemoveResponse = exports.Nfsv3RemoveResFail = exports.Nfsv3RemoveResOk = exports.Nfsv3RemoveRequest = exports.Nfsv3MknodResponse = exports.Nfsv3MknodResFail = exports.Nfsv3MknodResOk = exports.Nfsv3MknodRequest = exports.Nfsv3SymlinkResponse = exports.Nfsv3SymlinkResFail = exports.Nfsv3SymlinkResOk = exports.Nfsv3SymlinkRequest = exports.Nfsv3MkdirResponse = exports.Nfsv3MkdirResFail = exports.Nfsv3MkdirResOk = exports.Nfsv3MkdirRequest = exports.Nfsv3CreateResponse = exports.Nfsv3CreateResFail = exports.Nfsv3CreateResOk = exports.Nfsv3CreateRequest = exports.Nfsv3WriteResponse = exports.Nfsv3WriteResFail = exports.Nfsv3WriteResOk = exports.Nfsv3WriteRequest = exports.Nfsv3ReadResponse = exports.Nfsv3ReadResFail = exports.Nfsv3ReadResOk = exports.Nfsv3ReadRequest = exports.Nfsv3ReadlinkResponse = exports.Nfsv3ReadlinkResFail = exports.Nfsv3ReadlinkResOk = exports.Nfsv3ReadlinkRequest = exports.Nfsv3AccessResponse = exports.Nfsv3AccessResFail = exports.Nfsv3AccessResOk = exports.Nfsv3AccessRequest = exports.Nfsv3LookupResponse = exports.Nfsv3LookupResFail = exports.Nfsv3LookupResOk = exports.Nfsv3LookupRequest = exports.Nfsv3SetattrResponse = exports.Nfsv3SetattrResFail = exports.Nfsv3SetattrResOk = exports.Nfsv3SetattrRequest = exports.Nfsv3GetattrResponse = exports.Nfsv3GetattrResOk = exports.Nfsv3GetattrRequest = void 0;
  4. exports.Nfsv3CommitResponse = exports.Nfsv3CommitResFail = exports.Nfsv3CommitResOk = exports.Nfsv3CommitRequest = exports.Nfsv3PathconfResponse = exports.Nfsv3PathconfResFail = exports.Nfsv3PathconfResOk = exports.Nfsv3PathconfRequest = exports.Nfsv3FsinfoResponse = exports.Nfsv3FsinfoResFail = exports.Nfsv3FsinfoResOk = exports.Nfsv3FsinfoRequest = exports.Nfsv3FsstatResponse = exports.Nfsv3FsstatResFail = exports.Nfsv3FsstatResOk = exports.Nfsv3FsstatRequest = exports.Nfsv3ReaddirplusResponse = exports.Nfsv3ReaddirplusResFail = exports.Nfsv3ReaddirplusResOk = exports.Nfsv3ReaddirplusRequest = exports.Nfsv3ReaddirResponse = exports.Nfsv3ReaddirResFail = exports.Nfsv3ReaddirResOk = exports.Nfsv3ReaddirRequest = exports.Nfsv3LinkResponse = exports.Nfsv3LinkResFail = exports.Nfsv3LinkResOk = exports.Nfsv3LinkRequest = exports.Nfsv3RenameResponse = exports.Nfsv3RenameResFail = exports.Nfsv3RenameResOk = exports.Nfsv3RenameRequest = exports.Nfsv3RmdirResponse = void 0;
  5. class Nfsv3GetattrRequest {
  6. constructor(object) {
  7. this.object = object;
  8. }
  9. }
  10. exports.Nfsv3GetattrRequest = Nfsv3GetattrRequest;
  11. class Nfsv3GetattrResOk {
  12. constructor(objAttributes) {
  13. this.objAttributes = objAttributes;
  14. }
  15. }
  16. exports.Nfsv3GetattrResOk = Nfsv3GetattrResOk;
  17. class Nfsv3GetattrResponse {
  18. constructor(status, resok) {
  19. this.status = status;
  20. this.resok = resok;
  21. }
  22. }
  23. exports.Nfsv3GetattrResponse = Nfsv3GetattrResponse;
  24. class Nfsv3SetattrRequest {
  25. constructor(object, newAttributes, guard) {
  26. this.object = object;
  27. this.newAttributes = newAttributes;
  28. this.guard = guard;
  29. }
  30. }
  31. exports.Nfsv3SetattrRequest = Nfsv3SetattrRequest;
  32. class Nfsv3SetattrResOk {
  33. constructor(objWcc) {
  34. this.objWcc = objWcc;
  35. }
  36. }
  37. exports.Nfsv3SetattrResOk = Nfsv3SetattrResOk;
  38. class Nfsv3SetattrResFail {
  39. constructor(objWcc) {
  40. this.objWcc = objWcc;
  41. }
  42. }
  43. exports.Nfsv3SetattrResFail = Nfsv3SetattrResFail;
  44. class Nfsv3SetattrResponse {
  45. constructor(status, resok, resfail) {
  46. this.status = status;
  47. this.resok = resok;
  48. this.resfail = resfail;
  49. }
  50. }
  51. exports.Nfsv3SetattrResponse = Nfsv3SetattrResponse;
  52. class Nfsv3LookupRequest {
  53. constructor(what) {
  54. this.what = what;
  55. }
  56. }
  57. exports.Nfsv3LookupRequest = Nfsv3LookupRequest;
  58. class Nfsv3LookupResOk {
  59. constructor(object, objAttributes, dirAttributes) {
  60. this.object = object;
  61. this.objAttributes = objAttributes;
  62. this.dirAttributes = dirAttributes;
  63. }
  64. }
  65. exports.Nfsv3LookupResOk = Nfsv3LookupResOk;
  66. class Nfsv3LookupResFail {
  67. constructor(dirAttributes) {
  68. this.dirAttributes = dirAttributes;
  69. }
  70. }
  71. exports.Nfsv3LookupResFail = Nfsv3LookupResFail;
  72. class Nfsv3LookupResponse {
  73. constructor(status, resok, resfail) {
  74. this.status = status;
  75. this.resok = resok;
  76. this.resfail = resfail;
  77. }
  78. }
  79. exports.Nfsv3LookupResponse = Nfsv3LookupResponse;
  80. class Nfsv3AccessRequest {
  81. constructor(object, access) {
  82. this.object = object;
  83. this.access = access;
  84. }
  85. }
  86. exports.Nfsv3AccessRequest = Nfsv3AccessRequest;
  87. class Nfsv3AccessResOk {
  88. constructor(objAttributes, access) {
  89. this.objAttributes = objAttributes;
  90. this.access = access;
  91. }
  92. }
  93. exports.Nfsv3AccessResOk = Nfsv3AccessResOk;
  94. class Nfsv3AccessResFail {
  95. constructor(objAttributes) {
  96. this.objAttributes = objAttributes;
  97. }
  98. }
  99. exports.Nfsv3AccessResFail = Nfsv3AccessResFail;
  100. class Nfsv3AccessResponse {
  101. constructor(status, resok, resfail) {
  102. this.status = status;
  103. this.resok = resok;
  104. this.resfail = resfail;
  105. }
  106. }
  107. exports.Nfsv3AccessResponse = Nfsv3AccessResponse;
  108. class Nfsv3ReadlinkRequest {
  109. constructor(symlink) {
  110. this.symlink = symlink;
  111. }
  112. }
  113. exports.Nfsv3ReadlinkRequest = Nfsv3ReadlinkRequest;
  114. class Nfsv3ReadlinkResOk {
  115. constructor(symlinkAttributes, data) {
  116. this.symlinkAttributes = symlinkAttributes;
  117. this.data = data;
  118. }
  119. }
  120. exports.Nfsv3ReadlinkResOk = Nfsv3ReadlinkResOk;
  121. class Nfsv3ReadlinkResFail {
  122. constructor(symlinkAttributes) {
  123. this.symlinkAttributes = symlinkAttributes;
  124. }
  125. }
  126. exports.Nfsv3ReadlinkResFail = Nfsv3ReadlinkResFail;
  127. class Nfsv3ReadlinkResponse {
  128. constructor(status, resok, resfail) {
  129. this.status = status;
  130. this.resok = resok;
  131. this.resfail = resfail;
  132. }
  133. }
  134. exports.Nfsv3ReadlinkResponse = Nfsv3ReadlinkResponse;
  135. class Nfsv3ReadRequest {
  136. constructor(file, offset, count) {
  137. this.file = file;
  138. this.offset = offset;
  139. this.count = count;
  140. }
  141. }
  142. exports.Nfsv3ReadRequest = Nfsv3ReadRequest;
  143. class Nfsv3ReadResOk {
  144. constructor(fileAttributes, count, eof, data) {
  145. this.fileAttributes = fileAttributes;
  146. this.count = count;
  147. this.eof = eof;
  148. this.data = data;
  149. }
  150. }
  151. exports.Nfsv3ReadResOk = Nfsv3ReadResOk;
  152. class Nfsv3ReadResFail {
  153. constructor(fileAttributes) {
  154. this.fileAttributes = fileAttributes;
  155. }
  156. }
  157. exports.Nfsv3ReadResFail = Nfsv3ReadResFail;
  158. class Nfsv3ReadResponse {
  159. constructor(status, resok, resfail) {
  160. this.status = status;
  161. this.resok = resok;
  162. this.resfail = resfail;
  163. }
  164. }
  165. exports.Nfsv3ReadResponse = Nfsv3ReadResponse;
  166. class Nfsv3WriteRequest {
  167. constructor(file, offset, count, stable, data) {
  168. this.file = file;
  169. this.offset = offset;
  170. this.count = count;
  171. this.stable = stable;
  172. this.data = data;
  173. }
  174. }
  175. exports.Nfsv3WriteRequest = Nfsv3WriteRequest;
  176. class Nfsv3WriteResOk {
  177. constructor(fileWcc, count, committed, verf) {
  178. this.fileWcc = fileWcc;
  179. this.count = count;
  180. this.committed = committed;
  181. this.verf = verf;
  182. }
  183. }
  184. exports.Nfsv3WriteResOk = Nfsv3WriteResOk;
  185. class Nfsv3WriteResFail {
  186. constructor(fileWcc) {
  187. this.fileWcc = fileWcc;
  188. }
  189. }
  190. exports.Nfsv3WriteResFail = Nfsv3WriteResFail;
  191. class Nfsv3WriteResponse {
  192. constructor(status, resok, resfail) {
  193. this.status = status;
  194. this.resok = resok;
  195. this.resfail = resfail;
  196. }
  197. }
  198. exports.Nfsv3WriteResponse = Nfsv3WriteResponse;
  199. class Nfsv3CreateRequest {
  200. constructor(where, how) {
  201. this.where = where;
  202. this.how = how;
  203. }
  204. }
  205. exports.Nfsv3CreateRequest = Nfsv3CreateRequest;
  206. class Nfsv3CreateResOk {
  207. constructor(obj, objAttributes, dirWcc) {
  208. this.obj = obj;
  209. this.objAttributes = objAttributes;
  210. this.dirWcc = dirWcc;
  211. }
  212. }
  213. exports.Nfsv3CreateResOk = Nfsv3CreateResOk;
  214. class Nfsv3CreateResFail {
  215. constructor(dirWcc) {
  216. this.dirWcc = dirWcc;
  217. }
  218. }
  219. exports.Nfsv3CreateResFail = Nfsv3CreateResFail;
  220. class Nfsv3CreateResponse {
  221. constructor(status, resok, resfail) {
  222. this.status = status;
  223. this.resok = resok;
  224. this.resfail = resfail;
  225. }
  226. }
  227. exports.Nfsv3CreateResponse = Nfsv3CreateResponse;
  228. class Nfsv3MkdirRequest {
  229. constructor(where, attributes) {
  230. this.where = where;
  231. this.attributes = attributes;
  232. }
  233. }
  234. exports.Nfsv3MkdirRequest = Nfsv3MkdirRequest;
  235. class Nfsv3MkdirResOk {
  236. constructor(obj, objAttributes, dirWcc) {
  237. this.obj = obj;
  238. this.objAttributes = objAttributes;
  239. this.dirWcc = dirWcc;
  240. }
  241. }
  242. exports.Nfsv3MkdirResOk = Nfsv3MkdirResOk;
  243. class Nfsv3MkdirResFail {
  244. constructor(dirWcc) {
  245. this.dirWcc = dirWcc;
  246. }
  247. }
  248. exports.Nfsv3MkdirResFail = Nfsv3MkdirResFail;
  249. class Nfsv3MkdirResponse {
  250. constructor(status, resok, resfail) {
  251. this.status = status;
  252. this.resok = resok;
  253. this.resfail = resfail;
  254. }
  255. }
  256. exports.Nfsv3MkdirResponse = Nfsv3MkdirResponse;
  257. class Nfsv3SymlinkRequest {
  258. constructor(where, symlinkAttributes, symlinkData) {
  259. this.where = where;
  260. this.symlinkAttributes = symlinkAttributes;
  261. this.symlinkData = symlinkData;
  262. }
  263. }
  264. exports.Nfsv3SymlinkRequest = Nfsv3SymlinkRequest;
  265. class Nfsv3SymlinkResOk {
  266. constructor(obj, objAttributes, dirWcc) {
  267. this.obj = obj;
  268. this.objAttributes = objAttributes;
  269. this.dirWcc = dirWcc;
  270. }
  271. }
  272. exports.Nfsv3SymlinkResOk = Nfsv3SymlinkResOk;
  273. class Nfsv3SymlinkResFail {
  274. constructor(dirWcc) {
  275. this.dirWcc = dirWcc;
  276. }
  277. }
  278. exports.Nfsv3SymlinkResFail = Nfsv3SymlinkResFail;
  279. class Nfsv3SymlinkResponse {
  280. constructor(status, resok, resfail) {
  281. this.status = status;
  282. this.resok = resok;
  283. this.resfail = resfail;
  284. }
  285. }
  286. exports.Nfsv3SymlinkResponse = Nfsv3SymlinkResponse;
  287. class Nfsv3MknodRequest {
  288. constructor(where, what) {
  289. this.where = where;
  290. this.what = what;
  291. }
  292. }
  293. exports.Nfsv3MknodRequest = Nfsv3MknodRequest;
  294. class Nfsv3MknodResOk {
  295. constructor(obj, objAttributes, dirWcc) {
  296. this.obj = obj;
  297. this.objAttributes = objAttributes;
  298. this.dirWcc = dirWcc;
  299. }
  300. }
  301. exports.Nfsv3MknodResOk = Nfsv3MknodResOk;
  302. class Nfsv3MknodResFail {
  303. constructor(dirWcc) {
  304. this.dirWcc = dirWcc;
  305. }
  306. }
  307. exports.Nfsv3MknodResFail = Nfsv3MknodResFail;
  308. class Nfsv3MknodResponse {
  309. constructor(status, resok, resfail) {
  310. this.status = status;
  311. this.resok = resok;
  312. this.resfail = resfail;
  313. }
  314. }
  315. exports.Nfsv3MknodResponse = Nfsv3MknodResponse;
  316. class Nfsv3RemoveRequest {
  317. constructor(object) {
  318. this.object = object;
  319. }
  320. }
  321. exports.Nfsv3RemoveRequest = Nfsv3RemoveRequest;
  322. class Nfsv3RemoveResOk {
  323. constructor(dirWcc) {
  324. this.dirWcc = dirWcc;
  325. }
  326. }
  327. exports.Nfsv3RemoveResOk = Nfsv3RemoveResOk;
  328. class Nfsv3RemoveResFail {
  329. constructor(dirWcc) {
  330. this.dirWcc = dirWcc;
  331. }
  332. }
  333. exports.Nfsv3RemoveResFail = Nfsv3RemoveResFail;
  334. class Nfsv3RemoveResponse {
  335. constructor(status, resok, resfail) {
  336. this.status = status;
  337. this.resok = resok;
  338. this.resfail = resfail;
  339. }
  340. }
  341. exports.Nfsv3RemoveResponse = Nfsv3RemoveResponse;
  342. class Nfsv3RmdirRequest {
  343. constructor(object) {
  344. this.object = object;
  345. }
  346. }
  347. exports.Nfsv3RmdirRequest = Nfsv3RmdirRequest;
  348. class Nfsv3RmdirResOk {
  349. constructor(dirWcc) {
  350. this.dirWcc = dirWcc;
  351. }
  352. }
  353. exports.Nfsv3RmdirResOk = Nfsv3RmdirResOk;
  354. class Nfsv3RmdirResFail {
  355. constructor(dirWcc) {
  356. this.dirWcc = dirWcc;
  357. }
  358. }
  359. exports.Nfsv3RmdirResFail = Nfsv3RmdirResFail;
  360. class Nfsv3RmdirResponse {
  361. constructor(status, resok, resfail) {
  362. this.status = status;
  363. this.resok = resok;
  364. this.resfail = resfail;
  365. }
  366. }
  367. exports.Nfsv3RmdirResponse = Nfsv3RmdirResponse;
  368. class Nfsv3RenameRequest {
  369. constructor(from, to) {
  370. this.from = from;
  371. this.to = to;
  372. }
  373. }
  374. exports.Nfsv3RenameRequest = Nfsv3RenameRequest;
  375. class Nfsv3RenameResOk {
  376. constructor(fromDirWcc, toDirWcc) {
  377. this.fromDirWcc = fromDirWcc;
  378. this.toDirWcc = toDirWcc;
  379. }
  380. }
  381. exports.Nfsv3RenameResOk = Nfsv3RenameResOk;
  382. class Nfsv3RenameResFail {
  383. constructor(fromDirWcc, toDirWcc) {
  384. this.fromDirWcc = fromDirWcc;
  385. this.toDirWcc = toDirWcc;
  386. }
  387. }
  388. exports.Nfsv3RenameResFail = Nfsv3RenameResFail;
  389. class Nfsv3RenameResponse {
  390. constructor(status, resok, resfail) {
  391. this.status = status;
  392. this.resok = resok;
  393. this.resfail = resfail;
  394. }
  395. }
  396. exports.Nfsv3RenameResponse = Nfsv3RenameResponse;
  397. class Nfsv3LinkRequest {
  398. constructor(file, link) {
  399. this.file = file;
  400. this.link = link;
  401. }
  402. }
  403. exports.Nfsv3LinkRequest = Nfsv3LinkRequest;
  404. class Nfsv3LinkResOk {
  405. constructor(fileAttributes, linkDirWcc) {
  406. this.fileAttributes = fileAttributes;
  407. this.linkDirWcc = linkDirWcc;
  408. }
  409. }
  410. exports.Nfsv3LinkResOk = Nfsv3LinkResOk;
  411. class Nfsv3LinkResFail {
  412. constructor(fileAttributes, linkDirWcc) {
  413. this.fileAttributes = fileAttributes;
  414. this.linkDirWcc = linkDirWcc;
  415. }
  416. }
  417. exports.Nfsv3LinkResFail = Nfsv3LinkResFail;
  418. class Nfsv3LinkResponse {
  419. constructor(status, resok, resfail) {
  420. this.status = status;
  421. this.resok = resok;
  422. this.resfail = resfail;
  423. }
  424. }
  425. exports.Nfsv3LinkResponse = Nfsv3LinkResponse;
  426. class Nfsv3ReaddirRequest {
  427. constructor(dir, cookie, cookieverf, count) {
  428. this.dir = dir;
  429. this.cookie = cookie;
  430. this.cookieverf = cookieverf;
  431. this.count = count;
  432. }
  433. }
  434. exports.Nfsv3ReaddirRequest = Nfsv3ReaddirRequest;
  435. class Nfsv3ReaddirResOk {
  436. constructor(dirAttributes, cookieverf, reply) {
  437. this.dirAttributes = dirAttributes;
  438. this.cookieverf = cookieverf;
  439. this.reply = reply;
  440. }
  441. }
  442. exports.Nfsv3ReaddirResOk = Nfsv3ReaddirResOk;
  443. class Nfsv3ReaddirResFail {
  444. constructor(dirAttributes) {
  445. this.dirAttributes = dirAttributes;
  446. }
  447. }
  448. exports.Nfsv3ReaddirResFail = Nfsv3ReaddirResFail;
  449. class Nfsv3ReaddirResponse {
  450. constructor(status, resok, resfail) {
  451. this.status = status;
  452. this.resok = resok;
  453. this.resfail = resfail;
  454. }
  455. }
  456. exports.Nfsv3ReaddirResponse = Nfsv3ReaddirResponse;
  457. class Nfsv3ReaddirplusRequest {
  458. constructor(dir, cookie, cookieverf, dircount, maxcount) {
  459. this.dir = dir;
  460. this.cookie = cookie;
  461. this.cookieverf = cookieverf;
  462. this.dircount = dircount;
  463. this.maxcount = maxcount;
  464. }
  465. }
  466. exports.Nfsv3ReaddirplusRequest = Nfsv3ReaddirplusRequest;
  467. class Nfsv3ReaddirplusResOk {
  468. constructor(dirAttributes, cookieverf, reply) {
  469. this.dirAttributes = dirAttributes;
  470. this.cookieverf = cookieverf;
  471. this.reply = reply;
  472. }
  473. }
  474. exports.Nfsv3ReaddirplusResOk = Nfsv3ReaddirplusResOk;
  475. class Nfsv3ReaddirplusResFail {
  476. constructor(dirAttributes) {
  477. this.dirAttributes = dirAttributes;
  478. }
  479. }
  480. exports.Nfsv3ReaddirplusResFail = Nfsv3ReaddirplusResFail;
  481. class Nfsv3ReaddirplusResponse {
  482. constructor(status, resok, resfail) {
  483. this.status = status;
  484. this.resok = resok;
  485. this.resfail = resfail;
  486. }
  487. }
  488. exports.Nfsv3ReaddirplusResponse = Nfsv3ReaddirplusResponse;
  489. class Nfsv3FsstatRequest {
  490. constructor(fsroot) {
  491. this.fsroot = fsroot;
  492. }
  493. }
  494. exports.Nfsv3FsstatRequest = Nfsv3FsstatRequest;
  495. class Nfsv3FsstatResOk {
  496. constructor(objAttributes, tbytes, fbytes, abytes, tfiles, ffiles, afiles, invarsec) {
  497. this.objAttributes = objAttributes;
  498. this.tbytes = tbytes;
  499. this.fbytes = fbytes;
  500. this.abytes = abytes;
  501. this.tfiles = tfiles;
  502. this.ffiles = ffiles;
  503. this.afiles = afiles;
  504. this.invarsec = invarsec;
  505. }
  506. }
  507. exports.Nfsv3FsstatResOk = Nfsv3FsstatResOk;
  508. class Nfsv3FsstatResFail {
  509. constructor(objAttributes) {
  510. this.objAttributes = objAttributes;
  511. }
  512. }
  513. exports.Nfsv3FsstatResFail = Nfsv3FsstatResFail;
  514. class Nfsv3FsstatResponse {
  515. constructor(status, resok, resfail) {
  516. this.status = status;
  517. this.resok = resok;
  518. this.resfail = resfail;
  519. }
  520. }
  521. exports.Nfsv3FsstatResponse = Nfsv3FsstatResponse;
  522. class Nfsv3FsinfoRequest {
  523. constructor(fsroot) {
  524. this.fsroot = fsroot;
  525. }
  526. }
  527. exports.Nfsv3FsinfoRequest = Nfsv3FsinfoRequest;
  528. class Nfsv3FsinfoResOk {
  529. constructor(objAttributes, rtmax, rtpref, rtmult, wtmax, wtpref, wtmult, dtpref, maxfilesize, timeDelta, properties) {
  530. this.objAttributes = objAttributes;
  531. this.rtmax = rtmax;
  532. this.rtpref = rtpref;
  533. this.rtmult = rtmult;
  534. this.wtmax = wtmax;
  535. this.wtpref = wtpref;
  536. this.wtmult = wtmult;
  537. this.dtpref = dtpref;
  538. this.maxfilesize = maxfilesize;
  539. this.timeDelta = timeDelta;
  540. this.properties = properties;
  541. }
  542. }
  543. exports.Nfsv3FsinfoResOk = Nfsv3FsinfoResOk;
  544. class Nfsv3FsinfoResFail {
  545. constructor(objAttributes) {
  546. this.objAttributes = objAttributes;
  547. }
  548. }
  549. exports.Nfsv3FsinfoResFail = Nfsv3FsinfoResFail;
  550. class Nfsv3FsinfoResponse {
  551. constructor(status, resok, resfail) {
  552. this.status = status;
  553. this.resok = resok;
  554. this.resfail = resfail;
  555. }
  556. }
  557. exports.Nfsv3FsinfoResponse = Nfsv3FsinfoResponse;
  558. class Nfsv3PathconfRequest {
  559. constructor(object) {
  560. this.object = object;
  561. }
  562. }
  563. exports.Nfsv3PathconfRequest = Nfsv3PathconfRequest;
  564. class Nfsv3PathconfResOk {
  565. constructor(objAttributes, linkmax, namemax, noTrunc, chownRestricted, caseInsensitive, casePreserving) {
  566. this.objAttributes = objAttributes;
  567. this.linkmax = linkmax;
  568. this.namemax = namemax;
  569. this.noTrunc = noTrunc;
  570. this.chownRestricted = chownRestricted;
  571. this.caseInsensitive = caseInsensitive;
  572. this.casePreserving = casePreserving;
  573. }
  574. }
  575. exports.Nfsv3PathconfResOk = Nfsv3PathconfResOk;
  576. class Nfsv3PathconfResFail {
  577. constructor(objAttributes) {
  578. this.objAttributes = objAttributes;
  579. }
  580. }
  581. exports.Nfsv3PathconfResFail = Nfsv3PathconfResFail;
  582. class Nfsv3PathconfResponse {
  583. constructor(status, resok, resfail) {
  584. this.status = status;
  585. this.resok = resok;
  586. this.resfail = resfail;
  587. }
  588. }
  589. exports.Nfsv3PathconfResponse = Nfsv3PathconfResponse;
  590. class Nfsv3CommitRequest {
  591. constructor(file, offset, count) {
  592. this.file = file;
  593. this.offset = offset;
  594. this.count = count;
  595. }
  596. }
  597. exports.Nfsv3CommitRequest = Nfsv3CommitRequest;
  598. class Nfsv3CommitResOk {
  599. constructor(fileWcc, verf) {
  600. this.fileWcc = fileWcc;
  601. this.verf = verf;
  602. }
  603. }
  604. exports.Nfsv3CommitResOk = Nfsv3CommitResOk;
  605. class Nfsv3CommitResFail {
  606. constructor(fileWcc) {
  607. this.fileWcc = fileWcc;
  608. }
  609. }
  610. exports.Nfsv3CommitResFail = Nfsv3CommitResFail;
  611. class Nfsv3CommitResponse {
  612. constructor(status, resok, resfail) {
  613. this.status = status;
  614. this.resok = resok;
  615. this.resfail = resfail;
  616. }
  617. }
  618. exports.Nfsv3CommitResponse = Nfsv3CommitResponse;
  619. //# sourceMappingURL=messages.js.map