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

Interface for reception of a dispatch order. More...

#include <Safir/Dob/Consumer.h>

Inheritance diagram for Safir::Dob::Dispatcher:
Collaboration diagram for Safir::Dob::Dispatcher:

Public Member Functions

virtual ~Dispatcher ()
 Virtual destructor is needed since we have virtual member functions. More...
 
virtual void OnDoDispatch ()=0
 Indicates that there is incoming data for the connection so the application shall call Dispatch(). More...
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 

Detailed Description

Interface for reception of a dispatch order.

Constructor & Destructor Documentation

virtual Safir::Dob::Dispatcher::~Dispatcher ( )
virtual

Virtual destructor is needed since we have virtual member functions.

Member Function Documentation

virtual void Safir::Dob::Dispatcher::OnDoDispatch ( )
pure virtual

Indicates that there is incoming data for the connection so the application shall call Dispatch().

When this method is called the application MUST call the Dispatch() method for the connection. Note that Dispatch() is NOT to be called directly from within this method. Instead the application shall set an event or similar and then call Dispatch() from the thread that owns (has called Open) the connection.