23 catch (CppCommon::SystemException& ex)
25 onError(ex.system_error(), ex.string());
Nanomsg bus node definition.
bool Link(const std::string &address)
Link the socket to the remote endpoint.
Socket & socket() noexcept
Get the Nanomsg socket.
C++ Server project definitions.
bool IsStarted() const noexcept
Is the server started?
virtual void onError(int error, const std::string &message)
Handle error notification.
bool Link(const std::string &address)
Link the current bus node to another one.