Polls an application's event store for events that cause changes to business objects.
public int pollForEvents();
None.
An integer that indicates the outcome status of the polling operation.The pollForEvents() method typically uses the following return codes:
None.
The connector framework calls the pollForEvents() method, at a time interval that you can configure, so that the connector can detect any event in the application that is interesting to a subscriber. The frequency at which the class library calls this method depends on the poll frequency value that is configured by the PollFrequency connector configuration property.
The CWConnectorAgent class provides a default implementation for the pollForEvents() method, which is based on the CWConnectorEvent event objects as a standard interface for event management. For information on the behavior of this default implementation, see Implementing the pollForEvents() method.. This default implementation provides the basic steps for polling an event store. If you override the default pollForEvents(), your implementation must perform similar steps.