Browses through the events happening on a Space. The list of events remaining to be browsed through is continuously updated according to changes in the Space.

Namespace: Com.Tibco.As.Space.Browser
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.2.0.015)

Syntax

C#
public interface EventBrowser
Visual Basic
Public Interface EventBrowser
Visual C++
public interface class EventBrowser
F#
type EventBrowser =  interface end

Remarks

Is created by BrowseEvents(String, EventBrowserDef).
Just like Entry Browsers, Event Browsers have a timeout specifying the amount of time the next() method can block for while waiting for a new Event to be generated by the Space.
Also, just like Entry Browsers, Event Browsers have a time scope and distribution scope.
Time scope limits the set of events being browsed:
  • Time scope ALL means that the Browser will start by delivering PUT events for all the entries stored in the Space at creation time, followed by all subsequent events on the Space
  • Time scope NEW means that only events pertaining to entries stored or updated in the Space after creation time will be browsed on
  • Time scope NEW_EVENTS means that all events happening on the Space after creation time will be browsed on, regardless of the creation time of the Entry they are related to
  • Time scope SNAPSHOT means that the Browser will only deliver PUT events representing the entries stored in the Space at creation time
Distribution scope limits the set of entries or events being browsed:
  • Distribution scope ALL means that events for all of the entries stored in the Space will be browsed on.
  • Distribution scope SEEDED means that only events related to the entries seeded by the member will be browsed on.
An optional filter can be applied to refine the set of events being browsed on.
EventBrowsers do not guarantee any order of presentation of the events related to entries already present in the Space at creation time.

See Also