NAME
EventTypes - a container
for
various perfSONAR eventtypes
DESCRIPTION
The purpose of this module is to create OO interface to eventtype registration and therefore add the layer of abstraction for any eventtype related operation. All perfSONAR-PS classes should work with the instance of this class and avoid using explicit eventtype declarations.
SYNOPSIS
my
$tool
= perfSONAR_PS::Datatypes::EventTypes::Tools->new({
'pinger'
=>
'http://ogf.org/ns/nmwg/pinger/3.0 '
});
# create EventTypes object and pass operation name to status class
my
$event
= perfSONAR_PS::Datatypes::EventTypes->new({
operation
=>
'setupdata'
});
# overwrite only specific EventType with custom one
$pinger_tool
=
$event
->tools->pinger;
## get URI by key
API
There are get/set methods for tools and characteristics fields
new({})
Creates a new object, accepts only single parameter - hash ref
Supported Accessors/Mutators
tools, characteristics, ops, status
SEE ALSO
To join the 'perfSONAR-PS' mailing list, please visit:
The perfSONAR-PS subversion repository is located at:
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.