Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 06e1e0ab98898582c876a8be34ecb5e9 > files > 263

capisuite-0.4.5-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CapiSuite: disconnectmodule.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.8 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>disconnectmodule.h</h1><a href="disconnectmodule_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 
00008 <span class="comment">/***************************************************************************</span>
00009 <span class="comment"> *                                                                         *</span>
00010 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
00011 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
00012 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
00013 <span class="comment"> *   (at your option) any later version.                                   *</span>
00014 <span class="comment"> *                                                                         *</span>
00015 <span class="comment"> ***************************************************************************/</span>
00016 
00017 <span class="preprocessor">#ifndef DISCONNECTMODULE_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define DISCONNECTMODULE_H</span>
00019 <span class="preprocessor"></span>
00020 <span class="preprocessor">#include "<a class="code" href="callmodule_8h.html">callmodule.h</a>"</span>
00021 <span class="preprocessor">#include "../backend/connection.h"</span>
00022 
00023 
00024 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
00025 
<a name="l00035"></a><a class="code" href="classDisconnectModule.html">00035</a> <span class="keyword">class </span><a class="code" href="classDisconnectModule.html">DisconnectModule</a>: <span class="keyword">public</span> <a class="code" href="classCallModule.html">CallModule</a>
00036 {
00037         <span class="keyword">public</span>:
00045                 <a class="code" href="classDisconnectModule.html#a0">DisconnectModule</a>(<a class="code" href="classConnection.html">Connection</a> *conn, <span class="keywordtype">int</span> <a class="code" href="classDisconnectModule.html#r0">reject_reason</a>=1, <span class="keywordtype">bool</span> <a class="code" href="classDisconnectModule.html#r1">quick_disconnect</a>=<span class="keyword">false</span>);
00046 
00052                 <span class="keywordtype">void</span> <a class="code" href="classDisconnectModule.html#a1">mainLoop</a>() <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>,<a class="code" href="classCapiExternalError.html">CapiExternalError</a>);
00053                 
00056                 <span class="keywordtype">void</span> <a class="code" href="classDisconnectModule.html#a2">callDisconnectedLogical</a> ();
00057 
00062                 <span class="keywordtype">void</span> <a class="code" href="classDisconnectModule.html#a3">callDisconnectedPhysical</a> ();
00063         
00064         <span class="keyword">private</span>: 
<a name="l00065"></a><a class="code" href="classDisconnectModule.html#r0">00065</a>                 <span class="keywordtype">int</span> reject_reason; 
<a name="l00066"></a><a class="code" href="classDisconnectModule.html#r1">00066</a>                 <span class="keywordtype">bool</span> <a class="code" href="classDisconnectModule.html#r1">quick_disconnect</a>; 
00067 };
00068 
00069 <span class="preprocessor">#endif</span>
00070 <span class="preprocessor"></span>
00071 <span class="comment">/* History</span>
00072 <span class="comment"></span>
00073 <span class="comment">$Log: disconnectmodule.h,v $</span>
00074 <span class="comment">Revision 1.1  2003/02/19 08:19:53  gernot</span>
00075 <span class="comment">Initial revision</span>
00076 <span class="comment"></span>
00077 <span class="comment">Revision 1.3  2002/12/11 13:40:22  ghillie</span>
00078 <span class="comment">- added support for quick disconnect (immediate physical disconnect)</span>
00079 <span class="comment"></span>
00080 <span class="comment">Revision 1.2  2002/12/06 15:26:30  ghillie</span>
00081 <span class="comment">- supports rejecting of call now, too</span>
00082 <span class="comment"></span>
00083 <span class="comment">Revision 1.1  2002/12/06 12:48:38  ghillie</span>
00084 <span class="comment">inital checkin</span>
00085 <span class="comment"></span>
00086 <span class="comment">*/</span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>