92                           out vector<EventDesc> eventDescs);
 
  174                          in vector<KeyValue> context);
 
  194                       in vector<KeyValue> context);
 
 
There is a single event engine instance reachable by a well known reference.
 
int modifyRule(in Rule rule)
Modify a rule.
 
int testAction(in Action action, out string errMsg, in vector< KeyValue > context)
Test an action.
 
int modifyAction(in Action action)
Modify an action.
 
int listEventDescs(in vector< string > eventIdPrefix, out vector< EventDesc > eventDescs)
Query existing event descriptors.
 
int disableRule(in string ruleId)
Disable a rule.
 
int addAction(in Action action, out string actionId)
Add a new action.
 
int enableRule(in string ruleId)
Enable a rule.
 
vector< string > listActionTypes()
List all available action types.
 
int rearmRule(in string ruleId)
Rearm an event rule that is active.
 
int triggerAction(in string actionId, out string errMsg, in vector< KeyValue > context)
Trigger an action.
 
int addRule(in Rule rule, out string ruleId)
Add a new rule.
 
vector< Action > listActions()
List all actions currently know to this event engine.
 
int deleteAction(in string actionId)
Remove an action.
 
int deliverEvent(in Event event)
Deliver an event.
 
vector< Rule > listRules()
List all rules.
 
int deleteRule(in string ruleId)
Delete a rule.
 
An action is a tuple of 'id' (unique within the scope of this event engine), 'name' which is unique a...
 
boolean isSystem
true for system-defined actions
 
string name
User-defined name.
 
vector< KeyValue > arguments
Action argument map.
 
Condition is a logical combination of multiple events.
 
vector< string > eventId
Event ID.
 
boolean negate
Negate the result.
 
Op
logical operation to be applied over all conditions and event
 
MatchType
the match type how to match the event assertion state
 
@ DEASSERTED
Match if the event is deasserted.
 
@ ASSERTED
Match if the event is asserted.
 
Op operation
Logical operation to be applied.
 
vector< Condition > conditions
List of subordinate conditions.
 
MatchType matchType
Match type.
 
string idComp
Event ID component.
 
Event::Type eventType
Event type.
 
string name
User-defined name.
 
vector< EventDesc > entries
Child nodes.
 
Type
Event descriptor type.
 
Type eventDescType
Event descriptor type.
 
string dynNodeContext
Dynamic node context.
 
A Rule binds an action to a condition.
 
vector< string > actionIds
List of action IDs.
 
boolean isEnabled
true if the rule is enabled
 
boolean hasMatched
true if the rule has matched since being armed
 
boolean isSystem
true for system-defined rules
 
vector< KeyValue > arguments
Argument map.
 
string name
User-defined name.
 
boolean isAutoRearm
true for auto-rearming rules
 
Condition condition
Trigger condition.
 
Event has a type: a STATE event indicates that a boolean state has been changed, i....
 
vector< string > id
Event id vector.
 
time timeStamp
UNIX timestamp (UTC)
 
vector< KeyValue > context
Context map.
 
boolean asserted
Assertion value.
 
Helper that is used wherever key/value pairs are required.