libbmq  a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
BloombergLP::bmqa::SessionEventHandler Class Referenceabstract

#include <bmqa_session.h>

Public Member Functions

virtual ~SessionEventHandler ()
 Destroy this object. More...
 
virtual void onSessionEvent (const SessionEvent &event)=0
 
virtual void onMessageEvent (const MessageEvent &event)=0
 

Detailed Description

Pure protocol for an asynchronous event handler. The implementation must be thread safe if the Session is configured to use multiple threads.

Constructor & Destructor Documentation

◆ ~SessionEventHandler()

virtual BloombergLP::bmqa::SessionEventHandler::~SessionEventHandler ( )
virtual

Member Function Documentation

◆ onSessionEvent()

virtual void BloombergLP::bmqa::SessionEventHandler::onSessionEvent ( const SessionEvent event)
pure virtual

Process the specified session event (connected, disconnected, queue opened, queue closed, etc.).

◆ onMessageEvent()

virtual void BloombergLP::bmqa::SessionEventHandler::onMessageEvent ( const MessageEvent event)
pure virtual

Process the specified message event containing one or more messages.


The documentation for this class was generated from the following file: