class MgcCommand

holds a command message that is sent or received from the gateway

Inheritance:


Public Methods

virtual bool addRequestedEvents(const MgcRequestedEvent& parameter)
virtual MgcCommand* copy()
make a copy of the MgCommand of the appropriate type
virtual MgcpCommand* getDataPtr()
Get a pointer to the raw text of the message
virtual string getEndpointId()
Return the type of the command
MgcpCommand* getResponsePtr()
Get a point to the response message
Sptr getResponseSptr()
Get a point to the response message
virtual MgcCommandType getType()
Return the type of the command
MgcCommand(const MgcCommand& x)
Create an empty message
MgcCommand(MgcpCommand* message)
Create a command in response to a previous message
MgcCommand()
Create an empty message
void setResponsePtr(MgcpResponse* p)
Set the response message
void setResponseSptr(const Sptr& p)
Set the response message
virtual ~MgcCommand()
Delete the command and the response it contains

Public

Set the string describing the error that occcured
Set the code indicating an error occurent in processing this command

Protected Fields

Sptr responseMsg
Copy of the response message

Documentation

holds a command message that is sent or received from the gateway
MgcCommand(const MgcCommand& x)
Create an empty message

MgcCommand()
Create an empty message

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

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

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

virtual MgcCommandType getType()
Return the type of the command

Set the code indicating an error occurent in processing this command

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 point to the response message

void setResponsePtr(MgcpResponse* p)
Set the response message

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

virtual string getEndpointId()
Return the type of the command

virtual bool addRequestedEvents(const MgcRequestedEvent& parameter)

Sptr responseMsg
Copy of the response message


Direct child classes:
MgcRestartInProgress
MgcNotify
MgcNotificationRequest
MgcModifyConnection
MgcEndpointConfiguration
MgcDeleteConnectionGw
MgcDeleteConnectionAgent
MgcCreateConnection
MgcAuditEndpoint
MgcAuditConnection

alphabetic index hierarchy of classes


generated by doc++