setInterval Member Function

Allows the application to dynamically change the aggregation interval of the Listener during application execution.

NOTE The aggregation interval may also be specified by a variety of other sources. For more information, see Configuring the Aggregation Interval.

Syntax
void setInterval(unsigned int interval);
Parameters
interval - [in] Required unsigned int, which specifies the new value (in milliseconds) to assign as the aggregation interval. Values of less than 100 milliseconds are ignored.
Example
Listener *listener = new Listener("sampleApp", "4.0", NULL, false);
listener->setInterval(100000);

...
See Also
Listener Class