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

counts.h

00001 /*
00002  * counts.h
00003  *
00004  * application source file for counting the number of create/deletion
00005  * events for some classes in server
00006  *
00007  * by Derek Smithies
00008  *
00009  * The contents of this file are subject to the Mozilla Public License
00010  * Version 1.0 (the "License"); you may not use this file except in
00011  * compliance with the License. You may obtain a copy of the License at
00012  * http://www.mozilla.org/MPL/
00013  *
00014  * Software distributed under the License is distributed on an "AS IS"
00015  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00016  * the License for the specific language governing rights and limitations
00017  * under the License.
00018  *
00019  *
00020  * Contributor(s): ______________________________________.
00021  *
00022  * $Log: counts.h,v $
00023  * Revision 1.3  2006/05/15 04:43:38  derek
00024  * Add to debugging information. Tidy up close down procedure for non used nodes.
00025  *
00026  * Revision 1.2  2006/05/12 05:04:46  derek
00027  * Fixes to python control scripts. Improve reporting of progresss.
00028  * Add to counts in jopal.
00029  * Work on leak tracking reporting.
00030  *
00031  * Revision 1.1  2006/05/10 04:09:08  derek
00032  * Initial release of functions to keep track of the number of created
00033  * TcpConnection class instances.
00034  *
00035  *
00036  *
00037  *
00038  */
00039 
00040 #ifndef _COUNTS_H
00041 #define _COUNTS_H
00042 
00043 #include <ptlib.h>
00044 
00045 #ifdef P_USE_PRAGMA
00046 #pragma interface
00047 #endif
00048  
00049 
00051 void DecCountTcpConnections();
00052 
00054 void IncCountTcpConnections();
00055 
00060 PString GetTcpConnectionName();
00061 
00063 void IncCountSent();
00064 
00068 void IncCountDropped();
00069 
00071 void IncCountReceived();
00072 
00074 PString GetCountTcpConnections();
00075 
00077 PString GetCountReceivedSentDropped();
00078 
00079 
00080 
00081 #endif  // _COUNTS_H
00082 
00083 
00084 // End of File ///////////////////////////////////////////////////////////////

Generated on Thu Apr 19 00:03:11 2007 for SSServer, or Sofa Switch Server by  doxygen 1.4.4