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

Interface to be implemented by an application that sends requests (Request on entities or service requests). More...

#include <Safir/Dob/Consumer.h>

Inheritance diagram for Safir::Dob::Requestor:
Collaboration diagram for Safir::Dob::Requestor:

Public Member Functions

virtual ~Requestor ()
 Virtual destructor is needed since we have virtual member functions. More...
 
virtual void OnResponse (const Safir::Dob::ResponseProxy responseProxy)=0
 Called when a response is received on a sent request. More...
 
virtual void OnNotRequestOverflow ()=0
 Called to indicate that it is meningful to make a retry after an overflow situation. More...
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 

Detailed Description

Interface to be implemented by an application that sends requests (Request on entities or service requests).

Constructor & Destructor Documentation

virtual Safir::Dob::Requestor::~Requestor ( )
virtual

Virtual destructor is needed since we have virtual member functions.

Member Function Documentation

virtual void Safir::Dob::Requestor::OnNotRequestOverflow ( )
pure virtual

Called to indicate that it is meningful to make a retry after an overflow situation.

virtual void Safir::Dob::Requestor::OnResponse ( const Safir::Dob::ResponseProxy  responseProxy)
pure virtual

Called when a response is received on a sent request.

Parameters
[in]responseProxy- Response proxy.