messages.js 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Nlm4FreeAllRequest = exports.Nlm4NmLockRequest = exports.Nlm4UnshareRequest = exports.Nlm4ShareResponse = exports.Nlm4ShareRequest = exports.Nlm4ShareArgs = exports.Nlm4GrantedRequest = exports.Nlm4UnlockRequest = exports.Nlm4UnlockArgs = exports.Nlm4CancelRequest = exports.Nlm4CancelArgs = exports.Nlm4Response = exports.Nlm4LockRequest = exports.Nlm4LockArgs = exports.Nlm4TestResponse = exports.Nlm4TestDenied = exports.Nlm4TestRequest = exports.Nlm4TestArgs = void 0;
  4. class Nlm4TestArgs {
  5. constructor(cookie, exclusive, lock) {
  6. this.cookie = cookie;
  7. this.exclusive = exclusive;
  8. this.lock = lock;
  9. }
  10. }
  11. exports.Nlm4TestArgs = Nlm4TestArgs;
  12. class Nlm4TestRequest {
  13. constructor(args) {
  14. this.args = args;
  15. }
  16. }
  17. exports.Nlm4TestRequest = Nlm4TestRequest;
  18. class Nlm4TestDenied {
  19. constructor(holder) {
  20. this.holder = holder;
  21. }
  22. }
  23. exports.Nlm4TestDenied = Nlm4TestDenied;
  24. class Nlm4TestResponse {
  25. constructor(cookie, stat, holder) {
  26. this.cookie = cookie;
  27. this.stat = stat;
  28. this.holder = holder;
  29. }
  30. }
  31. exports.Nlm4TestResponse = Nlm4TestResponse;
  32. class Nlm4LockArgs {
  33. constructor(cookie, block, exclusive, lock, reclaim, state) {
  34. this.cookie = cookie;
  35. this.block = block;
  36. this.exclusive = exclusive;
  37. this.lock = lock;
  38. this.reclaim = reclaim;
  39. this.state = state;
  40. }
  41. }
  42. exports.Nlm4LockArgs = Nlm4LockArgs;
  43. class Nlm4LockRequest {
  44. constructor(args) {
  45. this.args = args;
  46. }
  47. }
  48. exports.Nlm4LockRequest = Nlm4LockRequest;
  49. class Nlm4Response {
  50. constructor(cookie, stat) {
  51. this.cookie = cookie;
  52. this.stat = stat;
  53. }
  54. }
  55. exports.Nlm4Response = Nlm4Response;
  56. class Nlm4CancelArgs {
  57. constructor(cookie, block, exclusive, lock) {
  58. this.cookie = cookie;
  59. this.block = block;
  60. this.exclusive = exclusive;
  61. this.lock = lock;
  62. }
  63. }
  64. exports.Nlm4CancelArgs = Nlm4CancelArgs;
  65. class Nlm4CancelRequest {
  66. constructor(args) {
  67. this.args = args;
  68. }
  69. }
  70. exports.Nlm4CancelRequest = Nlm4CancelRequest;
  71. class Nlm4UnlockArgs {
  72. constructor(cookie, lock) {
  73. this.cookie = cookie;
  74. this.lock = lock;
  75. }
  76. }
  77. exports.Nlm4UnlockArgs = Nlm4UnlockArgs;
  78. class Nlm4UnlockRequest {
  79. constructor(args) {
  80. this.args = args;
  81. }
  82. }
  83. exports.Nlm4UnlockRequest = Nlm4UnlockRequest;
  84. class Nlm4GrantedRequest {
  85. constructor(args) {
  86. this.args = args;
  87. }
  88. }
  89. exports.Nlm4GrantedRequest = Nlm4GrantedRequest;
  90. class Nlm4ShareArgs {
  91. constructor(cookie, share, reclaim) {
  92. this.cookie = cookie;
  93. this.share = share;
  94. this.reclaim = reclaim;
  95. }
  96. }
  97. exports.Nlm4ShareArgs = Nlm4ShareArgs;
  98. class Nlm4ShareRequest {
  99. constructor(args) {
  100. this.args = args;
  101. }
  102. }
  103. exports.Nlm4ShareRequest = Nlm4ShareRequest;
  104. class Nlm4ShareResponse {
  105. constructor(cookie, stat, sequence) {
  106. this.cookie = cookie;
  107. this.stat = stat;
  108. this.sequence = sequence;
  109. }
  110. }
  111. exports.Nlm4ShareResponse = Nlm4ShareResponse;
  112. class Nlm4UnshareRequest {
  113. constructor(args) {
  114. this.args = args;
  115. }
  116. }
  117. exports.Nlm4UnshareRequest = Nlm4UnshareRequest;
  118. class Nlm4NmLockRequest {
  119. constructor(args) {
  120. this.args = args;
  121. }
  122. }
  123. exports.Nlm4NmLockRequest = Nlm4NmLockRequest;
  124. class Nlm4FreeAllRequest {
  125. constructor(notify) {
  126. this.notify = notify;
  127. }
  128. }
  129. exports.Nlm4FreeAllRequest = Nlm4FreeAllRequest;
  130. //# sourceMappingURL=messages.js.map