Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

System.config

Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # \file System.config
00004 # \brief Contains system-wide configuration parameters
00005 # \author       $Author: rsharo $
00006 # \version      $Revision: 1.2 $
00007 # \date $Date: 2004/04/07 13:49:14 $
00008 #
00009 ##############################################################################
00010 
00011 
00012 
00013 ##############################################################################
00014 #
00015 # Properties for inter-process communication.
00016 #
00017 ##############################################################################
00018 [Typhon\Comm]
00019 #-----------------------------------------------------------------------------
00020 # The following fields specify where to find the address server.
00021 #    The host field is either a multicast IP address or "DEFAULT"
00022 #    The port field is either an IP port number or "DEFAULT"
00023 #    The timeout field says how many seconds we're willing to wait
00024 #    to talk with the address server before giving up and calling it an error.
00025 #    A timeout of zero mean "wait forever"
00026 #-----------------------------------------------------------------------------
00027 #AddrServerHost                                                         = DEFAULT
00028 #AddrServerPort                                                         = DEFAULT
00029 AddrServerTimeout                                                       = 1
00030 
00031 #-----------------------------------------------------------------------------
00032 # Fields to create/configure an address server in this process.
00033 #
00034 #    You should have exactly one address server running on the network at any
00035 #    time.
00036 #
00037 #    AddrServerAutoDetect tells the factory to look on the network for a
00038 #    server if it doesn't find one in 5 attempts (takes 5 seconds), it will
00039 #    spawn its own.
00040 #
00041 #    SpawnAddrServer tells the factory to spawn an address server. Use this
00042 #    if you always start the applications in a specific order. If
00043 #    AddrServerAutoDetect is enabled, it supercedes any setting to
00044 #    SpawnAddrServer.  Note that only one process on the network should have
00045 #    this field set to true.
00046 #
00047 #    Normally loopback will be enabled for this application. If its disabled
00048 #    then the process will only be able to function as a standalone address
00049 #    server -- message clients won't work.
00050 #
00051 #    The time to live (AddrServerTTL) field decides whether the address
00052 #    server can talk through network routers. A value of one means it can't.
00053 #    For each value higher, the address server can talk through one router.
00054 #    Unless your project spans several subnets, leave this value at one.
00055 #
00056 #    The AddrServerInterface field determines which ethernet adapter the
00057 #    address server will listen on. If your computer has multiple network
00058 #    ports, this should be set to the one you share with other processes in
00059 #    this application. If you want to bridge multiple adapters, leave this
00060 #    field as "". On Windoze machines, an interface is specified by its
00061 #    network address, for example, "192.168.0.1".
00062 #    On linux/unix flavors, its specified as the device name,
00063 #    for example, "eth1".
00064 #-----------------------------------------------------------------------------
00065 AddrServerAutoDetect                                            = FALSE
00066 SpawnAddrServer                                                         = TRUE
00067 AddrServerLoopback                                                      = TRUE
00068 #AddrServerTTL                                                          = 1
00069 #AddrServerInterface                                            = ""
00070 
00071 #-----------------------------------------------------------------------------
00072 # Fields to determine how Comm handles messages.
00073 #
00074 #   NumReactorThreads determines how many threads to allocate to Comm. You
00075 #   need at least 1 thread if you don't create a local address server, and
00076 #   you at least 2 if you do. If you're auto-detecting, you should be sure
00077 #   to budget that extra thread...
00078 #-----------------------------------------------------------------------------
00079 #NumReactorThreads                                                      = 2
00080 
00081 ##############################################################################
00082 # End Typhon\Comm
00083 ##############################################################################
00084 

Generated on Wed Sep 5 12:54:25 2007 for DSACSS Operational Code by  doxygen 1.3.9.1