CHAI SDK  Version 1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CPNS::IRemoteDevice_GetProperty_AsyncReturnHandler Class Referenceabstract

Notification handler for RemoteDevice's GetProperty async method. More...

Public Member Functions

virtual void OnRemoteDevice_GetPropertyString_Return (CPNS::IAsync *const pAsync, CPNS::Enums::AsyncResult const result, CPNS::uint16 const propertyID, CPNS::char8 const *const utf8Value)=0
 End of asynchronous GetProperty_Async method. More...
 
virtual void OnRemoteDevice_GetPropertyNumeric_Return (CPNS::IAsync *const pAsync, CPNS::Enums::AsyncResult const result, CPNS::uint16 const propertyID, CPNS::uint64 const qwValue)=0
 End of asynchronous GetProperty_Async method. More...
 

Detailed Description

Notification handler for RemoteDevice's GetProperty async method.

Member Function Documentation

virtual void CPNS::IRemoteDevice_GetProperty_AsyncReturnHandler::OnRemoteDevice_GetPropertyNumeric_Return ( CPNS::IAsync *const  pAsync,
CPNS::Enums::AsyncResult const  result,
CPNS::uint16 const  propertyID,
CPNS::uint64 const  qwValue 
)
pure virtual

End of asynchronous GetProperty_Async method.

Parameters
[in]pAsyncPointer to the async operation handler. Can be used to match the return notification with the related async operation. This pointer will become invalid just after exiting this method.
[in]resultcan be CPNS::Enums::AR_Succeeded or CPNS::Enums::AR_Canceled
[in]propertyIDproperty ID
[in]qwValueproperty value
virtual void CPNS::IRemoteDevice_GetProperty_AsyncReturnHandler::OnRemoteDevice_GetPropertyString_Return ( CPNS::IAsync *const  pAsync,
CPNS::Enums::AsyncResult const  result,
CPNS::uint16 const  propertyID,
CPNS::char8 const *const  utf8Value 
)
pure virtual

End of asynchronous GetProperty_Async method.

Parameters
[in]pAsyncPointer to the async operation handler. Can be used to match the return notification with the related async operation. This pointer will become invalid just after exiting this method.
[in]resultcan be CPNS::Enums::AR_Succeeded, CPNS::Enums::AR_Done or CPNS::Enums::AR_Canceled
[in]propertyIDproperty ID
[in]utf8Valueproperty value
Remarks
Called by default in case of async failure since the CHAI is unable to know if the expected property is string or numeric.