![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include "testutil.hpp"
Go to the source code of this file.
Functions | |
| int | main (void) |
| int | test_basic () |
| int | test_missing_subscriptions (const char *frontend, const char *backend) |
| int | test_xpub_proxy_unsubscribe_on_disconnect (const char *frontend, const char *backend) |
| int main | ( | void | ) |
Definition at line 348 of file test_xpub_manual.cpp.
References setup_test_environment(), test_basic(), test_missing_subscriptions(), and test_xpub_proxy_unsubscribe_on_disconnect().

| int test_basic | ( | ) |
Definition at line 32 of file test_xpub_manual.cpp.
References zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_recv(), zmq_send_const(), zmq_setsockopt(), zmq_socket(), ZMQ_SUBSCRIBE, ZMQ_XPUB, ZMQ_XPUB_MANUAL, and ZMQ_XSUB.
Referenced by main().


| int test_missing_subscriptions | ( | const char * | frontend, |
| const char * | backend | ||
| ) |
Definition at line 232 of file test_xpub_manual.cpp.
References msleep(), SETTLE_TIME, zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, ZMQ_PUB, zmq_recv(), zmq_send(), zmq_setsockopt(), ZMQ_SNDMORE, zmq_socket(), ZMQ_SUB, ZMQ_SUBSCRIBE, ZMQ_XPUB, ZMQ_XPUB_MANUAL, and ZMQ_XSUB.
Referenced by main().


| int test_xpub_proxy_unsubscribe_on_disconnect | ( | const char * | frontend, |
| const char * | backend | ||
| ) |
Definition at line 93 of file test_xpub_manual.cpp.
References msleep(), SETTLE_TIME, zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, ZMQ_PUB, zmq_recv(), zmq_send(), zmq_setsockopt(), ZMQ_SNDMORE, zmq_socket(), ZMQ_SUB, ZMQ_SUBSCRIBE, ZMQ_UNSUBSCRIBE, ZMQ_XPUB, ZMQ_XPUB_MANUAL, and ZMQ_XSUB.
Referenced by main().

