stasis_message_sink Struct Reference

Structure that collects messages from a topic. More...

#include <stasis_test.h>

Collaboration diagram for stasis_message_sink:

Collaboration graph
[legend]

Data Fields

ast_cond_t cond
int is_done:1
ast_mutex_t lock
size_t max_messages
struct stasis_message ** messages
size_t num_messages

Detailed Description

Structure that collects messages from a topic.

Definition at line 43 of file stasis_test.h.


Field Documentation

int is_done

Boolean flag to be set when unsubscribe is received

Definition at line 54 of file stasis_test.h.

Referenced by message_sink_cb(), and stasis_message_sink_dtor().

size_t max_messages

Maximum number of messages messages field can hold without realloc

Definition at line 50 of file stasis_test.h.

Referenced by message_sink_cb(), and stasis_message_sink_dtor().

struct stasis_message** messages [read]

Ordered array of messages received

Definition at line 56 of file stasis_test.h.

Referenced by message_sink_cb(), stasis_message_sink_dtor(), and stasis_message_sink_wait_for().

size_t num_messages


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:37:45 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6