Quick Links:

bmqa | bmqpi | bmqt

Public Member Functions

bmqa::SessionEventHandler Class Reference

#include <bmqa_session.h>

List of all members.

Public Member Functions

virtual ~SessionEventHandler ()
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.

See Component bmqa_session


Constructor & Destructor Documentation

virtual bmqa::SessionEventHandler::~SessionEventHandler (  )  [virtual]

Destroy this object.


Member Function Documentation

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.


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