The cache update handling depends on the writeCacheUpdateMode selection set in the GetModeDefinitions() implementation. For 0 (Generic): The cache is updated in the generic server after returning from the customization WiteItems method. Items with write error are not updated in the cache.
For 1 (Custom): The customization module needs to update the cache by executing the SetItemValue callback method for each written item. The generic server does not update the cache.
Overload | Description |
---|---|
WriteItems(DeviceItemValue[],Int32[]) | Standard Edition Write handler. In the Professional Edition this overload is is only called if the method with the client handle argument is not defined. This method is called when a client executes a 'write' server call. The items specified in the appHandles array need to be written to the device. The cache update handling depends on the writeCacheUpdateMode selection set in the GetModeDefinitions() implementation. For 0 (Generic): The cache is updated in the generic server after returning from the customization WiteItems method. Items with write error are not updated in the cache. For 1 (Custom): The customization module needs to update the cache by executing the SetItemValue callback method for each written item. The generic server does not update the cache. |
WriteItems(Int32,DeviceItemValue[],Int32[]) | Called from the DANSrv PROFESSIONAL EDITION ONLY! This method is called when a client executes a 'write' server call. The items specified in the appHandles array need to be written to the device. The cache update handling depends on the writeCacheUpdateMode selection set in the GetModeDefinitions() implementation. For 0 (Generic): The cache is updated in the generic server after returning from the customization WiteItems method. Items with write error are not updated in the cache. For 1 (Custom): The customization module needs to update the cache by executing the SetItemValue callback method for each written item. The generic server does not update the cache. |
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family