NAME
perfSONAR_PS::Datatypes::EventTypes::Status - a container for various perfSONAR http://schemas.perfsonar.net/status/ eventtypes
DESCRIPTION
The purpose of this module is to create OO interface for status eventtypes and therefore add the layer of abstraction for any status eventtypes related operation ( mostly for perfSONAR response). All perfSONAR-PS classes should work with the instance of this class and avoid using explicit eventtype declarations.
SYNSTATUSIS
use perfSONAR_PS::Datatypes::EventTypes::Status;
# create Status eventtype object with default URIs
my $sd_status = perfSONAR_PS::Datatypes::EventTypes::Status->new('setupdata');
print $sd_status->success
# will print: "http://schemas.perfsonar.net/status/success/setupdata/1.0/"
# overwrite only specific Namesapce with custom URI
Methods
There is accessor mutator for every defined status
new('operationName')
Creates a new object, accepts scalar operation name, if missed then default is 'echo'
operation('operationName')
Resets current operation or returns it if argument is missed
Supported Status:
success / failure
SEE ALSO
To join the 'perfSONAR-PS' mailing list, please visit:
https://mail.internet2.edu/wws/info/i2-perfsonar
The perfSONAR-PS subversion repository is located at:
https://svn.internet2.edu/svn/perfSONAR-PS
Questions and comments can be directed to the author, or the mailing list.
AUTHOR
Maxim Grigoriev, <maxim@fnal.gov>, 2007
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.