Class Index | File Index

Classes


Function Namespace initEventServices

taoApi
Defined in: api.js.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
initEventServices(source, destination)
Initialize the interfaces communication for the events logging.
Function Namespace Detail
initEventServices(source, destination)
Initialize the interfaces communication for the events logging. The source service defines where and how we retrieve the list of events to catch The destination service defines where and how we send the catched events
Parameters:
{Object} source
{String} source.type Optional, Default: "sync"
the type of source (sync|manual)
{Object} source.data Optional
For the manual source type, set direclty the events list in the data
{String} source.url Optional, Default: "/taoDelivery/ResultDelivery/getEvents"
For the sync source type, the URL of the remote service
{Object} source.params Optional
the parameters to send to the sync service
{String} source.format Optional, Default: "json"
the data format. Only json is supported in the current version
{String} source.method Optional, Default: "post"
HTTP method of the sync service (get|post)
{Object} destination
{String} destination.url Optional, Default: "/taoDelivery/ResultDelivery/traceEvents"
the URL of the remote service
{Object} destination.params Optional
the common parameters to send to the service
{String} destination.format Optional, Default: "json"
the data format. Only json is supported in the current version
{String} destination.method Optional, Default: "post"
HTTP method of the service (get|post)

Documentation generated by JsDoc Toolkit 2.3.2 on Tue Feb 22 2011 09:54:54 GMT+0100 (CET)