![]() |
Rosetta
2021.16
|
#include <DbMoverMessageListener.hh>

Public Member Functions | |
| DbMoverMessageListener () | |
| void | receive (std::string const &data) override |
| receive the protocol id and batch id from the slave More... | |
| bool | request (std::string const &identifier, std::string &return_data) override |
| check to see if we have a protocol id and batch id. If we have them then tell them to the slave. If we don't have them then tell the slave to make them More... | |
| void | deserialize_data (std::string const &data) |
Public Member Functions inherited from utility::VirtualBase | |
| VirtualBase ()=default | |
| Default constructor. More... | |
| virtual | ~VirtualBase ()=default |
| The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
| VirtualBase (VirtualBase const &)=default | |
| VirtualBase (VirtualBase &&)=default | |
| VirtualBase & | operator= (VirtualBase const &)=default |
| VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
| numeric::Size | protocol_id_ |
| std::map< std::string, numeric::Size > | batch_ids_ |
| basic::mpi::DbMoverMessageListener::DbMoverMessageListener | ( | ) |
| void basic::mpi::DbMoverMessageListener::deserialize_data | ( | std::string const & | data | ) |
References batch_ids_, protocol_id_, utility::split(), utility::string2int(), and utility_exit_with_message.
Referenced by receive().
|
overridevirtual |
receive the protocol id and batch id from the slave
Implements basic::mpi::MessageListener.
References deserialize_data().
|
overridevirtual |
check to see if we have a protocol id and batch id. If we have them then tell them to the slave. If we don't have them then tell the slave to make them
Implements basic::mpi::MessageListener.
References batch_ids_, protocol_id_, and utility::to_string().
|
private |
Referenced by deserialize_data(), and request().
|
private |
Referenced by deserialize_data(), and request().
1.8.7