ZeroEQ
0.9.0
ZeroEQ - Zero Event Queue
|
Monitors a Sender and notifies on events on its socket. More...
#include <monitor.h>
Public Member Functions | |
Monitor (Sender &sender) | |
Monitor the given sender. More... | |
Monitor (Sender &sender, Receiver &shared) | |
Monitor the given sender and notify with the given shared group. More... | |
~Monitor () | |
Destroy this monitor. | |
virtual void | notifyNewConnection () |
Notify of a new connection to the sender. More... | |
Public Member Functions inherited from zeroeq::Receiver | |
Receiver () | |
Create a new standalone receiver. More... | |
Receiver (Receiver &shared) | |
Create a shared receiver. More... | |
Receiver (Receiver &&) | |
Receiver & | operator= (Receiver &&) |
bool | receive (const uint32_t timeout=TIMEOUT_INDEFINITE) |
Receive at least one event from all shared receivers. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from zeroeq::Receiver | |
virtual void | addSockets (std::vector< detail::Socket > &entries)=0 |
Add this receiver's sockets to the given list. | |
virtual bool | process (detail::Socket &socket)=0 |
Process data on a signalled socket. More... | |
virtual void | update () |
Update the internal connection list. More... | |
virtual void | addConnection (const std::string &uri) |
Add the given connection to the list of receiving sockets. More... | |
Monitors a Sender and notifies on events on its socket.
|
explicit |
Monitor the given sender.
Referenced by notifyNewConnection().
Monitor the given sender and notify with the given shared group.
|
inlinevirtual |