Contents

DataAvailable

Responds to the addition of new data to the queue.

Declaration

virtual void DataAvailable(OSAction *action);

Parameters

  • action:

    The action object being executed.

Mentioned in

Discussion

Use this method as a prototype for declaring your own custom data-queue handlers. When declaring your method, use the TYPE macro to indicate that your method has the same parameters and return value as this method.

Use the implementation of your method to examine the data in the queue and remove it when appropriate.

See Also

Removing Work from the Queue