Package onep :: Package interfaces :: Module interfacestatspoll :: Class InterfaceStatisticsPollFilter
[frames] | no frames]

Class InterfaceStatisticsPollFilter


This class implements the EventFilter abstract class for filtering an interface Statistics Poll event according to the specified criteria.

A Filter can be used to provide fine grain control over what events to listen to Statistics Poll events.

Instance Methods
 
__init__(self, interface, interval)
The InterfaceStatisticsPollFilter constructor

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

Instance Variables
NetworkInterface interface = property(_get_interface, _set_interface, None, _doc)
The NetworkInterface to poll events from
long interval
The interval (in seconds) during which the statistics data is polled
Properties

Inherited from object: __class__

Method Details

__init__(self, interface, interval)
(Constructor)

 

The InterfaceStatisticsPollFilter constructor

Parameters:
  • interface (NetworkInterface) - The NetworkInterface to poll events from
  • interval (long) - The interval (in seconds) during which the statistics data is polled
Overrides: object.__init__