Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

defaults.h

Go to the documentation of this file.
00001 // -*- Mode: C++; -*-
00002 //                            Package   : omniEvents
00003 // defaults.h                 Created   : 1/10/99
00004 //                            Author    : Paul Nader (pwn)
00005 //
00006 //    Copyright (C) 1998 Paul Nader.
00007 //
00008 //    This file is part of the omniEvents application.
00009 //
00010 //    omniEvents is free software; you can redistribute it and/or
00011 //    modify it under the terms of the GNU Lesser General Public
00012 //    License as published by the Free Software Foundation; either
00013 //    version 2.1 of the License, or (at your option) any later version.
00014 //
00015 //    omniEvents is distributed in the hope that it will be useful,
00016 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018 //    Lesser General Public License for more details.
00019 //
00020 //    You should have received a copy of the GNU Lesser General Public
00021 //    License along with this library; if not, write to the Free Software
00022 //    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 //
00024 // Description:
00025 //
00026 // Contains definitions of default values.
00027 
00028 /*
00029   $Log: defaults.h,v $
00030   Revision 1.7  2004/07/26 20:50:39  alextingle
00031   Version --> 2.5.4
00032 
00033   Revision 1.6  2004/07/06 12:46:34  alextingle
00034   Moved default macros into defaults.h
00035 
00036   Revision 1.5  2004/05/28 10:11:37  alextingle
00037   Added a comment.
00038 
00039   Revision 1.4  2004/04/19 22:04:29  alextingle
00040   Corrected default CyclePeriod to 0.1s
00041 
00042   Revision 1.3  2004/03/28 01:01:21  alextingle
00043   New QoS parameters: CyclePeriod_ns and InsName.
00044 
00045   Revision 1.2  2004/01/11 16:57:26  alextingle
00046   New persistancy log file format, implemented by PersistNode.h/cc. The new format enables new nodes to be added and old ones erased by appending a single line to the file, rather than by re-persisting the whole application. This is much more efficient when lots of proxies are being created all at once. It's also a much simpler solution, with far fewer lines of code.
00047 
00048   Revision 1.1  2003/12/21 16:19:49  alextingle
00049   Moved into 'src' directory as part of the change to POA implementation.
00050 
00051   Revision 1.2  2003/11/03 22:36:48  alextingle
00052   Updated License to GNU Lesser General Public v2.1
00053 
00054   Revision 1.1.1.1  2002/09/25 19:00:32  shamus13
00055   Import of OmniEvents source tree from release 2.1.1
00056 
00057   Revision 1.1  2000/09/05 01:07:40  naderp
00058   Added MaxQueueLength QOS.
00059 
00060   Revision 1.0  1999/11/01 16:48:08  naderp
00061   Initial revision
00062 
00063 */
00064 
00065 #ifndef _DEFAULTS_H_
00066 #define _DEFAULTS_H_
00067 
00068 #define PULL_RETRY_PERIOD 1 
00069 #define MAX_QUEUE_LENGTH  1023
00070 #define MAX_NUM_PROXIES   1024 
00071 #define CYCLE_PERIOD_NS   100000000 
00072 
00073 
00080 #if defined(__WIN32__)
00081 #  define OMNIEVENTS_LOG_DEFAULT_LOCATION "C:\\omniEvents"
00082 #elif defined(__VMS) // What is a good default for VMS?
00083 #  define OMNIEVENTS_LOG_DEFAULT_LOCATION "[]"
00084 #else // Unix
00085 #  define OMNIEVENTS_LOG_DEFAULT_LOCATION "/var/lib/omniEvents"
00086 #endif
00087 
00092 #define OMNIEVENTS_LOGDIR_ENV_VAR "OMNIEVENTS_LOGDIR"
00093 
00103 #define OMNIEVENTS_LOG_CHECKPOINT_PERIOD (15*60)
00104 
00105 #endif // _DEFAULTS_H_

Generated on Fri Oct 8 15:52:50 2004 for OmniEvents by doxygen1.2.15