LMIMethod.
LMIMethod
(conn, lmi_instance, method, sync_method)[source]¶LMI wrapper class representing CIMMethod
.
Parameters: |
|
---|
return_type
¶Returns: | string of the method call’s return type |
---|
tomof
()[source]¶Prints out a message with MOF representation of CIMMethod
. If the
LMIShell is run in a interactive mode, the output will be redirected to a pager
set by environment variable PAGER
. If there is not PAGER
set,
less or more will be used as a fall-back.
wrapped_object
¶Returns: | wrapped CIMmethod object |
---|
LMIMethod.
LMISignalHelper
[source]¶Helper class, which takes care of signal (de)registration and handling.
callback_attach
(cb_name, cb)[source]¶Registers a callback, which will be called when a SIGINT or SIGTERM is caught.
Parameters: |
|
---|
callback_detach
(cb_name)[source]¶Removes a callback from the callback dictionary.
Parameters: | cb_name (string) – callback name |
---|
signal_attach
()[source]¶Registers SIGINT and SIGTERM signals to local handler in which, the flags for each signal are modified, if such signal is caught.