EventTypes - a container for various perfSONAR eventtypes
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.
use perfSONAR_PS::Datatypes::EventTypes; use perfSONAR_PS::Datatypes::EventTypes::Tools; use perfSONAR_PS::Datatypes::EventTypes::Ops; use perfSONAR_PS::Datatypes::EventTypes::Characteristics; 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 $event->tools->pinger('http://newpinger/eventtype/'); ## set URI for pinger key
There are get/set methods for tools and characteristics fields
Creates a new object, accepts only single parameter - hash ref
tools, characteristics, ops, status
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.
Maxim Grigoriev, <maxim@fnal.gov>, 2007
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.
To install IEPM::PingER::Statistics::RTT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IEPM::PingER::Statistics::RTT
CPAN shell
perl -MCPAN -e shell install IEPM::PingER::Statistics::RTT
For more information on module installation, please visit the detailed CPAN module installation guide.