1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
<HTML>
<HEAD>
<TITLE>class MGCPEvent</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class MGCPEvent</h1>
</TD>
<TD valign="top" align="right" colspan="1">An MGCP event. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Full name</TH><TD><code><A HREF="TelEngine.html">TelEngine</A>::MGCPEvent</code></TD></TR>
<TR><TH>Definition</TH><TD><code>#include <<A HREF="libs___ymgcp___yatemgcp_h.html">libs/ymgcp/yatemgcp.h</A>></code></TD></TR>
<TR><TH><A HREF="full-list-TelEngine__MGCPEvent.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref2">~MGCPEvent</A></b> ()
</LI>
<LI>inline MGCPTransaction* <b><A HREF="#ref3">transaction</A></b> ()
</LI>
<LI>inline MGCPMessage* <b><A HREF="#ref4">message</A></b> () const
</LI>
</ul><h4>Protected Methods</h4><ul><LI> <b><A HREF="#ref5">MGCPEvent</A></b> (MGCPTransaction* trans, MGCPMessage* msg = 0)
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
This class carries a copy of the message received by a transaction or a transaction state
change notification (such as timeout or destroy)
</p>
<A NAME="~MGCPEvent"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~MGCPEvent</strong> ()
<br></td><td align="right"><h3><strong>~MGCPEvent</strong></h3></td></tr></table><p></p><p>
Destructor. Delete the message. Notify and deref the transaction
</p>
<A NAME="transaction"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline MGCPTransaction* <strong>transaction</strong> ()
<br></td><td align="right"><h3><strong>transaction</strong></h3></td></tr></table><p></p><p>
Get the transaction that generated this event
</p>
<p><b>Returns</b>: The transaction that generated this event
</p>
<A NAME="message"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline MGCPMessage* <strong>message</strong> ()
<br></td><td align="right"><h3><strong>message</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
Get the message carried by this event
</p>
<p><b>Returns</b>: The message carried by this event or 0 if none
</p>
<A NAME="MGCPEvent"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>MGCPEvent</strong> (MGCPTransaction* trans, MGCPMessage* msg = 0)
<br></td><td align="right"><h3><strong>MGCPEvent</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>
Constructor. Constructs an event from a transaction
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>trans</i></TD><TD align="left" valign="top">The transaction that generated this event
</TD></TR>
<TR><TD align="left" valign="top"><i>msg</i></TD><TD align="left" valign="top">The message carried by this event, if any
</TD></TR>
</TABLE></P>
<HR>
<table>
<tr><td><small>Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.</small></td></tr>
</table>
</BODY>
</HTML>
|