{NNGPool}
Connection pool to implement multithreaded REQ/REP socket server
Pool creates the set of NNGPoolWorker instances containing shared state machines and associate its nng context with socket
Methods:
- constructor
-- socket pointer: shoud be nng_socket_type.NNG_SOCKET_REP but may be extended
-- callback: receiving message and context - void function(NNGMessage*, void*);
-- number of workers
-- void* context to pass into callback
-- file to forward log messages to
- init: initialize workers state machines
- shutdown
{NNGPool} Connection pool to implement multithreaded REQ/REP socket server Pool creates the set of NNGPoolWorker instances containing shared state machines and associate its nng context with socket Methods: - constructor -- socket pointer: shoud be nng_socket_type.NNG_SOCKET_REP but may be extended -- callback: receiving message and context - void function(NNGMessage*, void*); -- number of workers -- void* context to pass into callback -- file to forward log messages to - init: initialize workers state machines - shutdown