Package onep :: Package element :: Module ApplFilter :: Class ApplFilter
[frames] | no frames]

Class ApplFilter


Implements the EventFilter abstract class for filtering a app event

Implements the EventFilter abstract class for filtering a app event according to the specified criteria.

A Filter can be used to provide fine-tuned control over which events to listen to.

Instance Methods
 
__init__(self, applID, applType)
Constructor for the ApplEvent class.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, applID, applType)
(Constructor)

 

Constructor for the ApplEvent class.

The input parameters applID and applType are used in conjunction to identify an application event. The application event can come from other onePK applications, Embedded Event Manager(EEM) policies, or Cisco IOS subsystems. This method is also used in conjunction with the event publish API, where application ID and type are given as arbitrary values.

Parameters:
  • applID - Value of the application ID.
  • applType - Value of the application type.
Overrides: object.__init__