Device Adapter

Methods that should be provided by a device adapter module

Functions

ResultName / ParamsComment
StaticExtObject[]object.QueryReturns the Objects available in the third-party system. Should return all existing child Objects of the specified parent. The strategy of determining these depends on the third-party system (e.g., query via active connection to the system, importing a config file, etc). The function is called from the data supply dialog.
urlstring(Value: AopUrl) The URL of the parent Object to query. Can be the URL of the whole Extension (e.g., 'ext[CODE]:') or of the Object whose children are requested. In the latter case, the parent Object should also be part of the result.
paramsvalue{}(Key: SymbolPath) User-defined parameters for the query. These are declared in the Module XML and shown in the data supply dialog.
StaticExtObject[]object.BrowseReturns the structure of the next lower level in the hierarchy. This function may return real Objects (similar to object.Query) or virtual structural Objects that do not have to correspond to a declared Object type (URL/type) in the Module XML. In the latter case, a 'Name' Property can be set to provide a display name. The URLs of returned Objects may be passed to object.Query in subsequent calls. This function only needs to be implemented when an Extension has discoverable Nodes or a Node is browsable.
urlstring(Value: AopUrl) The URL of the parent Object to browse. Can be the URL of the whole Extension (e.g., 'ext[CODE]:') or of the Object whose immediate children are requested. In the latter case, the parent Object should also be part of the result. The first case is only called for Extensions with skill ≥adapter 0.1.2
paramsvalue{}(Key: SymbolPath) User-defined parameters for the query. These are declared in the Module XML and shown in the data supply dialog.
ExtActivityResultactivity.StartStarts a new Activity.
urlstring(Value: AopUrl) URL of the new Activity.
typestring(Value: SymbolPath) Type of the Activity to start.
membersExtActivityMember[]List of members which are part of the Activity.
propsvalue{}(Key: Symbol) Properties required to create the Activity.
ExtActivityResultactivity.EndEnds an Activity.
urlstring(Value: AopUrl) URL of the Activity to end.
ExtIncidentResultincident.CreateRequests creation of a new Incident.
propsvalue{}(Key: Symbol) Properties required to create the Incident. These are the Properties of the Incident Create Request declared in the Module XML.
eventsIncidentEventRef[]Information about the Event(s) for which this Incident is being created.
OperationResultoperation.ExecuteExecutes the given Operation. The return value is either a result, an error, or a token to signal a long-running Operation.
operationOperationOperation to execute.
voidoperation.CancelCancels a long-running Operation.
tokenintToken from the OperationResult of the object.Execute call.
ResourceResultresource.GetGets a resource from the Extension.
urlstring(Value: AopUrl) The resource URL.
propsvalue{}(Key: Symbol) Additional Properties required to get the resource.
MonitorDef[]monitor.QueryReturns a list of available monitor definitions and their corresponding data streams.
voidmonitor.StartStarts recording data for the indicated monitor.
urlstring(Value: AopUrl) The monitor URL.
voidmonitor.StopStops recording data for the indicated monitor.
urlstring(Value: AopUrl) The monitor URL.
boolExitRequests a graceful shutdown of the Extension. Returns true if the Extension handled the request successfully.

Notifications

Name / ParamsComment
operation.ProgressProgress message for one or more long-running Operations.
progressOperationProgress[]List of progress reports.
operation.ResultResult message for one or more long-running Operations.
resultOperationResult[]List of result reports.
monitor.DataTransmits recorded monitor data of active monitors.
dataMonitorData[]List of monitor data reports.
Last modified September 25, 2026