NAME

perfSONAR_PS::Request - A module that provides an object to interact with for each client request.

DESCRIPTION

This module is to be treated as an object representing a request from a user. The object can be used to get the users request in DOM format as well as set and send the response.

SYNOPSIS

DETAILS

API

new ($package) The 'call' argument is the resonse from HTTP::Daemon->accept(). The request is the actual http request from the user. In general, it can be obtained from the call variable specified above using the '->get_request' function. If it is unspecified, new will try to obtain the request from $call directly.

addEquivalence ($self, $eventType1, $eventType2) This function adds an equivalence between the specified event types.

matchEventTypes ($self, \@eventTypes1, \@eventTypes2) This function takes two arrays of event types and returns the semantic 'join' of the event types. E.g. if an eventType in array1 and an equivalent eventType is in array2, both eventTypes will appear in the returned array.

lookupEquivalence ($self, $eventType) This function returns the list of eventTypes that are equivalent to the specified eventType. This will include the eventType specified.

SEE ALSO

Log::Log4perl

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. Bugs, feature requests, and improvements can be directed here:

https://bugs.internet2.edu/jira/browse/PSPS

VERSION

$Id:$

AUTHOR

Aaron Brown, aaron@internet2.edu

LICENSE

You should have received a copy of the Internet2 Intellectual Property Framework along with this software. If not, see <http://www.internet2.edu/membership/ip.html>

COPYRIGHT

Copyright (c) 2004-2008, Internet2 and the University of Delaware

All rights reserved.