☜ | Events (Job)Draft MDC Standard | ☞ |
Registered Events:
^$Job ( processid , expr1 V "EVENT" , expr2 V evclass , evid ) = expr3 V labelref
This node identifies the events enabled for event processing under either the synchronous or asynchronous event processing models, and specifies the event handler that is invoked to process the event. Setting this node enables the specified events for event processing. Killing this node disables the specified events for event processing, and removes all child nodes, even if KValue is used.
Implementations are expected to support all of the specified evclass and evid values with the understanding that some events may never occur on a given implementation. If an evclass or evid not defined in the standard is used, an error condition occurs with ecode = “M38”. Attempting to set this node when evid cannot be registered due to resource availability will generate an error condition with ecode = “M110”.
Event Processing Modes:
^$Job ( processid , expr1 V "EVENT" , expr2 V evclass , evid , expr3 V "MODE" ) = | │ │ │ │ |
"DISABLED" "SYNCHRONOUS" "ASYNCHRONOUS" |
│ │ │ │ |
This node identifies the processing mode for the specified event by the specified process. If the specified event class is currently enabled for asynchronous event processing by this process (see Clause 8.2.3, ASTArt), the value of the node will be “ASYNCHRONOUS”. If the specified event class is currently enabled for synchronous event processing by this process (see Clause 8.2.10, ESTArt), the value of the node will be “SYNCHRONOUS”. If the specified event class is not enabled for either form of processing by this process, the value of the node will be “DISABLED”.
Event Block Counts:
^$Job ( processid , expr1 V "EVENT" , expr2 V evclass , evid , expr3 V "BLOCKS" ) = intlit
This node gives the count of blocks (see Clause 8.2.1, ABlock, and Clause 8.2.5, AUnblock) on the specified event for the specified process. It only exists if the event class is enabled in either synchronous or asynchronous event processing modes. If the value of the node is zero, the events are not blocked. If the value is greater than zero, the events are blocked.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.
This page most recently updated on 18-Nov-2023, 11:34:58.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)