26 #include <zmqpp/inet.hpp> 27 #include <zmqpp/zmqpp.hpp> 33 uint64_t network_card_id = zmqpp::htonll(card.
to_int());
34 std::memcpy(&data[0], &network_card_id, 8);
virtual uint64_t to_int() const override
Returns the integer representation of the card ID.
virtual ByteVector build_cred_msg(const Cred::RFIDCard &card) override
Returns a binary buffer containing the data that shall be sent over the network to notify the client...
std::vector< uint8_t > ByteVector