class MgAuditEndpoint : public MgCommand

message receive by the gateway requesting all info about an endpoint

Inheritance:


Public Methods

bool addDetectEvents(const MgRequestedEvent& parameter)
bool addEventStates(const MgSignalEvent& parameter)
bool addObservedEvents(const MgNotificationEvent& parameter)
add an observed event to this message
bool addRequestedEvents(const MgRequestedEvent& parameter)
bool addSignalRequests(const MgSignalEvent& parameter)
bool addtoConnectionIdList(const string& parameter)
add to connection Id List
bool addToEndpointIdList( const string& parameter )
void clearDetectEvents()
void clearObservedEvents()
clear the list of observed events in this message
void clearSignalRequests()
MgCommand* copy()
make a copy of the MgCommand of the appropriate type
string getConnectionId()
get the connection id of this message
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
MgcpParameterType getItemRequestedInfo( int index )
get the i'th item in RequestedInfo
int getMaxEndPointIds()
int getNumRequestedInfo()
get the number of items in RequestedInfo
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
MgAuditEndpoint(const MgAuditEndpoint& x)
MgAuditEndpoint(MgcpCommand* x)
this function is used by the stack
bool setBearerInformation(const MgcpBearerInformation& parameter)
bool setCapabilities(MgcpParameterCapabilities& cap)
bool setConnectionId(const string& parameter)
specify the connection id
bool setConnectionParameters(MgcpParameterConnectionParameters& cp)
bool setDigitMap(const string& parameter)
bool setEndpointId(const string& parameter)
set the endpoint id for this message
bool setNotifiedEntity(const string& parameter)
bool setNumEndPoints(int parameter)
bool setQuarantineHandling(MgcpNotificationHandling handling=MgcpNotificationHandlingStep, MgcpQuarantineTreatment treatment=MgcpQuarantineTreatmentProcess)
bool setRequestId(const string& parameter)
bool setResponseCode(const MgcpResponseCode& code)
set the response error code
bool setResponseString(string response)
set the description of any response error

Public

don't need, should remove
don't need and it's wrong, should remove, dup of setRequestId

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 receive by the gateway requesting all info about an endpoint
MgAuditEndpoint(const MgAuditEndpoint& x)

MgAuditEndpoint(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 getConnectionId()
get the connection id of this message

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

int getNumRequestedInfo()
get the number of items in RequestedInfo

MgcpParameterType getItemRequestedInfo( int index )
get the i'th item in RequestedInfo

bool setEndpointId(const string& parameter)
set the endpoint id for this message

bool setConnectionId(const string& parameter)
specify the connection id

bool setBearerInformation(const MgcpBearerInformation& parameter)

don't need and it's wrong, should remove, dup of setRequestId

don't need, should remove

bool addToEndpointIdList( const string& parameter )

bool addRequestedEvents(const MgRequestedEvent& parameter)

bool addtoConnectionIdList(const string& parameter)
add to connection Id List

bool addSignalRequests(const MgSignalEvent& parameter)

bool addEventStates(const MgSignalEvent& parameter)

void clearSignalRequests()

bool addObservedEvents(const MgNotificationEvent& parameter)
add an observed event to this message

void clearObservedEvents()
clear the list of observed events in this message

bool setDigitMap(const string& parameter)

bool setNotifiedEntity(const string& parameter)

bool setNumEndPoints(int parameter)

int getMaxEndPointIds()

bool setCapabilities(MgcpParameterCapabilities& cap)

bool setConnectionParameters(MgcpParameterConnectionParameters& cp)

bool setRequestId(const string& parameter)

bool setQuarantineHandling(MgcpNotificationHandling handling=MgcpNotificationHandlingStep, MgcpQuarantineTreatment treatment=MgcpQuarantineTreatmentProcess)

bool addDetectEvents(const MgRequestedEvent& parameter)

void clearDetectEvents()

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++