![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include "testutil.hpp"
Go to the source code of this file.
Classes | |
| struct | test_message_t |
Functions | |
| bool | get_identity (void *socket, char *data, size_t *size) |
| bool | has_more (void *socket) |
| int | main (int, char **) |
Variables | |
| static const int | CLIENT = 1 |
| const test_message_t | dialog [] |
| static const int | SERVER = 0 |
| const int | steps = sizeof(dialog) / sizeof(dialog[0]) |
| bool get_identity | ( | void * | socket, |
| char * | data, | ||
| size_t * | size | ||
| ) |
Definition at line 58 of file test_stream_disconnect.cpp.
References zmq_getsockopt(), and ZMQ_IDENTITY.

| bool has_more | ( | void * | socket | ) |
Definition at line 48 of file test_stream_disconnect.cpp.
References zmq_getsockopt(), and ZMQ_RCVMORE.
Referenced by main().


Definition at line 64 of file test_stream_disconnect.cpp.
References CLIENT, has_more(), SERVER, setup_test_environment(), size, test_message_t::text, test_message_t::turn, zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), zmq_getsockopt(), ZMQ_IDENTITY, zmq_msg_close(), zmq_msg_data(), zmq_msg_init(), zmq_msg_init_size(), zmq_msg_recv(), zmq_msg_send(), zmq_msg_size(), zmq_poll(), ZMQ_POLLIN, zmq_setsockopt(), ZMQ_SNDMORE, zmq_socket(), ZMQ_STREAM, and ZMQ_STREAM_NOTIFY.

|
static |
Definition at line 33 of file test_stream_disconnect.cpp.
Referenced by main().
| const test_message_t dialog[] |
Definition at line 41 of file test_stream_disconnect.cpp.
|
static |
Definition at line 32 of file test_stream_disconnect.cpp.
Referenced by main().
Definition at line 46 of file test_stream_disconnect.cpp.