UNPKG

@hpcc-js/comms

Version:
99 lines 5.38 kB
import { __extends } from "tslib"; import { Service } from "../../../../espConnection"; export var WsSMC; (function (WsSMC) { var LockModes; (function (LockModes) { LockModes["ALL"] = "ALL"; LockModes["READ"] = "READ"; LockModes["WRITE"] = "WRITE"; LockModes["HOLD"] = "HOLD"; LockModes["SUB"] = "SUB"; })(LockModes = WsSMC.LockModes || (WsSMC.LockModes = {})); var RoxieControlCmdType; (function (RoxieControlCmdType) { RoxieControlCmdType["Attach"] = "Attach"; RoxieControlCmdType["Detach"] = "Detach"; RoxieControlCmdType["State"] = "State"; RoxieControlCmdType["Reload"] = "Reload"; RoxieControlCmdType["ReloadRetry"] = "ReloadRetry"; RoxieControlCmdType["MemLock"] = "MemLock"; RoxieControlCmdType["MemUnlock"] = "MemUnlock"; RoxieControlCmdType["GetMemLocked"] = "GetMemLocked"; })(RoxieControlCmdType = WsSMC.RoxieControlCmdType || (WsSMC.RoxieControlCmdType = {})); })(WsSMC || (WsSMC = {})); var SMCServiceBase = /** @class */ (function (_super) { __extends(SMCServiceBase, _super); function SMCServiceBase(optsConnection) { return _super.call(this, optsConnection, "WsSMC", "1.27") || this; } SMCServiceBase.prototype.Activity = function (request) { return this._connection.send("Activity", request, "json", false, undefined, "ActivityResponse"); }; SMCServiceBase.prototype.BrowseResources = function (request) { return this._connection.send("BrowseResources", request, "json", false, undefined, "BrowseResourcesResponse"); }; SMCServiceBase.prototype.ClearQueue = function (request) { return this._connection.send("ClearQueue", request, "json", false, undefined, "SMCQueueResponse"); }; SMCServiceBase.prototype.GetBuildInfo = function (request) { return this._connection.send("GetBuildInfo", request, "json", false, undefined, "GetBuildInfoResponse"); }; SMCServiceBase.prototype.GetStatusServerInfo = function (request) { return this._connection.send("GetStatusServerInfo", request, "json", false, undefined, "GetStatusServerInfoResponse"); }; SMCServiceBase.prototype.GetThorQueueAvailability = function (request) { return this._connection.send("GetThorQueueAvailability", request, "json", false, undefined, "GetThorQueueAvailabilityResponse"); }; SMCServiceBase.prototype.Index = function (request) { return this._connection.send("Index", request, "json", false, undefined, "SMCIndexResponse"); }; SMCServiceBase.prototype.LockQuery = function (request) { return this._connection.send("LockQuery", request, "json", false, undefined, "LockQueryResponse"); }; SMCServiceBase.prototype.MoveJobBack = function (request) { return this._connection.send("MoveJobBack", request, "json", false, undefined, "SMCJobResponse"); }; SMCServiceBase.prototype.MoveJobDown = function (request) { return this._connection.send("MoveJobDown", request, "json", false, undefined, "SMCJobResponse"); }; SMCServiceBase.prototype.MoveJobFront = function (request) { return this._connection.send("MoveJobFront", request, "json", false, undefined, "SMCJobResponse"); }; SMCServiceBase.prototype.MoveJobUp = function (request) { return this._connection.send("MoveJobUp", request, "json", false, undefined, "SMCJobResponse"); }; SMCServiceBase.prototype.NotInCommunityEdition = function (request) { return this._connection.send("NotInCommunityEdition", request, "json", false, undefined, "NotInCommunityEditionResponse"); }; SMCServiceBase.prototype.PauseQueue = function (request) { return this._connection.send("PauseQueue", request, "json", false, undefined, "SMCQueueResponse"); }; SMCServiceBase.prototype.Ping = function (request) { return this._connection.send("Ping", request, "json", false, undefined, "WsSMCPingResponse"); }; SMCServiceBase.prototype.RemoveJob = function (request) { return this._connection.send("RemoveJob", request, "json", false, undefined, "SMCJobResponse"); }; SMCServiceBase.prototype.ResumeQueue = function (request) { return this._connection.send("ResumeQueue", request, "json", false, undefined, "SMCQueueResponse"); }; SMCServiceBase.prototype.RoxieControlCmd = function (request) { return this._connection.send("RoxieControlCmd", request, "json", false, undefined, "RoxieControlCmdResponse"); }; SMCServiceBase.prototype.RoxieXrefCmd = function (request) { return this._connection.send("RoxieXrefCmd", request, "json", false, undefined, "RoxieXrefCmdResponse"); }; SMCServiceBase.prototype.SetBanner = function (request) { return this._connection.send("SetBanner", request, "json", false, undefined, "SetBannerResponse"); }; SMCServiceBase.prototype.SetJobPriority = function (request) { return this._connection.send("SetJobPriority", request, "json", false, undefined, "SMCPriorityResponse"); }; SMCServiceBase.prototype.StopQueue = function (request) { return this._connection.send("StopQueue", request, "json", false, undefined, "SMCQueueResponse"); }; return SMCServiceBase; }(Service)); export { SMCServiceBase }; //# sourceMappingURL=WsSMC.js.map