25 : rep_(ctx,
zmqpp::socket_type::rep)
27 rep_.bind(
"inproc://" + name);
37 pipe->send(zmqpp::signal::ok);
43 if (poller.has_input(*pipe))
46 if (poller.has_input(
rep_))
Unit testing utility class that helps writing test.
FakeWiegandReader(zmqpp::context &ctx, const std::string &name)
bool run(zmqpp::socket *pipe)
Runs the dummy ready in a thread.
zmqpp::socket rep_
Receive command here.