Public Member Functions
rtshell.actions.BaseCallback Class Reference

Base callback. More...

Inheritance diagram for rtshell.actions.BaseCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __call__
def __init__
def __str__

Detailed Description

Base callback.

Base class for callback objects.

Callback objects must implement the __call__ method, and receive two
values:
- A boolean indicating success or failure of the action.
- An error message to optionally be printed on failure. None if no message.

Definition at line 104 of file actions.py.


Constructor & Destructor Documentation

def rtshell.actions.BaseCallback.__init__ (   self,
  args,
  kwargs 
)

Reimplemented in rtshell.actions.RequiredActionCB, and rtshell.rtcheck.SystemNotOKCB.

Definition at line 113 of file actions.py.


Member Function Documentation

def rtshell.actions.BaseCallback.__call__ (   self,
  result,
  err_msg 
)

Reimplemented in rtshell.actions.RequiredActionCB, and rtshell.rtcheck.SystemNotOKCB.

Definition at line 116 of file actions.py.

Reimplemented in rtshell.actions.RequiredActionCB, and rtshell.rtcheck.SystemNotOKCB.

Definition at line 124 of file actions.py.


The documentation for this class was generated from the following file:


rtshell
Author(s): Geoffrey Biggs
autogenerated on Fri Aug 28 2015 12:55:12