Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: Agents Up: Events Previous: Events


What is an ``Event"?

An event has a name and an associated value. The name is simply an identifier, much like a variable's name. The value can be any Glish value, of any type: numeric, string, record, reference, agent, or function7.1, along with all of its attributes. A foo event with value [3, 2, 5], means an event whose name is ``foo'' and whose value is the particular three-element integer vector [3, 2, 5].

An event can be thought of as a message, with the name identifying the message's type and the value conveying data specific to a particular message. For example, in addition to the foo event, discussed above, you might have another foo event, this time with a value of "howdy howdy!". Both events can be thought of as ``foo"-type events, though their values are different.

Glish provides ways to generate events and to specify what should happen when an event is received. How events are sent to and received from agent's is discussed in the next section.


next up previous contents index
Next: Agents Up: Events Previous: Events   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15