class MgLinePackageEvent : public MgEvent

This class has things the Gateway can send to the agent

Inheritance:


Public Fields

only the Mg stack can construct these

Public Methods

MgcpLinePackageItemType getType()
get the type of event that the Gateway is sending to us
MgLinePackageEvent(const MgcpGenericEvent& e)
static MgNotificationEvent notifyAnswerTone(string s="")
static MgNotificationEvent notifyDistinctiveTonePattern(const string& arg, string s="")
static MgNotificationEvent notifyErrorTone(string s="")
static MgNotificationEvent notifyFlashHook(string s="")
static MgNotificationEvent notifyNetworkBusy(string s="")
static MgNotificationEvent notifyOnHookTransition(string s="")
static MgNotificationEvent notifyPromptTone(string s="")
static MgNotificationEvent notifyReportFailure(string s="")
static MgNotificationEvent notifyReportOnCompletion(string s="")

Public

string getParameter(int index);
Get the number of paramters - usually 0 - depends on type
Get the i'th paramter

Private

int getNumParameters();

Inherited from MgEvent:

Public Methods

MgEventAction getItemAction()
int getNumAction()
int getNumParameters()
string getParameter(int index)

Documentation

This class has things the Gateway can send to the agent
static MgNotificationEvent notifyOnHookTransition(string s="")

static MgNotificationEvent notifyFlashHook(string s="")

static MgNotificationEvent notifyAnswerTone(string s="")

static MgNotificationEvent notifyNetworkBusy(string s="")

static MgNotificationEvent notifyPromptTone(string s="")

static MgNotificationEvent notifyErrorTone(string s="")

static MgNotificationEvent notifyReportOnCompletion(string s="")

static MgNotificationEvent notifyDistinctiveTonePattern(const string& arg, string s="")

static MgNotificationEvent notifyReportFailure(string s="")

MgLinePackageEvent(const MgcpGenericEvent& e)

MgcpLinePackageItemType getType()
get the type of event that the Gateway is sending to us

Get the i'th paramter

string getParameter(int index);

Get the number of paramters - usually 0 - depends on type

int getNumParameters();

only the Mg stack can construct these


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++