Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Safir::Dob::MessageSubscriber Class Referenceabstract

Interface to be implemented by subscribers of messages. More...

#include <Safir/Dob/Consumer.h>

Inheritance diagram for Safir::Dob::MessageSubscriber:
Collaboration diagram for Safir::Dob::MessageSubscriber:

Public Member Functions

virtual ~MessageSubscriber ()
 Virtual destructor is needed since we have virtual member functions. More...
 
virtual void OnMessage (const Safir::Dob::MessageProxy messageProxy)=0
 Called when a message is received. More...
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 

Detailed Description

Interface to be implemented by subscribers of messages.

Constructor & Destructor Documentation

virtual Safir::Dob::MessageSubscriber::~MessageSubscriber ( )
virtual

Virtual destructor is needed since we have virtual member functions.

Member Function Documentation

virtual void Safir::Dob::MessageSubscriber::OnMessage ( const Safir::Dob::MessageProxy  messageProxy)
pure virtual

Called when a message is received.

Parameters
[in]messageProxy- Proxy object containing received message and meta information.