Managed Object - EventHistoryCollector

Returned by
CreateCollectorForEvents
Extends
HistoryCollector
See also
Event


Managed Object Description

EventHistoryCollector provides a mechanism for retrieving historical data and updates when the server appends new events.

Properties

Name Type Description
latestPage*Event[]

The items in 'viewable latest page'. As new items are added to the collector, they are appended at the end of the page. The oldest item is removed from the collector whenever there are more items in the collector than the maximum established by setLatestPageSize.
Properties inherited from HistoryCollector
filter
*May not be present

Methods

Methods defined in this Managed Object
ReadNextEvents, ReadPreviousEvents
Methods inherited from HistoryCollector
DestroyCollector, ResetCollector, RewindCollector, SetCollectorPageSize

ReadNextEvents

Reads the 'scrollable view' from the current position. The scrollable position is moved to the next newer page after the read. No item is returned when the end of the collector is reached.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventHistoryCollector used to make the method call.
maxCountxsd:int

The maximum number of items in the page.

Return Value

Type Description
Event[]

Faults

Type Description
InvalidArgumentThrown if maxCount is out of range.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition



ReadPreviousEvents

Reads the 'scrollable view' from the current position. The scrollable position is moved to the next older page after the read. No item is returned when the head of the collector is reached.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventHistoryCollector used to make the method call.
maxCountxsd:int

The maximum number of items in the page.

Return Value

Type Description
Event[]

Faults

Type Description
InvalidArgumentThrown if maxCount is out of range.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition