Bayonne2 / Common C++ 2 Framework
|
The event data structure includes the event identifier and any paramaters. More...
#include <bayonne.h>
Data Fields | |
event_t | id |
timeslot_t | timeslot |
uint16 | seq |
union { | |
struct { | |
ScriptImage * img | |
Script::Name * scr | |
BayonneSession * parent | |
const char * dialing | |
} start | |
struct { | |
ScriptImage * img | |
Script::Name * scr | |
BayonneSession * parent | |
Line * select | |
} hunt | |
struct { | |
BayonneSession * current | |
BayonneSession * replace | |
} relocate | |
struct { | |
const char * tid | |
const char * fname | |
int pid | |
int result | |
} libexec | |
struct { | |
const char * tid | |
const char * errmsg | |
} liberror | |
struct { | |
timeout_t duration | |
int digit | |
} dtmf | |
struct { | |
const char * err | |
const char * msg | |
} cpa | |
struct { | |
const char * name | |
bool exit | |
} tone | |
struct { | |
std::ostream * output | |
const char * logstate | |
} debug | |
struct { | |
const char * encoding | |
timeout_t framing | |
} reconnect | |
const char * dialing | |
const char * name | |
const char * errmsg | |
BayonneSession * pid | |
BayonneSession * peer | |
BayonneSession * child | |
void * data | |
}; | |
The event data structure includes the event identifier and any paramaters.
Additional information is attached both to assist in debugging, and to track which timeslot a given event is being issued against when queued through a master msgport.
union { ... } |
BayonneSession* ost::Bayonne::Event::child |
struct { ... } ost::Bayonne::Event::cpa |
BayonneSession* ost::Bayonne::Event::current |
struct { ... } ost::Bayonne::Event::debug |
struct { ... } ost::Bayonne::Event::dtmf |
struct { ... } ost::Bayonne::Event::hunt |
ScriptImage* ost::Bayonne::Event::img |
struct { ... } ost::Bayonne::Event::liberror |
struct { ... } ost::Bayonne::Event::libexec |
BayonneSession* ost::Bayonne::Event::parent |
BayonneSession* ost::Bayonne::Event::peer |
BayonneSession* ost::Bayonne::Event::pid |
struct { ... } ost::Bayonne::Event::reconnect |
struct { ... } ost::Bayonne::Event::relocate |
BayonneSession* ost::Bayonne::Event::replace |
Script::Name* ost::Bayonne::Event::scr |
struct { ... } ost::Bayonne::Event::start |
timeslot_t ost::Bayonne::Event::timeslot |
struct { ... } ost::Bayonne::Event::tone |