code::SQLEventHandler::SQLEventCallback Class Reference

Inheritance diagram for code::SQLEventHandler::SQLEventCallback:

code::EventCallback List of all members.

Public Member Functions

virtual void actionPerformed (const Buffer &)
 calls findNewRecords() on the SQLIndex
virtual ~SQLEventCallback ()
bool checkWait ()
 checks the wait flag, returning its value and then setting it to false, so that we don't wait the next time we are called.
 SQLEventCallback (SQLIndex *index)
virtual void actionPerformedOnError ()
 This is the function that will be invoked when there is a system error making event notification not possible, either for the particular event requested or for all events.

Constructor & Destructor Documentation

virtual code::SQLEventHandler::SQLEventCallback::~SQLEventCallback (  )  [inline, virtual]

code::SQLEventHandler::SQLEventCallback::SQLEventCallback ( SQLIndex index  )  [inline]


Member Function Documentation

virtual void code::SQLEventHandler::SQLEventCallback::actionPerformed ( const Buffer  )  [virtual]

calls findNewRecords() on the SQLIndex

Implements code::EventCallback.

virtual void code::EventCallback::actionPerformedOnError (  )  [inline, virtual, inherited]

This is the function that will be invoked when there is a system error making event notification not possible, either for the particular event requested or for all events.

Additional arguments may be simply obtained by adding the appropriate arguments to your EventCallback subclass. (See for example, the more rounded LBEventCallback, which gives you access to the LB name used for update notification).

bool code::SQLEventHandler::SQLEventCallback::checkWait (  ) 

checks the wait flag, returning its value and then setting it to false, so that we don't wait the next time we are called.

The wait flag is set to "true" by actionPerformed() if the corresponding SQLIndex does not have any new records.

The checkWait() is called by the SQLEventHandler in the event loop.


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7