fix eventConsumer issue and add flush() method

This commit is contained in:
Anthony Minessale
2010-05-17 18:37:27 -05:00
parent f1132a2b71
commit 7fd3aff6f0
12 changed files with 655 additions and 57 deletions
+3
View File
@@ -173,6 +173,9 @@ SWITCH_DECLARE(void) consoleCleanLog(char *msg);
char *e_callback;
char *e_subclass_name;
char *e_cb_arg;
switch_event_node_t *enodes[SWITCH_EVENT_ALL + 1];
uint32_t node_index;
SWITCH_DECLARE_CONSTRUCTOR EventConsumer(const char *event_name = NULL, const char *subclass_name = "");
SWITCH_DECLARE_CONSTRUCTOR ~ EventConsumer();
SWITCH_DECLARE(int) bind(const char *event_name, const char *subclass_name = "");