class MgNotify : public MgCommand

message sent to the agent indicating that a waited-for event has occured

Inheritance:


Public Methods

bool addObservedEvents(const MgNotificationEvent& parameter)
void clearObservedEvents()
Clear the list of observed events that have been added to this message
MgCommand* copy()
make a copy of the MgCommand of the appropriate type
MgcpCommand* getDataPtr()
Get pointer to object holding data. This function is used internally by the stack. users of the stack should never call it.
int getResponseCode()
Get the response error code
string getResponseString()
Get the description of any response error
MgCommandType getType()
Get the type of the command
MgNotify(const string& EndpointId, const string& RequestIdentifier, const MgNotificationEvent& ObservedEvents)
construct a notification message to be sent to the agent
MgNotify(MgcpCommand* x)
this function is used by the stack
bool setResponseAck(const string& parameter)
this function will be handled automatically in future versions by the stack

Private Fields

Sptr data
Holds the data for this command

Inherited from MgCommand:

Public Methods

MgcpCommand* getResponsePtr()
Sptr getResponseSptr()
void setResponsePtr(MgcpResponse* p)
void setResponseSptr(const Sptr& p)

Public

Protected Fields

Sptr responseMsg

Documentation

message sent to the agent indicating that a waited-for event has occured
MgNotify(const string& EndpointId, const string& RequestIdentifier, const MgNotificationEvent& ObservedEvents)
construct a notification message to be sent to the agent

MgNotify(MgcpCommand* x)
this function is used by the stack. Stack users should never call it, as it will probably disappear by the next version.

MgCommand* copy()
make a copy of the MgCommand of the appropriate type

MgCommandType getType()
Get the type of the command

bool setResponseAck(const string& parameter)
this function will be handled automatically in future versions by the stack. users of the stack should never call it.

bool addObservedEvents(const MgNotificationEvent& parameter)

void clearObservedEvents()
Clear the list of observed events that have been added to this message

int getResponseCode()
Get the response error code

string getResponseString()
Get the description of any response error

MgcpCommand* getDataPtr()
Get pointer to object holding data. This function is used internally by the stack. users of the stack should never call it.

Sptr data
Holds the data for this command


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++