class MgDeleteConnectionAgent : public MgCommand

message received by the gateway requesting that a connection be closed

Inheritance:


Public Methods

MgCommand* copy()
make a copy of the MgCommand of the appropriate type
MgcpBearerInformation getBearerInformation()
string getCallId()
Find out the call id
string getConnectionId()
find out the connection ID
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 getDigitMap()
string getEndpointId()
Get endpoint that created the notification
Sptr <MgEvent> getItemDetectEvents(int index)
get the i'th DetectEvent in this message
Sptr <MgRequestedEvent> getItemRequestedEvents(int index)
get the i'th event in this message
Sptr <MgEvent> getItemSignalRequests(int index)
get the i'th signal in this message
int getNumDetectEvents()
get the number of DetectEvents in this message
int getNumRequestedEvents()
get the number of requested events in this message
int getNumSignalRequests()
get the number of signalled 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.
MgCommandType getType()
Get the type of the command
MgDeleteConnectionAgent(MgcpCommand* x)
this function is used by the stack
MgDeleteConnectionAgent(const MgDeleteConnectionAgent& x)
bool setResponseCode(const MgcpResponseCode& code)
set the response error code
bool setResponseString(string response)
set the description of any response error

Public

get who the notification is being sent to

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)

Protected Fields

Sptr responseMsg

Documentation

message received by the gateway requesting that a connection be closed
MgDeleteConnectionAgent(const MgDeleteConnectionAgent& x)

MgDeleteConnectionAgent(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

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.

MgcpBearerInformation getBearerInformation()

string getCallId()
Find out the call id

string getConnectionId()
find out the connection ID

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

int getNumRequestedEvents()
get the number of requested events in this message

Sptr <MgRequestedEvent> getItemRequestedEvents(int index)
get the i'th event in this message

int getNumSignalRequests()
get the number of signalled events in this message

Sptr <MgEvent> getItemSignalRequests(int index)
get the i'th signal in this message

get who the notification is being sent to

string getDigitMap()

int getNumDetectEvents()
get the number of DetectEvents in this message

Sptr <MgEvent> getItemDetectEvents(int index)
get the i'th DetectEvent in this message

bool setResponseCode(const MgcpResponseCode& code)
set the response error code

bool setResponseString(string response)
set 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++