class MgCommand

This class is the base class for all commands sent and received on the Gateway side

Inheritance:


Public Methods

virtual MgcpCommand* getDataPtr()
Get a pointer to the raw text of the message
MgcpCommand* getResponsePtr()
Get a point to the response message
Sptr getResponseSptr()
Get a pointer to the response message
virtual MgCommandType getType()
get the type of the command
MgCommand(MgcpCommand* x)
Create a command in response to a previous message
MgCommand()
Create an empty message
void setResponsePtr(MgcpResponse* p)
Set the response message
void setResponseSptr(const Sptr& p)
Set the response message
virtual ~MgCommand()
Delete the command and the response it contains

Public

Set the string describing the error that occcured
set the response error code

Protected Fields

Sptr responseMsg
Copy of the response message

Documentation

This class is the base class for all commands sent and received on the Gateway side
MgCommand()
Create an empty message

MgCommand(MgcpCommand* x)
Create a command in response to a previous message

virtual ~MgCommand()
Delete the command and the response it contains

virtual MgCommandType getType()
get the type of the command

set the response error code

Set the string describing the error that occcured

virtual MgcpCommand* getDataPtr()
Get a pointer to the raw text of the message

MgcpCommand* getResponsePtr()
Get a point to the response message

Sptr getResponseSptr()
Get a pointer to the response message

void setResponsePtr(MgcpResponse* p)
Set the response message

void setResponseSptr(const Sptr& p)
Set the response message

Sptr responseMsg
Copy of the response message


Direct child classes:
MgRestartInProgress
MgNotify
MgNotificationRequest
MgModifyConnection
MgEndpointConfiguration
MgDeleteConnectionGw
MgDeleteConnectionAgent
MgCreateConnection
MgAuditEndpoint
MgAuditConnection

alphabetic index hierarchy of classes


generated by doc++