Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

%CSP.Mgr.GatewayRegistryImpl

Method Inventory

Methods

method %OnNew() as %Status
Inherited description: 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.

method GetGatewayMgrs(type As %String = $$$gsActive) as %ListOfObjects
Inherited description:

GetGatewayMgrs()() returns a set of managers for known gateways.

See class description for explanation of gateway types.

type indicates the type of gateways desired.

  • a - active gateways.
  • i - inactive gateways
  • b - both inactive and inactive.

returnA list of gateway managers: one for each selected gateway entry. Each object will have the following properties:

  • Server
  • Port
  • Version
  • IsActive
  • LastConnectTime
  • Security:You must have Read permissions on the "%Admin_Manage" resource to call this method.

method RemoveFilesFromCaches(listOfFilenames As %List = "", gatewaytype As %String = $$$gsActive) as %Status
Inherited description:

RemoveFilesFromCaches()() removes files from a set of gateways.

listOfFilenames is a list filenames (%String) to be removed from the specified gateways. A file name may contain a wildcard, '*'. Use of the wildcard indicates that all files matching the string will be deleted, e.g., "/csp/myapp/*". An empty list indicates that the entire cache will be cleared. See documentation for %CSP.Mgr.GatewayMgr.ClearCache()() for a longer explanation of permissible file names.

type indicates the type of gateways targeted.

  • a - active gateways.
  • i - inactive gateways
  • b - both inactive.

Security:You must have Write permissions on the "%Admin_Manage" resource to call this method.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab