|
Yate
|
An MGCP event. More...
#include <yatemgcp.h>
Public Member Functions | |
| ~MGCPEvent () | |
| MGCPTransaction * | transaction () |
| MGCPMessage * | message () const |
Protected Member Functions | |
| MGCPEvent (MGCPTransaction *trans, MGCPMessage *msg=0) | |
Friends | |
| class | MGCPTransaction |
An MGCP event.
This class carries a copy of the message received by a transaction or a transaction state change notification (such as timeout or destroy)
| ~MGCPEvent | ( | ) |
Destructor. Delete the message. Notify and deref the transaction
| MGCPEvent | ( | MGCPTransaction * | trans, |
| MGCPMessage * | msg = 0 |
||
| ) | [protected] |
Constructor. Constructs an event from a transaction
| trans | The transaction that generated this event |
| msg | The message carried by this event, if any |
| MGCPMessage* message | ( | ) | const [inline] |
Get the message carried by this event
| MGCPTransaction* transaction | ( | ) | [inline] |
Get the transaction that generated this event
1.7.6.1