MGCPEvent Class Reference

An MGCP event. More...

#include <yatemgcp.h>

List of all members.

Public Member Functions

 ~MGCPEvent ()
MGCPTransactiontransaction ()
MGCPMessagemessage () const

Protected Member Functions

 MGCPEvent (MGCPTransaction *trans, MGCPMessage *msg=0)

Friends

class MGCPTransaction


Detailed Description

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)


Constructor & Destructor Documentation

~MGCPEvent (  ) 

Destructor. Delete the message. Notify and deref the transaction

MGCPEvent ( MGCPTransaction trans,
MGCPMessage msg = 0 
) [protected]

Constructor. Constructs an event from a transaction

Parameters:
trans The transaction that generated this event
msg The message carried by this event, if any


Member Function Documentation

MGCPTransaction* transaction (  )  [inline]

Get the transaction that generated this event

Returns:
The transaction that generated this event

MGCPMessage* message (  )  const [inline]

Get the message carried by this event

Returns:
The message carried by this event or 0 if none


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 16:18:53 2008 for Yate by  doxygen 1.5.6