BLPAPI C++
3.24.11
|
#include <blpapi_session.h>
Public Member Functions | |
virtual | ~EventHandler ()=0 |
virtual bool | processEvent (const Event &event, Session *session)=0 |
Defines the callback supplied by the application to process Events.
Applications which use event driven programming supply instances of their own subclass of this class to the Session to receive callbacks when an Event is available.
|
pure virtual |
An implementation of processEvent
should process the specified event
which originates from the specified session
. The return value is ignored.
If the application wishes to further process the messages
in the event
after returning from the processEvent()
call, the application must make a copy of the event
to ensure the underlying data is not freed.