![]() |
Rosetta Utilities
2014.16.56682
|
#include <DbMoverMessageListener.hh>
Public Member Functions | |
| DbMoverMessageListener () | |
| virtual void | receive (std::string const &data) |
| receive the protocol id and batch id from the slave More... | |
| virtual bool | request (std::string const &identifier, std::string &return_data) |
| 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::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
Private Attributes | |
| numeric::Size | protocol_id_ |
| std::map< std::string, numeric::Size > | batch_ids_ |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
| basic::message_listening::DbMoverMessageListener::DbMoverMessageListener | ( | ) |
| void basic::message_listening::DbMoverMessageListener::deserialize_data | ( | std::string const & | data | ) |
References batch_ids_, protocol_id_, utility::split(), utility::string2int(), and utility_exit_with_message.
Referenced by receive().
|
virtual |
receive the protocol id and batch id from the slave
Implements basic::message_listening::MessageListener.
References deserialize_data().
|
virtual |
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::message_listening::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