Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

disconnectmodule.h

Go to the documentation of this file.
00001 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef DISCONNECTMODULE_H 00018 #define DISCONNECTMODULE_H 00019 00020 #include "callmodule.h" 00021 #include "../backend/connection.h" 00022 00023 00024 using namespace std; 00025 00035 class DisconnectModule: public CallModule 00036 { 00037 public: 00045 DisconnectModule(Connection *conn, int reject_reason=1, bool quick_disconnect=false); 00046 00052 void mainLoop() throw (CapiMsgError,CapiExternalError); 00053 00056 void callDisconnectedLogical (); 00057 00062 void callDisconnectedPhysical (); 00063 00064 private: 00065 int reject_reason; 00066 bool quick_disconnect; 00067 }; 00068 00069 #endif 00070 00071 /* History 00072 00073 $Log: disconnectmodule.h,v $ 00074 Revision 1.1 2003/02/19 08:19:53 gernot 00075 Initial revision 00076 00077 Revision 1.3 2002/12/11 13:40:22 ghillie 00078 - added support for quick disconnect (immediate physical disconnect) 00079 00080 Revision 1.2 2002/12/06 15:26:30 ghillie 00081 - supports rejecting of call now, too 00082 00083 Revision 1.1 2002/12/06 12:48:38 ghillie 00084 inital checkin 00085 00086 */

Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by doxygen 1.3.8