Zero Module Framework
1.0
A framework for running distributed modules using a ZMQ message bus
|
#include <ModuleHandleInternal.hpp>
Public Member Functions | |
ModuleHandleInternal (zmf::data::ModuleUniqueId moduleId, uint16_t version, std::string name, bool isSelfHandle) | |
ModuleHandleInternal (zmf::data::ModuleUniqueId moduleId, uint16_t version, std::string name, std::string zmqPubAddr, std::string zmqRepAddr, bool isSelfHandle) | |
void | selfSetPubPort (uint16_t port) |
void | selfSetRepPort (uint16_t port) |
Public Attributes | |
uint32_t | self_ZmqPubPort |
uint32_t | self_ZmqRepPort |
std::string | ZmqPubAddr |
std::string | ZmqRepAddr |
uint32_t | PeerTimeout = 0 |
const bool | self |
Internal representation of ID information of a module in the ZMF system. Used to store known peers in the system and to offer public access it via ModuleHandle interface.
|
inline |
|
inline |
|
inline |
|
inline |
uint32_t zmf::data::ModuleHandleInternal::PeerTimeout = 0 |
const bool zmf::data::ModuleHandleInternal::self |
uint32_t zmf::data::ModuleHandleInternal::self_ZmqPubPort |
local ZMQ socket port, could be a short but since protobuf only knows uint32... to be set via method
uint32_t zmf::data::ModuleHandleInternal::self_ZmqRepPort |
local ZMQ socket port, could be a short but since protobuf only knows uint32... to be set via method
std::string zmf::data::ModuleHandleInternal::ZmqPubAddr |
ZMQ publish socket address for this module
std::string zmf::data::ModuleHandleInternal::ZmqRepAddr |
ZMQ reply socket address for this module