EventTemplate

Managed object to act as a template for notifications (events). Each instance of the template contains a set of named arguments. These argument names can be retrieved for checking against Policies that expect to be activated by the events. When an event is created using this template the named arguments are packed into a map and sent around the system inside the event.

Factory Messages
OperationDescription
create creates an empty template. Further messages must be sent to give the named arguments.
create: anArray creates an event template with anArray containing the argument names.

Operational Messages
OperationReturnDescription
packageArgs: anArray P2Hash
arg: arg self adds an argument field to this event definition. Answers the receiver
args: anArray self adds anArray of argument fields to this event template. Answers the receiver.
create self creates and sends an event of this type with no values. Answers the receiver
create: anArray self creates and sends an event of this type with values from anArray. Answers the receiver
fromHash: aHash self creates and sends an event of this type with values from aHash. Answers the receiver