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 74 75 76 77
|
<!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: connectmodule.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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
<h1>connectmodule.h</h1><a href="connectmodule_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 CONNECTMODULE_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define CONNECTMODULE_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="l00034"></a><a class="code" href="classConnectModule.html">00034</a> <span class="keyword">class </span><a class="code" href="classConnectModule.html">ConnectModule</a>: <span class="keyword">public</span> <a class="code" href="classCallModule.html">CallModule</a>
00035 {
00036 <span class="keyword">public</span>:
00044 <a class="code" href="classConnectModule.html#a0">ConnectModule</a>(<a class="code" href="classConnection.html">Connection</a> *conn, Connection::service_t <a class="code" href="classConnectModule.html#r0">service</a>, string <a class="code" href="classConnectModule.html#r1">faxStationID</a>, string <a class="code" href="classConnectModule.html#r2">faxHeadline</a>);
00045
00052 <span class="keywordtype">void</span> <a class="code" href="classConnectModule.html#a1">mainLoop</a>() <span class="keywordflow">throw</span> (<a class="code" href="classCapiWrongState.html">CapiWrongState</a>, <a class="code" href="classCapiExternalError.html">CapiExternalError</a>, <a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00053
00056 <span class="keywordtype">void</span> <a class="code" href="classConnectModule.html#a2">callConnected</a>();
00057
00058 <span class="keyword">private</span>:
<a name="l00059"></a><a class="code" href="classConnectModule.html#r0">00059</a> Connection::service_t service;
00060 string faxStationID,
<a name="l00061"></a><a class="code" href="classConnectModule.html#r1">00061</a> faxHeadline;
00062 };
00063
00064 <span class="preprocessor">#endif</span>
00065 <span class="preprocessor"></span>
00066 <span class="comment">/* History</span>
00067 <span class="comment"></span>
00068 <span class="comment">$Log: connectmodule.h,v $</span>
00069 <span class="comment">Revision 1.1 2003/02/19 08:19:53 gernot</span>
00070 <span class="comment">Initial revision</span>
00071 <span class="comment"></span>
00072 <span class="comment">Revision 1.7 2002/11/29 10:27:44 ghillie</span>
00073 <span class="comment">- updated comments, use doxygen format now</span>
00074 <span class="comment"></span>
00075 <span class="comment">Revision 1.6 2002/11/25 11:57:19 ghillie</span>
00076 <span class="comment">- use service_type instead of CIP value in application layer</span>
00077 <span class="comment"></span>
00078 <span class="comment">Revision 1.5 2002/11/22 15:18:56 ghillie</span>
00079 <span class="comment">added faxStationID, faxHeadline parameters</span>
00080 <span class="comment"></span>
00081 <span class="comment">Revision 1.4 2002/11/21 15:33:44 ghillie</span>
00082 <span class="comment">- moved code from constructor/destructor to overwritten mainLoop() method</span>
00083 <span class="comment"></span>
00084 <span class="comment">Revision 1.3 2002/11/20 17:25:29 ghillie</span>
00085 <span class="comment">added missing throw() declaration</span>
00086 <span class="comment"></span>
00087 <span class="comment">Revision 1.2 2002/11/19 15:57:19 ghillie</span>
00088 <span class="comment">- Added missing throw() declarations</span>
00089 <span class="comment">- phew. Added error handling. All exceptions are caught now.</span>
00090 <span class="comment"></span>
00091 <span class="comment">Revision 1.1 2002/11/14 17:05:58 ghillie</span>
00092 <span class="comment">initial checkin</span>
00093 <span class="comment"></span>
00094 <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>
|