salsa 0.7.1
|
salsa node class More...
#include <PollerZmq.hh>
Public Member Functions | |
PollerZmq () | |
virtual | ~PollerZmq () |
virtual void | add (SocketZyre *pSocket) |
virtual void | add (zsock_t *pSocket) |
virtual void | add (zactor_t *pSocket) |
virtual void * | wait (int timeout=-1) |
Waiting for socket. | |
zpoller_t * | poller () const |
Returns Poller. | |
Static Public Member Functions | |
static std::shared_ptr< spdlog::logger > | getConsoleOutput () |
Get console output. | |
static void | setConsoleLevel (spdlog::level::level_enum level) |
Sets console log level. | |
Private Attributes | |
zpoller_t * | mpPoller |
ZeroMQ poller. | |
Static Private Attributes | |
static std::shared_ptr< spdlog::logger > | mspConsoleLogger = spdlog::stdout_color_mt("salsa") |
Pointer to spd logger. | |
salsa node class
Definition at line 16 of file PollerZmq.hh.
Salsa::PollerZmq::PollerZmq | ( | ) |
Constructor
Definition at line 5 of file PollerZmq.cc.
References mpPoller, and Salsa::Poller::Poller().
|
virtual |
|
virtual |
Add Salsa socket to poller
pSocket | Salsa socket |
Definition at line 45 of file PollerZmq.cc.
References mpPoller, and Salsa::SocketZyre::socket().
|
virtual |
Add Salsa socket to poller
pSocket | Zeromq socket |
Definition at line 34 of file PollerZmq.cc.
References mpPoller.
|
virtual |
Add Salsa socket to poller
pSocket | Zeromq socket |
Definition at line 23 of file PollerZmq.cc.
References mpPoller.
|
inlinestaticinherited |
Get console output.
Definition at line 21 of file Object.hh.
References mspConsoleLogger.
Referenced by Salsa::ConfigZyre::apply().
|
inline |
|
inlinestaticinherited |
|
virtual |
Waiting for socket.
Wait for socket
timeout | Timeout of poller |
Implements Salsa::Poller.
Definition at line 56 of file PollerZmq.cc.
References mpPoller.
|
private |
ZeroMQ poller.
Definition at line 30 of file PollerZmq.hh.
Referenced by add(), add(), add(), poller(), PollerZmq(), wait(), and ~PollerZmq().
|
staticprivateinherited |
Pointer to spd logger.
Definition at line 32 of file Object.hh.
Referenced by getConsoleOutput(), and setConsoleLevel().