NCD::ComponentProxyList¶
NAME¶
NCD::ComponentProxyList - component proxy list class
INHERITANCE¶
CAF::Object, CAF::Reporter
DESCRIPTION¶
Instantiation, execution and management of ComponentProxy object instances.
Public methods¶
Private methods¶
_initialize($config, $skip, @comp_names)
object initialization (done via new)
_set_state
Convenience method to wrap around
set_statefunction, passingnoactionandstatedirfrom current options and usingselfas logger.
Functions¶
get_statefile
Return the statefile filename for component
compin thestatedir. Statedir is created if it doesn’t exist previously Return undef in case of problem.First argument is a
CAF::Reporterinstance for logging.
set_state
Mark a component
compas failed within our state directory by wrtiting messagemsgto the statefile instatedir.Returns undef with
noactionargument (from noaction option), 1 otherwise.First argument is a
CAF::Reporterinstance for logging.
get_states
Gather the state information of the components in
statedir.Return hashref with component name as key and state information.
First argument is a
CAF::Reporterinstance for logging.
timestamp (when statefile was created)
message