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

Class OIRFilter


Implements of the EventFilter abstract class for filtering an OIR event

Implements of the EventFilter abstract class for filtering an OIR event according to the specified criteria.

A filter can be used to provide fine-tuned control over what events to listen to.

Instance Methods
 
__init__(self)
Constructs an OIRFilter object without specifying criteria

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

Class Variables
  OIRType = enum('ONEP_OIR_ALL', 'ONEP_OIR_INSERT', 'ONEP_OIR_RE...
Properties
  oir_type
OIR type that needs to be filtered.

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

Constructs an OIRFilter object without specifying criteria

Overrides: object.__init__

Class Variable Details

OIRType

Value:
enum('ONEP_OIR_ALL', 'ONEP_OIR_INSERT', 'ONEP_OIR_REMOVE', 'ONEP_OIR_U\
NKNOWN')

Property Details

oir_type

OIR type that needs to be filtered.

Get Method:
_get_oir_type(self)
Set Method:
_set_oir_type(self, oir_type)
Delete Method:
'''
    The parameter used by the filter to identify type of OIR event to \
be 
    listened to. It is of the type OIRFilter.OIRTYPE. If the oir_type \
is
    set to none, the default type "ONEP_OIR_ALL" will be used,
    which will receive notifications for all OIR events.
    '''