IToiDiagnosticsDataModelObserver Interface Reference


Description

Technical Preview:
This interface is a TECHNICAL PREVIEW, it may change. Applications will implement this interface to receive notifications to changes in any of the objects in the data model.
Note:
Services or applications may choose to inherit the adapter class TToiDiagnosticsDataModelObserverAdapter, which provides a default empty implementation of IToiDiagnosticsDataModelObserver.

import "IToiDiagnosticsDataModelObserver.idl";

List of all members.

Public Member Functions

oneway void OnObjectsChanged (in IToiDiagnosticsDataModel::TToiObjectInfoSequence objects)
oneway void OnObjectsAdded (in IToiDiagnosticsDataModel::TToiObjectIdentifierSequence objectIds)
oneway void OnObjectsRemoved (in IToiDiagnosticsDataModel::TToiObjectIdentifierSequence objectIds)

Member Function Documentation

oneway void IToiDiagnosticsDataModelObserver::OnObjectsAdded ( in IToiDiagnosticsDataModel::TToiObjectIdentifierSequence  objectIds  ) 

Notifies the Listener whenever objects are added to the data model.

Parameters:
objectIds The object ids that have been added.
oneway void IToiDiagnosticsDataModelObserver::OnObjectsChanged ( in IToiDiagnosticsDataModel::TToiObjectInfoSequence  objects  ) 

Notifies the Listener of changes to objects in the data model.

Parameters:
objects The objects that have changed. Note: Each object will have the ObjectId and name,value pairs for ONLY the parameters that have changed. Rest of the parameters that make up this object but have not changed will be left out. TToiObjectInfo::Children list will be empty.
oneway void IToiDiagnosticsDataModelObserver::OnObjectsRemoved ( in IToiDiagnosticsDataModel::TToiObjectIdentifierSequence  objectIds  ) 

Notifies the Listener whenever objects are removed from the data model.

Parameters:
objectIds The object ids that have been removed.