Abstract base class for all MGCP commands
Abstract base class for all MGCP commands. All MGCP commands inherit from the MgcpCommand base class which provides the basics of the API. The most relevant functions include send() and insert. The current version of the MGCP command code contains a fair amount of redundant code which will probably be structured away.
virtual ~MgcpCommand()
virtual string encodeToSend()
virtual bool send(MgcpTransmitter& target)
virtual bool readyToSend()
void setTarget(MgcpTransmitter* target)
void setTransactionId(int transId)
int getTransactionId()
string getMessage()
void setMessage( string s )
void setEndpointId(const MgcpParameterEndpointId& id)
const MgcpParameterEndpointId& getEndpointId()
virtual void insert(Sptr < MgcpParameter > parameter)
virtual void insert(MgcpParameter* parameter)
virtual void printData(ostream& output)
friend ostream& operator<<(ostream& s, MgcpCommand& x)
virtual MgcpCommandType getType()
generated by doc++