34 virtual void *
wait();
36 zpoller_t *
poller()
const;
ZeroMQ implementation of salsa actor class.
int timeout() const
Returns timeout.
virtual int init()
First function.
int mTimeout
Poller timeout.
virtual void pipe(void *pipe)
Setter for pipe.
static void actorProcwaitSupport_(zsock_t *pipe, void *argv)
Support actor method (used for PID waiting)
PollerZmq * pollerZmq() const
bool mTerminated
Flag if actor should be terminated.
bool terminated() const
Flag if actor should be terminated.
zpoller_t * poller() const
static void SalsaActorFn(zsock_t *pPipe, void *pArgv)
void timeout(int t)
Sets timeout.
PollerZmq * mpPoller
Internal poller.
zsock_t * mpPipe
Zmq pipe socket.
virtual int exec()
Main function.
virtual int finish()
Last function.
static void SalsaActorForkFn(zsock_t *pPipe, void *pArgv)
Actor function with fork capability.