public CWConnectorEvent getNextEvent();
None.
A CWConnectorEvent object for the next Ready-for-Poll event. If the eventsToProcess vector is empty, the method returns null.
The getNextEvent() method checks the eventsToProcess vector for events that currently have the READY_FOR_POLL status. If it finds the such an event in this vector, the method takes the following actions:
The eventsToProcess vector is initialized with either the fetchEvents() or setEventsToProcess() method.