%WebStress.Comms.Client
Class %WebStress.Comms.Client Extends %SOAP.WebClient [ Not ProcedureBlock, System = 4 ]
Parameters
LOCATION
Parameter LOCATION = "http://localhost/csp/webdeploy/%WebStress.Comms.Server.cls";
This is the URL used to access the web service.
NAMESPACE
Parameter NAMESPACE = "http://tempuri.org";
This is the namespace used by the Service
SERVICENAME
Parameter SERVICENAME = "%WebStress";
This is the name of the Service
Methods
DownloadData
Method DownloadData(stream As %GlobalBinaryStream, senderID As %String) As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
DownloadCode
Method DownloadCode(stream As %GlobalBinaryStream, senderID As %String) As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
StartProcs
Method StartProcs(testID As %String, runNumber As %Integer, param As %Integer, senderID As %String, senderTime As %Integer) As %WebStress.Control [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
StartMonitor
Method StartMonitor(runNumber As %Integer, testID As %String, senderID As %String, runDescription As %String) As %Status [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
CheckDataValid
Method CheckDataValid(request As %WebStress.Control.ValidData.Request) As %WebStress.Control.ValidData.Response.Generators [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
CheckGeneratorRunStatus
Method CheckGeneratorRunStatus(testID As %String, senderID As %String) As %WebStress.Control.GeneratorStatus [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
CheckGeneratorIsRunning
Method CheckGeneratorIsRunning(testID As %String, senderID As %String) As %WebStress.Control.GeneratorStatus [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
GetMaxRunNumber
Method GetMaxRunNumber(testID As %String) As %Integer [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
TestStart
Method TestStart(testID As %String) As %Integer [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
TestStop
Method TestStop(testID As %String) As %Integer [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
GetRunData
Method GetRunData(testID As %String) As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
GetIterationData
Method GetIterationData(testID As %String, run As %Integer) As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
StartDataTransfer
Method StartDataTransfer(runID As %Integer, testID As %String, serverPort As %Integer, senderID As %String, generator As %String) As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
ResetControlData
Method ResetControlData(testID As %String, senderID As %String) As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
AnyTestsRunning
Method AnyTestsRunning() As %Integer [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
GetErrors
Method GetErrors(testID As %String, runID As %Integer, scriptID As %String) As %GlobalCharacterStream [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
GetGenID
Method GetGenID() As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
TestAuthenticate
Method TestAuthenticate() As %Status [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
%OnNew
Method %OnNew(generator As %String, location As %String) As %Status [ Private, ServerOnly = 1 ]
This callback method is invoked by the %New method to provide notification that a new instance of an object is being created.
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.