Fault::Delegate::List - Internal class for managing a list of delegates.
use Fault::Delegate::List; $self = Fault::Delegate::List->new (@delegates); $bool = $self->add (@delegates); @delegates = $self->delegates; $bool = $self->log ($msg,@rest); $bool = $self->trans00 ($msg,@rest); $bool = $self->trans01 ($msg,@rest); $bool = $self->trans10 ($msg,@rest); $bool = $self->trans11 ($msg,@rest);
UNIVERSAL
Internal class for managing a list of delegates.
None.
list Contains a pointer to a hash of delegate pointers.
Create an instance of Fault::Delegate::List and initialize it with the contents of @delegates. The list may be null.
If a delegate has an initfaults method, it is executed and the results merged into the current list of active faults.
Add each member of a list of delegates, that is not already present, to the internal list of delegates. The list may be empty.
A member of the list is included only if it is a pointer to an object that has a log method.
Returns a list of delegate objects suitable for iteration. The list may be empty.
Send a message to each delegate for logging.
Send a message to each delegate for 4 state fault monitoring in the case that $msg was in a Fault Clear state previously and still is.
Send a message to each delegate for 4 state fault monitoring in the case that $msg was in a Fault Clear state previously and is now in a Fault Raised state.
Send a message to each delegate for 4 state fault monitoring in the case that $msg was in a Fault Raised state previously but is now in a Fault Clear state.
Send a message to each delegate for 4 state fault monitoring in the case that $msg was in a Fault Raised state previously and still is.
Ask each delegate to return a current list of faults for this process from its persistant storage. Returns an empty list if there are none or the delegate class has no such memory or if it does and is unable to retrieve data from it.
See TODO.
Dale Amon <amon@vnl.com>
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
=back doesn't take any parameters, but you said =back 4
To install Fault::Msg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fault::Msg
CPAN shell
perl -MCPAN -e shell install Fault::Msg
For more information on module installation, please visit the detailed CPAN module installation guide.