| typedef TBitFlags | TASAltClientServerStateFlags |
Flags used to indicate the States for enum TASAltStateFlags
| const TInt | KASAltVersionMajor |
Major Version used while connecting to the Alarm Alert Server
| const TInt | KASAltVersionMinor |
Minor Version used while connecting to the Alarm Alert Server
| const TInt | KASAltVersionBuild |
Build Version used while connecting to the Alarm Alert Server
The individual op codes which the Alert Server and Alarm Server handshake using
| Enumerator | Value | Description |
|---|---|---|
| EASAltOpCodeNotify | 0 |
Notify the alarm server (asynchronously) when the Alert Server wishes to perform some action. |
| EASAltOpCodeNotifyCancel |
Cancel an earlier notification | |
| EASAltOpCodeVisible |
Change the visibility of the Alert Server UI furniture | |
| EASAltOpCodeSetState |
Update the Alert Server flags | |
| EASAltOpCodeSetAlarm |
Inform the Alert Server of the currently notifying alarm | |
| EASAltOpCodeSetDeferTime |
Inform the Alert Server that the currently alerting alarm has been snoozed. | |
| EASAltOpCodeGetUserTime |
Retrieve the time from the Alert Server when a quiet period should be terminated | |
| EASAltOpCodeLogon |
Create an outstanding request with the Alert Server. Used as a mechanism to obtain Alert Server thread death notifications. | |
| EASAltOpCodeStartPlayingSound |
Ask the Alert Server to start playing the specified alarm sound | |
| EASAltOpCodeStopPlayingSound |
Ask the Alert Server to stop playing any sound Ask the Alert Server to change vissibility for all alarms | |
| EASAltOpCodeVisibleAll | ||
| EASAltOpCodeSetStateAll |
Ask the Alert Server to update states for all alarms | |
| EASAltOpCodeStopPlayingSoundAll |
Ask the Alert Server to stop playing all sounds. | |
| EASAltOpCodeDeleteAlarm |
Ask the Alert Server to delete alarm with provided Id | |
| EASAltOpCodeGetEndQuietTime |
Retrieve the time from the Alert Server when a quiet period should be terminated | |
| EASAltOpCodeGetMaxAlarms |
Ask the Alarm Server to get number of simultaneously supported alarms | |
| EASAltOpCodeDeleteAlarmAll |
Ask the Alert Server to delete all alarms | |
| EASAltOpCodeLast |
All communication from the Alert Server to the Alarm Server occurs via a single outstanding TRequesStatus which is handled by the Alarm Server (as an active object). This enumeration describes the type of action that the Alarm Server should take in response to a request from the Alert Server.
| Enumerator | Value | Description |
|---|---|---|
| EASAltAlertServerResponseSilence | 0 |
The Alert Server wishes the Alarm Server to silence all alarms. |
| EASAltAlertServerResponseQuietPeriod |
The Alert Server wishes the Alarm Server to enter a global quiet period. | |
| EASAltAlertServerResponseClear |
The Alert Server wishes the Alarm Server to acknowledge (clear) the currently notifying alarm. | |
| EASAltAlertServerResponseClearAll |
The Alert Server wishes the Alarm Server to acknowledge (clear) the currently notifying alarm and all others that are awaiting notification. | |
| EASAltAlertServerResponseSnooze |
The Alert Server wishes the Alarm Server to snooze the currently notifying alarm. | |
| EASAltAlertServerResponsePauseSound |
The Alert Server wishes the Alarm Server to temporarily pause all sound (i.e stop sending sound play events to the Alert Server). |
Flags for TASAltClientServerStateFlags
| Enumerator | Value | Description |
|---|---|---|
| EASAltStateFlagsSilentRunning | 1 |
The Alert Server should not play any sound |
| EASAltStateFlagsInQuietPeriod | 2 |
The Alarm Server is currently within a quiet period |
| EASAltStateFlagsMoreThanOneDueAlarm | 3 |
The Alarm Server currently has more than one alarm ready to notify. |
| EASAltStateFlagsNoMemoryForSnoozeAlarm | 4 |
There wasn't sufficient memory within the Alarm Server to allocate room for a snoozed alarm. I'm note convinced we need this anymore |
| EASAltStateFlagsAlarmHasNoSoundFileName | 5 |
There isn't any sound filename for the current alarm. |
| EASAltStateFlagsSoundIsPaused | 6 |
This isn't used by the Alert Server. |