SYS.Agent

class SYS.Agent extends %Library.RegisteredObject

Used to retrieve information about the current ISCAgent instance on this system (if any)

Method Inventory (Including Private)

Methods

private classmethod CheckStatusFile(fileName As %String) as %Boolean [ Language = objectscript ]
Check for the existence and non-0 size of the candidate file
classmethod GetApplicationInterface() as %String [ Language = objectscript ]
Returns the application interface adddress of the ISCAgent if it is running, "*" if bound on all ports, and an empty string otherwise
classmethod GetApplicationPort() as %Integer [ Language = objectscript ]
Returns the application port of the ISCAgent if it is running, an empty string otherwise
private classmethod GetVMSPid() as %String [ Language = objectscript ]
Gets the PID on VMS via the QueryAgent script
classmethod GetVersion() as %String [ Language = objectscript ]
Returns the version string of the ISCAgent if it is running, an empty string otherwise
classmethod IsMirroringEnabled() as %Boolean [ Language = objectscript ]
Returns true if the mirroring application is enabled, false otherwise
classmethod IsRunning() as %Boolean [ Language = objectscript ]
Returns true if an instance of the ISCAgent is running on this system, false otherwise
private classmethod StatusFileName() as %String [ Language = objectscript ]
Retrieves the default status file name for this OS
private classmethod StatusFileValue(property As %String) as %String [ Language = objectscript ]
Retrieve the value of a status file property
classmethod VerifyConnection(timeout As %Integer = 10) as %Status [ Language = objectscript ]
Verifies the ISCAgent is running available on its reported application port Returns $$$OK if the ISCAgent is available and responding to requests, and an error status if not.

Inherited Members

Inherited Methods (Including Private)

Feedback