|  | 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_pull_fair_queue_in (void *ctx) | 
| void | test_push_block_on_send_no_peers (void *ctx) | 
| void | test_push_round_robin_out (void *ctx) | 
| Variables | |
| const char * | bind_address = 0 | 
| const char * | connect_address = 0 | 
| int main | ( | void | ) | 
Definition at line 261 of file test_spec_pushpull.cpp.
References bind_address, connect_address, setup_test_environment(), test_pull_fair_queue_in(), test_push_block_on_send_no_peers(), test_push_round_robin_out(), zmq_ctx_new(), and zmq_ctx_term().

| void test_destroy_queue_on_disconnect | ( | void * | ctx | ) | 
Definition at line 179 of file test_spec_pushpull.cpp.
References bind_address, close_zero_linger(), connect_address, msleep(), s_send_seq(), SEQ_END, SETTLE_TIME, zmq_bind(), zmq_connect(), zmq_disconnect(), ZMQ_DONTWAIT, zmq_msg_close(), zmq_msg_init(), zmq_msg_recv(), zmq_poll(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().

| void test_pull_fair_queue_in | ( | void * | ctx | ) | 
Definition at line 81 of file test_spec_pushpull.cpp.
References bind_address, close_zero_linger(), connect_address, msleep(), s_send_seq(), SEQ_END, SETTLE_TIME, zmq_bind(), zmq_connect(), zmq_msg_close(), zmq_msg_data(), zmq_msg_init(), zmq_msg_recv(), ZMQ_PULL, ZMQ_PUSH, and zmq_socket().
Referenced by main().


| void test_push_block_on_send_no_peers | ( | void * | ctx | ) | 
Definition at line 158 of file test_spec_pushpull.cpp.
References zmq_close(), ZMQ_DONTWAIT, ZMQ_PUSH, zmq_send(), zmq_setsockopt(), ZMQ_SNDTIMEO, and zmq_socket().
Referenced by main().


| void test_push_round_robin_out | ( | void * | ctx | ) | 
Definition at line 35 of file test_spec_pushpull.cpp.
References bind_address, close_zero_linger(), connect_address, msleep(), s_recv_seq(), s_send_seq(), SEQ_END, SETTLE_TIME, zmq_bind(), zmq_connect(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVTIMEO, zmq_setsockopt(), and zmq_socket().
Referenced by main().


| const char* bind_address = 0 | 
Definition at line 32 of file test_spec_pushpull.cpp.
Referenced by main(), test_destroy_queue_on_disconnect(), test_pull_fair_queue_in(), and test_push_round_robin_out().
| const char* connect_address = 0 | 
Definition at line 33 of file test_spec_pushpull.cpp.
Referenced by main(), test_destroy_queue_on_disconnect(), test_pull_fair_queue_in(), and test_push_round_robin_out().