IToiInformationObserver Interface Reference


Description

Applications that wants to be updated when information objects are added, removed or change values shall implement this interface. Subscriptions are added with the IToiInformationService::SubscribeObject() and IToiInformationService::UnsubscribeObject() functions.

See also:
IToiInformationService
Note:
Services or applications may choose to inherit the adapter class TToiInformationObserverAdapter, which provides a default empty implementation of IToiInformationObserver.

import "IToiInformationObserver.idl";

List of all members.

Public Member Functions

oneway void OnObjectsChanged (in IToiInformationService::TToiObjectNameSequence objectNames)
oneway void OnObjectsRemoved (in IToiInformationService::TToiObjectNameSequence objectNames)

Member Function Documentation

oneway void IToiInformationObserver::OnObjectsChanged ( in IToiInformationService::TToiObjectNameSequence  objectNames  ) 

This method is called when some subscribed objects have changed value.

Parameters:
objectNames A list of names of objects that have changed.
oneway void IToiInformationObserver::OnObjectsRemoved ( in IToiInformationService::TToiObjectNameSequence  objectNames  ) 

This method is called when some subscribed objects no longer exist in the Information Service.

Parameters:
objectNames A list of names of objects that have been removed.