Bayonne
Public Attributes | List of all members
ost::Bayonne::Event Struct Reference

The event data structure includes the event identifier and any paramaters. More...

#include <bayonne.h>

Public Attributes

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
 
}; 
 

Detailed Description

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.

Member Data Documentation

union { ... }
BayonneSession* ost::Bayonne::Event::child
struct { ... } ost::Bayonne::Event::cpa
BayonneSession* ost::Bayonne::Event::current
void* ost::Bayonne::Event::data
struct { ... } ost::Bayonne::Event::debug
const char* ost::Bayonne::Event::dialing
int ost::Bayonne::Event::digit
struct { ... } ost::Bayonne::Event::dtmf
timeout_t ost::Bayonne::Event::duration
const char* ost::Bayonne::Event::encoding
const char* ost::Bayonne::Event::err
const char* ost::Bayonne::Event::errmsg
bool ost::Bayonne::Event::exit
const char* ost::Bayonne::Event::fname
timeout_t ost::Bayonne::Event::framing
struct { ... } ost::Bayonne::Event::hunt
event_t ost::Bayonne::Event::id
ScriptImage* ost::Bayonne::Event::img
struct { ... } ost::Bayonne::Event::liberror
struct { ... } ost::Bayonne::Event::libexec
const char* ost::Bayonne::Event::logstate
const char* ost::Bayonne::Event::msg
const char* ost::Bayonne::Event::name
std::ostream* ost::Bayonne::Event::output
BayonneSession* ost::Bayonne::Event::parent
BayonneSession* ost::Bayonne::Event::peer
int ost::Bayonne::Event::pid
BayonneSession* ost::Bayonne::Event::pid
struct { ... } ost::Bayonne::Event::reconnect
struct { ... } ost::Bayonne::Event::relocate
BayonneSession* ost::Bayonne::Event::replace
int ost::Bayonne::Event::result
Script::Name* ost::Bayonne::Event::scr
Line* ost::Bayonne::Event::select
uint16 ost::Bayonne::Event::seq
struct { ... } ost::Bayonne::Event::start
const char* ost::Bayonne::Event::tid
timeslot_t ost::Bayonne::Event::timeslot
struct { ... } ost::Bayonne::Event::tone

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