Chapter Contents |
Previous |
Next |
Building a Model with Elementary Components |
Notice that the list box labeled Triggers contains two entries, one labeled Server -> preempt and the other labeled Trigger. The first one indicates that an arriving transaction will cause the "preempt" message to be sent to Server. The second one, labeled Trigger, has not been specified but is selected. Selecting this and pressing the Edit button raises the second window which looks like the Trigger Control Panel. Notice that the Server named Server is selected in that window. Also notice that seize has been selected. This means that the second message triggered by an arriving transaction will send the "seize" message to the component labeled Server.
The following documents the logic of the MTrigger component:
sends each message to the appropriate component, then the transaction flows down each arc directed away from the component.
the request is sent up each arc directed into the component.
if any of the components on arcs directed out of the MultiTrigger is busy, then return TRUE; else, return FALSE.
Keyword | Meaning |
---|---|
id | returns the component's unique identifier. |
Keyword | Meaning |
---|---|
reset | resets the Multi-Trigger. |
start | starts the Multi-Trigger. |
stop | stops the Multi-Trigger. |
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.