Safir SDK Core
Loading...
Searching...
No Matches
Safir::Utilities::AceDispatcher Class Reference

The class makes a thread switch and perform a dispatch on Dob connection. More...

#include <Safir/Utilities/AceDispatcher.h>

Inheritance diagram for Safir::Utilities::AceDispatcher:
[legend]
Collaboration diagram for Safir::Utilities::AceDispatcher:
[legend]

Public Member Functions

 AceDispatcher (const Safir::Dob::Connection &connection)
 Constructor.
 
 AceDispatcher (const Safir::Dob::Connection &connection, ACE_Reactor *reactor)
 Constructor.
 
- Public Member Functions inherited from Safir::Dob::Dispatcher
virtual ~Dispatcher ()
 Virtual destructor is needed since we have virtual member functions.
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 

Detailed Description

The class makes a thread switch and perform a dispatch on Dob connection.

Deprecated
This class will be removed from Safir SDK Core eventually, make your own copy of it if you need it.

Constructor & Destructor Documentation

◆ AceDispatcher() [1/2]

Safir::Utilities::AceDispatcher::AceDispatcher ( const Safir::Dob::Connection & connection)

Constructor.

The process wide ACE reactor is used and is excepted to be the owner of the running event loop.

Parameters
[in]connection- The dob connection.

◆ AceDispatcher() [2/2]

Safir::Utilities::AceDispatcher::AceDispatcher ( const Safir::Dob::Connection & connection,
ACE_Reactor * reactor )

Constructor.

A pointer to a local ACE reactor is supplied by the user of this class.

Parameters
[in]connection- The dob connection.
[in]reactor- A pointer to the reactor running the event loop