Fix ZMQ Notification initialization and shutdown
commitde0499d3b8352334357c8d60931cd5d2be5ab61d
authorJoão Barbosa <joao@bitreserve.org>
Sun, 1 Nov 2015 18:09:17 +0000 (1 18:09 +0000)
committerJoão Barbosa <joao@bitreserve.org>
Wed, 4 Nov 2015 10:36:00 +0000 (4 10:36 +0000)
treedebaa2e8f9671650860d827cedbdac27ca79b243
parent02a95be97759e70d9e7537775c95eec219c8333e
Fix ZMQ Notification initialization and shutdown

Moves the call Initialize() from init.cpp to CreateWithArguments() and handles the
return value. Moves the call Shutdown() from init.cpp to destructor.
Changes Initialize() and Shutdown() to protected members.
src/init.cpp
src/zmq/zmqnotificationinterface.cpp
src/zmq/zmqnotificationinterface.h