CIMIndicationListener

class lmiwbem.lmiwbem_core.CIMIndicationListener
add_handler(name, handler, *args, **kwargs)

Adds callback for specific indication.

Parameters:
  • name (str) – indication name
  • handler – callable for indication
  • args – positional arguments passed to handler
  • kwargs – keyword arguments passed to handler
handlers

Property storing list of strings of handlers.

Return type:list
hostname

Property storing bind hostname.

Return type:str
is_alive

Property storing flag, which indicates, if the indication listener is running.

Return type:bool
port

Property storing listening port.

Return type:int
remove_handler(name)

Removes a specified handler from indication listener.

Parameters:name (str) – indication name
Raises :KeyError
start()

Starts indication listener.

stop()

Stops indication listener.

uses_ssl

Property storing flag, which indicates, if the indication listener uses secure connection.

Return type:bool

Previous topic

CIMInstance

Next topic

CIMMethod

This Page