structs.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Nlm4Notify = exports.Nlm4Share = exports.Nlm4Lock = exports.Nlm4Holder = void 0;
  4. class Nlm4Holder {
  5. constructor(exclusive, svid, oh, offset, length) {
  6. this.exclusive = exclusive;
  7. this.svid = svid;
  8. this.oh = oh;
  9. this.offset = offset;
  10. this.length = length;
  11. }
  12. }
  13. exports.Nlm4Holder = Nlm4Holder;
  14. class Nlm4Lock {
  15. constructor(callerName, fh, oh, svid, offset, length) {
  16. this.callerName = callerName;
  17. this.fh = fh;
  18. this.oh = oh;
  19. this.svid = svid;
  20. this.offset = offset;
  21. this.length = length;
  22. }
  23. }
  24. exports.Nlm4Lock = Nlm4Lock;
  25. class Nlm4Share {
  26. constructor(callerName, fh, oh, mode, access) {
  27. this.callerName = callerName;
  28. this.fh = fh;
  29. this.oh = oh;
  30. this.mode = mode;
  31. this.access = access;
  32. }
  33. }
  34. exports.Nlm4Share = Nlm4Share;
  35. class Nlm4Notify {
  36. constructor(name, state) {
  37. this.name = name;
  38. this.state = state;
  39. }
  40. }
  41. exports.Nlm4Notify = Nlm4Notify;
  42. //# sourceMappingURL=structs.js.map