Module wmi :: Class _wmi_event
[hide private]
[frames] | no frames]

Class _wmi_event

source code


Slight extension of the _wmi_object class to allow objects which are the result of events firing to return extra information such as the type of event.

Instance Methods [hide private]
 
__init__(self, event, event_info) source code
 
__eq__(self, other)
Use WMI's CompareTo_ to compare this object with another. (Inherited from wmi._wmi_object)
source code
 
__getattr__(self, attribute)
Attempt to pass attribute calls to the proxied COM object. (Inherited from wmi._wmi_object)
source code
 
__repr__(self)
Indicate both the fact that this is a wrapped WMI object and the WMI object's own identifying class. (Inherited from wmi._wmi_object)
source code
 
__setattr__(self, attribute, value)
If the attribute to be set is valid for the proxied COM object, set that objects's parameter value; if not, raise an exception. (Inherited from wmi._wmi_object)
source code
 
__str__(self)
For a call to print [object] return the OLE description of the properties / values of the object (Inherited from wmi._wmi_object)
source code
 
_cached_methods(self, attribute) (Inherited from wmi._wmi_object) source code
 
_cached_properties(self, attribute) (Inherited from wmi._wmi_object) source code
 
_getAttributeNames(self)
Return list of methods/properties for IPython completion (Inherited from wmi._wmi_object)
source code
 
associators(self, wmi_association_class="", wmi_result_class="")
Return a list of objects related to this one, optionally limited either by association class (ie the name of the class which relates them) or by result class (ie the name of the class which would be retrieved) (Inherited from wmi._wmi_object)
source code
 
derivation(self)
Return a tuple representing the object derivation for this object, with the most specific object first. (Inherited from wmi._wmi_object)
source code
 
path(self)
Return the WMI URI to this object. (Inherited from wmi._wmi_object)
source code
 
put(self) (Inherited from wmi._wmi_object) source code
 
references(self, wmi_class="")
Return a list of associations involving this object, optionally limited by the result class (the name of the association class). (Inherited from wmi._wmi_object)
source code
 
set(self, **kwargs)
Set several properties of the underlying object at one go. (Inherited from wmi._wmi_object)
source code
Class Variables [hide private]
  event_type_re = re.compile("__Instance(Creation|Modification|D...
Method Details [hide private]

__init__(self, event, event_info)
(Constructor)

source code 
Overrides: _wmi_object.__init__

Class Variable Details [hide private]

event_type_re

Value:
re.compile("__Instance(Creation|Modification|Deletion)Event")