Interface used to manipulate and evaluate filters.
More...
import "CosNotifyFilter.idl";
List of all members.
Detailed Description
Interface used to manipulate and evaluate filters.
An event filter posseses multiple constraints, each constraint applies to a limited range of event types, the filter is accepted if it matches one or more constraint expressions that apply to its event type.
Member Function Documentation
Add constraints to a filter.
Return the constraints and their IDs.
- Exceptions:
-
| InvalidConstraint | if one or more constraints contain invalid an invalid expression in the Filter constraint grammar. |
Add a callback interface to the filter.
Filters can communicate changes in the list of event types they potentially accept.
- Parameters:
-
| callback | the object interested about changes in the Filter event type list. |
- Returns:
- A unique ID attached to the callback interface.
void CosNotifyFilter::Filter::destroy |
( |
|
) |
|
Remove a callback interface from the filter.
- Parameters:
-
| callback | The ID of the callback removed |
- Exceptions:
-
| CallbackNotFound | if the callback id supplied is not found in the internal list of callbacks. |
The all the constraints in the Filter.
Return all the callback IDs in the Filter object.
Obtain the one or more constraints given their IDs.
- Parameters:
-
| id_list | List of IDs queried |
- Exceptions:
-
Match a regular event against the constraints in the filter.
- Parameters:
-
| filterable_data | The Notification Service event to be tested against the constraints in this Filter |
- Returns:
- TRUE if at least one constraint evaluates to TRUE for the event.
- Exceptions:
-
| UnsupportedFilterableData | if the event contents do not match the filtering expression, for example, if the expression for a filterable field expects a string, but the actual value is a number. |
Match a structured event against the constraints in the filter.
- Parameters:
-
| filterable_data | The Notification Service event to be tested against the constraints in this Filter |
- Returns:
- TRUE if at least one constraint expression evaluates to TRUE for the event.
- Exceptions:
-
| UnsupportedFilterableData | if the event contents do not match the filtering expression, for example, if the expression for a filterable field expects a string, but the actual value is a number. |
Match a typed event against the constraints in the filter.
- Parameters:
-
| filterable_data | The sequence of properties that make the filterable portion of the Typed event. |
- Returns:
- TRUE if at least one constraint expression evaluates to TRUE for the event.
- Exceptions:
-
| UnsupportedFilterableData | if the event contents do not match the filtering expression, for example, if the expression for a filterable field expects a string, but the actual value is a number. |
Modify and/or remove multiple constraints in the Filter.
The operation can raise InvalidConstraint if one or more constraints contain invalid expressions in the constraint grammar.
- Parameters:
-
| del_list | List of constraint IDs to be removed |
| modify_list | List of constrained modified |
- Exceptions:
-
void CosNotifyFilter::Filter::remove_all_constraints |
( |
|
) |
|
Remove all the constraints from the Filter.
Member Data Documentation
Constraint grammar used in this filter.
All filtering expressions in the filter should use this grammar.
The documentation for this interface was generated from the following file: