tibasBrowserDef_SetTimeScope()

Sets the time scope associated with a specified browserDef (browser).

Declaration

tibas_status tibasBrowserDef_SetTimeScope
(tibasBrowserDef browserDef,
int_timescope     timescope)

Parameters

Parameter Description
browserDef The TIBCO ActiveSpaces entity on which the function is invoked.
timescope Specifies the time scope for the browser. Possible values are:
  • TIBAS_TIME_SCOPE_ALL
  • TIBAS_TIME_SCOPE_SNAPSHOT (the default value)
  • TIBAS_TIME_SCOPE_NEW
  • TIBAS_TIME_SCOPE_NEW_EVENTS

Remarks

Use the tibasBrowserDef_SetTimeScope() function to set the time scope associated with a specified browserDef and its associated browser.

The timescope parameter specifies the time scope for the browser, and can have one of one of the following values:

TIBAS_TIME_SCOPE_ALL
Start the browser with all the tuples currently in the space and update it continuously updated when tuples are added.
TIBAS_TIME_SCOPE_SNAPSHOT
Start the browser with all the tuples in the space at the time the browser is created (or initial values), but do not update it when new tuples are added. This is the default value.
TIBAS_TIME_SCOPE_NEW
Start the browser with no tuples, but update it with new tuples that are created in the space.
TIBAS_TIME_SCOPE_NEW_EVENTS
This value is only used with event browsers. The browser starts empty and is updated when new events occur.