26 #include <zmqpp/reactor.hpp> 27 #include <zmqpp/socket.hpp> 78 std::vector<std::string> auth_sources,
79 std::vector<std::string> connect_to,
80 std::vector<std::string> bind_to,
NotifierInstance & operator=(const NotifierInstance &)=delete
This is the header file for a generated source file, GitSHA1.cpp.
void handle_one(zmqpp::message &msg)
std::string zmq_identity_
TargetInfo * find_target(const std::string &routing_id)
Attempt to find a target from its routing_id.
Some information for each tcp server target.
bool act_as_server_
Are we a server or a client ?
void handle_credential(Cred::RFIDCard &card)
Notify the peers of the card credential.
void handle_tcp_msg()
Some event on our ZMQ Stream socket.
std::unique_ptr< ProtocolHandler > ProtocolHandlerUPtr
std::unique_ptr< NotifierInstance > NotifierInstanceUPtr
zmqpp::socket bus_sub_
Read internal message bus.
This is an instance of the Notifier.
ProtocolHandlerUPtr protocol_
NotifierInstance(zmqpp::context &ctx, zmqpp::reactor &reactor, std::vector< std::string > auth_sources, std::vector< std::string > connect_to, std::vector< std::string > bind_to, ProtocolHandlerUPtr protocol_handler)
Create a new notifier instance.
TargetInfo & operator=(const TargetInfo &o)=default
void configure_tcp_socket(const std::vector< std::string > &endpoints)
zmqpp::socket tcp_
Stream socket used to connect to remote client we want to notify.
~NotifierInstance()=default
std::list< TargetInfo > targets_