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

Go to the source code of this file.

Functions

int main ()
 
void test_change_after_connected ()
 
void test_change_before_connected ()
 
void test_decrease_when_full ()
 

Variables

const int MAX_SENDS = 10000
 

Function Documentation

int main ( void  )

Definition at line 169 of file test_sockopt_hwm.cpp.

References test_change_after_connected(), test_change_before_connected(), and test_decrease_when_full().

Here is the call graph for this function:

void test_change_after_connected ( )

Definition at line 68 of file test_sockopt_hwm.cpp.

References zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_getsockopt(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void test_change_before_connected ( )

Definition at line 34 of file test_sockopt_hwm.cpp.

References zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_getsockopt(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void test_decrease_when_full ( )

Definition at line 106 of file test_sockopt_hwm.cpp.

References msleep(), SETTLE_TIME, zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_getsockopt(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_recv(), zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const int MAX_SENDS = 10000

Definition at line 32 of file test_sockopt_hwm.cpp.