![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include "testutil.hpp"
Go to the source code of this file.
Functions | |
int | main (void) |
void | test_destroy_queue_on_disconnect (void *ctx) |
void | test_fair_queue_in (void *ctx) |
Variables | |
const char * | bind_address = 0 |
const char * | connect_address = 0 |
int main | ( | void | ) |
Definition at line 185 of file test_spec_router.cpp.
References bind_address, connect_address, setup_test_environment(), test_fair_queue_in(), zmq_ctx_new(), and zmq_ctx_term().
void test_destroy_queue_on_disconnect | ( | void * | ctx | ) |
Definition at line 112 of file test_spec_router.cpp.
References bind_address, close_zero_linger(), connect_address, EHOSTUNREACH, msleep(), s_send_seq(), SEQ_END, SETTLE_TIME, zmq_bind(), zmq_connect(), ZMQ_DEALER, zmq_disconnect(), ZMQ_DONTWAIT, ZMQ_IDENTITY, zmq_msg_close(), zmq_msg_init(), zmq_msg_recv(), zmq_poll(), ZMQ_ROUTER, ZMQ_ROUTER_MANDATORY, zmq_send(), zmq_setsockopt(), ZMQ_SNDMORE, and zmq_socket().
void test_fair_queue_in | ( | void * | ctx | ) |
Definition at line 35 of file test_spec_router.cpp.
References bind_address, close_zero_linger(), connect_address, msleep(), receiver(), s_recv_seq(), s_send_seq(), SEQ_END, SETTLE_TIME, zmq_bind(), zmq_connect(), ZMQ_DEALER, ZMQ_IDENTITY, zmq_msg_close(), zmq_msg_data(), zmq_msg_init(), zmq_msg_recv(), ZMQ_RCVTIMEO, ZMQ_ROUTER, zmq_setsockopt(), and zmq_socket().
Referenced by main().
const char* bind_address = 0 |
Definition at line 32 of file test_spec_router.cpp.
Referenced by main(), test_destroy_queue_on_disconnect(), and test_fair_queue_in().
const char* connect_address = 0 |
Definition at line 33 of file test_spec_router.cpp.
Referenced by main(), test_destroy_queue_on_disconnect(), and test_fair_queue_in().