Purpose
Request information for all alert events from the Event Server. Outstanding events are reported individually through the normal event callback function, registered by SPD_HandleEvent.
Syntax
#include "spd.h" SPD_errorTP SPD_RequestEvents( SPD_eventTypeTP eventType );
Description
eventType
identifies the type of event being requested. This function currently supports only events of type SPD_alarmEventCN.
Return Value
The return value indicates whether an error occurred, as follows:
Return | Indication |
SPD_normalCN | No error |
SPD_invalidTypeCN | Bad eventType parameter |
SPD_notInitializedCN | SPD_InitClient not called previously |
SPD_commFailureCN | Communications problem |
See Also
See also the client function SPD_HandleEvent ([xref text to replace]).