Aaron Brown > perfSONAR_PS-Services-PingER-0.09 > perfSONAR_PS::Datatypes::EventTypes::Ops

Download:
perfSONAR_PS-Services-PingER-0.09.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.09   Source  

NAME ^

    perfSONAR_PS::Datatypes::EventTypes::Ops -  a container for various perfSONAR http://ggf.org/ns/nmwg/ops/ eventtypes 

DESCRIPTION ^

The purpose of this module is to create OO interface for ops eventtypes and therefore add the layer of abstraction for any ops 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.

SYNOPSIS ^

    use perfSONAR_PS::Datatypes::EventTypes::Ops; 
    
    # create Ops eventtype object with default URIs
    my $ops_event = perfSONAR_PS::Datatypes::EventTypes::Ops->new();
     
    
    # overwrite only specific Namesapce   with  custom URI 
    
    $ops_event  = perfSONAR_PS::Datatypes::EventTypes::Ops->new( {'select' => 'http://ggf.org/ns/nmwg/ops/select/2.0'});
      
    my $select_event = $ops_event->select; ## get URI by key
    
    $ops_event->pinger(  'http://ggf.org/ns/nmwg/ops/select/2.0'); ## set URI by key

Methods ^

There is accessor mutator for every defined Characteristic

new( )

Creates a new object, pass hash ref as collection of event types for ops namespace

Supported Ops:

 'select'  'average','histogram', 'cdf'  'median''max' 'min'    'mean'

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.

syntax highlighting: