perfSONAR_PS::Datatypes::v2_0::nmwgt::Message::Metadata::Subject::EndPointPair - A base class, implements 'endPointPair' element from the perfSONAR_PS RelaxNG schema
Object representation of the endPointPair element. Object fields are: Object reference: src => type HASH, Object reference: dst => type HASH, The constructor accepts only single parameter, it could be a hashref to parameters hash or DOM with 'endPointPair' element
use perfSONAR_PS::Datatypes::v2_0::nmwgt::Message::Metadata::Subject::EndPointPair; my $el = perfSONAR_PS::Datatypes::v2_0::nmwgt::Message::Metadata::Subject::EndPointPair->new($DOM_Obj);
creates object, accepts DOM with element tree or hashref to the list of keyd parameters src => HASH, dst => HASH,
accept parent DOM return endPointPair object DOM, generated from object contents
depending on config it will return some hash ref to the initialized fields for example querySQL () accepts one optional prameter - query hashref will return: { ip_name_src => 'hepnrc1.hep.net' },}
merge with another endPointPair ( append + overwrite if exists ) we can do it differently method #1: convert to dom both objects and then get resulted object from combined dom method #2 default: through the introspection of the object
if any of subelements has id then get a map of it in form of hashref to { element}{id} = index in array and store in the idmap field
if any of subelements has metadataIdRef then get a map of it in form of hashref to { element}{ metadataIdRef } = index in array and store in the idmap field
shortcut to get DOM and convert into the XML string returns XML string representation of the endPointPair object
will parse all subelements and register all namepspaces within the endPointPair namespace
accepts parent XML DOM element tree as parameter returns endPointPair object
Maxim Grigoriev (FNAL) 2007-2008, maxim@fnal.gov
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.