Quick Links: |
#include <bmqa_session.h>
Public Member Functions | |
virtual | ~SessionEventHandler () |
virtual void | onSessionEvent (const SessionEvent &event)=0 |
virtual void | onMessageEvent (const MessageEvent &event)=0 |
Pure protocol for an asynchronous event handler. The implementation must be thread safe if the Session
is configured to use multiple threads.
virtual bmqa::SessionEventHandler::~SessionEventHandler | ( | ) | [virtual] |
Destroy this object.
virtual void bmqa::SessionEventHandler::onSessionEvent | ( | const SessionEvent & | event | ) | [pure virtual] |
Process the specified session event
(connected, disconnected, queue opened, queue closed, etc.).
virtual void bmqa::SessionEventHandler::onMessageEvent | ( | const MessageEvent & | event | ) | [pure virtual] |
Process the specified message event
containing one or more messages.