3 #include "Distributor.hh"
23 virtual void onEnter(
Message * pInMsg, std::vector<std::string> & out, std::string type);
24 virtual void onExit(
Message * pInMsg, std::vector<std::string> & out);
uint32_t mNumCores
Number of cores.
Worker(std::string uuid, std::shared_ptr< Socket > pPipe, NodeManager *pNM)
virtual void onExit(Message *pInMsg, std::vector< std::string > &out)
std::string uuid() const
Returns distributor's UUID.
uint32_t numCores() const
virtual void onEnter(Message *pInMsg, std::vector< std::string > &out, std::string type)
TODO Three horsemen of apocalypse.
virtual void onWhisper(Message *pInMsg, std::vector< std::string > &out)