class MgcNotify : public MgcCommand

This Notify command is received by the agent from the gateway

Inheritance:


Public Methods

MgcCommand* 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.
string getEndpointId()
Get endpoint that created the notification
Sptr <MgcEvent> getItemObservedEvents(int index)
Get the i'th event
string getNotifiedEntity()
get who the notification is being sent to
int getNumObservedEvents()
Get the number of events in this message
string getRequestIdentifier()
get the request identifier given in a previous message
string getResponseAck()
this function will be handled automatically in future versionsby the stack. users of the stack should never call it.
MgcCommandType getType()
Get the type of the command
MgcNotify(const MgcNotify& x)
MgcNotify(MgcpCommand* x)
this function is used by the stack
void setResponseCode(MgcpResponseCode code)
set the response error code
void setResponseString(string response)
set the description of any response error

Public

Create a notification from a specific endpoint

Private Fields

Sptr data
Holds the data for this command

Inherited from MgcCommand:

Public Methods

virtual bool addRequestedEvents(const MgcRequestedEvent& parameter)
MgcpCommand* getResponsePtr()
Sptr getResponseSptr()
void setResponsePtr(MgcpResponse* p)
void setResponseSptr(const Sptr& p)

Protected Fields

Sptr responseMsg

Documentation

This Notify command is received by the agent from the gateway
Create a notification from a specific endpoint

MgcNotify(const MgcNotify& x)

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

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

MgcCommandType getType()
Get the type of the command

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

string getEndpointId()
Get endpoint that created the notification

string getResponseAck()
this function will be handled automatically in future versionsby the stack. users of the stack should never call it.

string getRequestIdentifier()
get the request identifier given in a previous message

string getNotifiedEntity()
get who the notification is being sent to

int getNumObservedEvents()
Get the number of events in this message

Sptr <MgcEvent> getItemObservedEvents(int index)
Get the i'th event

void setResponseCode(MgcpResponseCode code)
set the response error code

void setResponseString(string response)
set the description of any response error

Sptr data
Holds the data for this command


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++