Routines for alrmmntr.kb


AlarmMonitor

File Name

alrmmntr.kb

Syntax

AlarmMonitor ( REF MonitorData: MonitorRecord )

Parameters

MonitorData - the monitor information for the user

Returns

None

Side Effects

None

Description

This event is the main alarm monitor where notifications can be sent and alarms viewed for a user.

Dialog Forms Called

monitor.dfc[monitor_configure]


AlertEvent

File Name

alrmmntr.kb

Syntax

AlertEvent ( REF Alarm: AlarmRecord )

Parameters

Alarm - alarm information

Returns

None

Side Effects

None

Description

This event handles the generation of an alarm alert by sending a dialog box to the user's screen.

Dialog Forms Called

None


MonitorAlarms

File Name

alrmmntr.kb

Syntax

MonitorAlarms ( VAL Args: LIST OF STRING )

Parameters

Args - the list of user arguments to start the Alarm Monitor

Returns

None

Side Effects

None

Description

This procedure starts the Alarm Monitor.

Dialog Forms Called

None


PickAndPostAlarms

File Name

alrmmntr.kb

Syntax

PickAndPostAlarms ( VAL ParentWin: WINDOW, VAL UserName: STRING )

Parameters

ParentWin - the calling window

UserName - the user whose alarms are being alerted

Returns

None

Side Effects

None

Description

This procedure handles the gathering of user alarms and posts alerts from the alarms.

Dialog Forms Called

ntfyalrm.dfc[alertuser]


ValidUser

File Name

alrmmntr.kb

Syntax

ValidUser ( VAL user_id: STRING ): BOOLEAN

Parameters

user_id - the user ID to be validated

Returns

None

Side Effects

None

Description

This function validates the user ID being passed in.

Dialog Forms Called

None