dojox/analytics/_base (version 1.10)

Summary

where we store data until we're ready to send it off.

See the dojox/analytics/_base reference documentation for more information.

Property Summary

Method Summary

Event Summary

  • onPushComplete(results) If our data push was successfully, remove the _inTransit data and schedule the next parser run.

Properties

_data
Defined by: dojox/analytics/_base
_id
Defined by: dojox/analytics/_base
dataUrl
Defined by: dojox/analytics/_base
inTransitRetry
Defined by: dojox/analytics/_base
maxRequestSize
Defined by: dojox/analytics/_base
sendInterval
Defined by: dojox/analytics/_base
sendMethod
Defined by: dojox/analytics/_base

Methods

addData(dataType,data)

add data to the queue. Will be pusshed to the server on the next data push

Parameter Type Description
dataType undefined
data undefined
checkData()

TODOC?

getQueryPacket()
Returns:string
pushData()

pushes data to the server if any exists. If a push is done, return the deferred after hooking up completion callbacks. If there is no data to be pushed, return false;

Returns:boolean
schedulePusher(interval)

Schedule the data pushing routines to happen in interval ms

Parameter Type Description
interval Int

Events

onPushComplete(results)
Defined by: dojox/analytics/_base

If our data push was successfully, remove the _inTransit data and schedule the next parser run.

Parameter Type Description
results undefined
Error in the documentation? Can’t find what you are looking for? Let us know!