IToiOperationObserver Interface Reference


Description

The IToiOperationObserver interface contains the callbacks that can be received as a result of starting an asynchronous operation.

Note:
Services or applications may choose to inherit the adapter class TToiOperationObserverAdapter, which provides a default empty implementation of IToiOperationObserver.

import "IToiOperationObserver.idl";

List of all members.

Public Member Functions

oneway void OnOperationResult (in IToiOperationManager::TToiOperationInfo operation, in IToiOperationManager::TToiOperationResult result)

Member Function Documentation

oneway void IToiOperationObserver::OnOperationResult ( in IToiOperationManager::TToiOperationInfo  operation,
in IToiOperationManager::TToiOperationResult  result 
)

This event is sent when a operation result is notified. The type of result is indicated by the result argument and need to be retrieved from the service that executes the operation. An operation may provide multiple result notifications during its execution time, not only one callback when the operation is completed (or failed). This is up to the implementation of each asynchronous operation.

Parameters:
operation Detailed operation information.
result What type of result data that is available (if any).