libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
test_xpub_manual.cpp File Reference
#include "testutil.hpp"
Include dependency graph for test_xpub_manual.cpp:

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)
 

Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function: