Creates a new synchronous publisher.
publisher_t *publisher_new_s (pas_dispatcher_t *disp, void *worker, const char *host, unsigned short port);
disp |
P&S thread pool context returned by pas_dispatcher_new. |
worker |
Application worker. If not NULL, grouped with existing workers created by ENS to service this publisher session. Used to prevent multiple threads from accessing the publisher data at the same time. |
host |
Notification server host name. |
port |
Notification server port. |
A new active publisher (publisher_t).