Files
starface-outlook-sync-addin/node_modules/@jsonjoy.com/json-pack/lib/rpc/messages.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

50 lines
1.5 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RpcRejectedReplyMessage = exports.RpcAcceptedReplyMessage = exports.RpcCallMessage = exports.RpcMismatchInfo = exports.RpcOpaqueAuth = void 0;
class RpcOpaqueAuth {
constructor(flavor, body) {
this.flavor = flavor;
this.body = body;
}
}
exports.RpcOpaqueAuth = RpcOpaqueAuth;
class RpcMismatchInfo {
constructor(low, high) {
this.low = low;
this.high = high;
}
}
exports.RpcMismatchInfo = RpcMismatchInfo;
class RpcCallMessage {
constructor(xid, rpcvers, prog, vers, proc, cred, verf, params = undefined) {
this.xid = xid;
this.rpcvers = rpcvers;
this.prog = prog;
this.vers = vers;
this.proc = proc;
this.cred = cred;
this.verf = verf;
this.params = params;
}
}
exports.RpcCallMessage = RpcCallMessage;
class RpcAcceptedReplyMessage {
constructor(xid, verf, stat, mismatchInfo, results = undefined) {
this.xid = xid;
this.verf = verf;
this.stat = stat;
this.mismatchInfo = mismatchInfo;
this.results = results;
}
}
exports.RpcAcceptedReplyMessage = RpcAcceptedReplyMessage;
class RpcRejectedReplyMessage {
constructor(xid, stat, mismatchInfo, authStat) {
this.xid = xid;
this.stat = stat;
this.mismatchInfo = mismatchInfo;
this.authStat = authStat;
}
}
exports.RpcRejectedReplyMessage = RpcRejectedReplyMessage;
//# sourceMappingURL=messages.js.map