Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Default_Constants.h File Reference

#include "ace/config-all.h"

Include dependency graph for Default_Constants.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Default values to control CDR classes memory allocation strategies

#define ACE_DEFAULT_CDR_BUFSIZE   512
#define ACE_DEFAULT_CDR_EXP_GROWTH_MAX   65536
 Stop exponential growth of CDR buffers to avoid overallocation.

#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK   65536

Defines

#define ACE_DEFAULT_CLOSE_ALL_HANDLES   1
#define ACE_MAX_FULLY_QUALIFIED_NAME_LEN   256
#define ACE_DEFAULT_PAGEFILE_POOL_BASE   (void *) 0
#define ACE_DEFAULT_PAGEFILE_POOL_SIZE   (size_t) 0x01000000
#define ACE_DEFAULT_PAGEFILE_POOL_CHUNK   (size_t) 0x00010000
#define ACE_DEFAULT_PAGEFILE_POOL_NAME   ACE_LIB_TEXT ("Default_ACE_Pagefile_Memory_Pool")
#define ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY   0
#define ACE_DEFAULT_SERVICE_REPOSITORY_SIZE   1024
#define ACE_REACTOR_NOTIFICATION_ARRAY_SIZE   1024
#define ACE_DEFAULT_TIMEOUT   5
#define ACE_DEFAULT_BACKLOG   5
#define ACE_DEFAULT_THREADS   1
#define ACE_DEFAULT_BROADCAST_PORT   20000
#define ACE_DEFAULT_MULTICAST_PORT   20001
#define ACE_DEFAULT_MULTICAST_ADDR   "224.9.9.2"
#define ACE_DEFAULT_HTTP_SERVER_PORT   80
#define ACE_DEFAULT_SERVER_PORT   20002
#define ACE_DEFAULT_HTTP_PORT   80
#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ   65536
#define ACE_DEFAULT_SERVER_PORT_STR   "20002"
#define ACE_DEFAULT_SERVICE_PORT   20003
#define ACE_DEFAULT_THR_PORT   20004
#define ACE_DEFAULT_LOCAL_PORT   20005
#define ACE_DEFAULT_LOCAL_PORT_STR   "20005"
#define ACE_DEFAULT_NAME_SERVER_PORT   20006
#define ACE_DEFAULT_NAME_SERVER_PORT_STR   "20006"
#define ACE_DEFAULT_TOKEN_SERVER_PORT   20007
#define ACE_DEFAULT_TOKEN_SERVER_PORT_STR   "20007"
#define ACE_DEFAULT_LOGGING_SERVER_PORT   20008
#define ACE_DEFAULT_LOGGING_SERVER_PORT_STR   "20008"
#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT   20008
#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR   "20008"
#define ACE_DEFAULT_TIME_SERVER_PORT   20009
#define ACE_DEFAULT_TIME_SERVER_PORT_STR   "20009"
#define ACE_DEFAULT_TIME_SERVER_STR   "ACE_TS_TIME"
#define ACE_DEFAULT_RENDEZVOUS   ACE_LIB_TEXT("localhost:20010")
#define ACE_DEFAULT_SYSLOG_FACILITY   LOG_USER
#define ACE_DEFAULT_LOGGER_KEY   ACE_LIB_TEXT ("localhost:20012")
#define ACE_LOCALHOST   ACE_LIB_TEXT ("localhost")
#define ACE_DEFAULT_SERVER_HOST   ACE_LOCALHOST
#define ACE_DEFAULT_SHM_KEY   1234
#define ACE_DEFAULT_BASE_ADDR   ((char *) (64 * 1024 * 1024))
#define ACE_DEFAULT_SEGMENT_SIZE   1024 * 128
#define ACE_DEFAULT_MAX_SEGMENTS   6
#define ACE_NAME_SERVER_MAP   "Name Server Map"
#define ACE_DEFAULT_FILE_PERMS   (FILE_SHARE_READ | FILE_SHARE_WRITE)
#define ACE_DEFAULT_DIR_PERMS   0755
#define ACE_DEFAULT_TIMEPROBE_TABLE_SIZE   8 * 1024
#define ACE_DEFAULT_MAP_SIZE   1024
#define ACE_DEFAULT_TIMER_WHEEL_SIZE   1024
#define ACE_DEFAULT_TIMER_WHEEL_RESOLUTION   100
#define ACE_DEFAULT_TIMER_HASH_TABLE_SIZE   1024
#define ACE_DEFAULT_FREE_LIST_PREALLOC   0
#define ACE_DEFAULT_FREE_LIST_LWM   0
#define ACE_DEFAULT_FREE_LIST_HWM   25000
#define ACE_DEFAULT_FREE_LIST_INC   100
#define ACE_UNIQUE_NAME_LEN   100
#define ACE_MAX_DGRAM_SIZE   8192
#define ACE_DEFAULT_ARGV_BUFSIZ   1024 * 4
#define ACE_FREE_LIST_WITH_POOL   1
#define ACE_PURE_FREE_LIST   2
#define ACE_NON_BLOCKING_BUG_DELAY   35000
#define ACE_MAXLOGMSGLEN   4 * 1024
#define ACE_MAXTOKENNAMELEN   40
#define ACE_MAXCLIENTIDLEN   MAXHOSTNAMELEN + 20
#define ACE_DEFAULT_CDR_MEMCPY_TRADEOFF   256
 Control the zero-copy optimizations for octet sequences.

#define ACE_DIRECTORY_SEPARATOR_STR_A   "\\"
#define ACE_DIRECTORY_SEPARATOR_CHAR_A   '\\'
#define ACE_DIRECTORY_SEPARATOR_STR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_STR_A)
#define ACE_DIRECTORY_SEPARATOR_CHAR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_CHAR_A)
#define ACE_DIRECTORY_SEPARATOR_STR   ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_STR_A)
#define ACE_DIRECTORY_SEPARATOR_CHAR   ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_CHAR_A)
#define ACE_DEFAULT_THREAD_PRIORITY   (-0x7fffffffL - 1L)
#define ACE_MAX_DEFAULT_PORT   65535
#define ACE_PLATFORM_A   "Win32"
#define ACE_PLATFORM_EXE_SUFFIX_A   ".exe"
#define ACE_PLATFORM_W   ACE_TEXT_WIDE(ACE_PLATFORM_A)
#define ACE_PLATFORM_EXE_SUFFIX_W   ACE_TEXT_WIDE(ACE_PLATFORM_EXE_SUFFIX_A)
#define ACE_PLATFORM   ACE_LIB_TEXT (ACE_PLATFORM_A)
#define ACE_PLATFORM_EXE_SUFFIX   ACE_LIB_TEXT (ACE_PLATFORM_EXE_SUFFIX_A)
#define ACE_LD_SEARCH_PATH   ACE_LIB_TEXT ("PATH")
#define ACE_LD_SEARCH_PATH_SEPARATOR_STR   ACE_LIB_TEXT (";")
#define ACE_DLL_SUFFIX   ACE_LIB_TEXT (".dll")
#define ACE_DLL_PREFIX   ACE_LIB_TEXT ("")
#define ACE_DEFAULT_SVC_CONF   ACE_LIB_TEXT (".\\svc.conf")
#define ACE_LOGGER_KEY   ACE_LIB_TEXT ("/tmp/server_daemon")
#define ACE_DEFAULT_LOCALNAME_A   "localnames"
#define ACE_DEFAULT_GLOBALNAME_A   "globalnames"
#define ACE_DEFAULT_LOCALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_LOCALNAME_A)
#define ACE_DEFAULT_GLOBALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_GLOBALNAME_A)
#define ACE_DEFAULT_LOCALNAME   ACE_LIB_TEXT (ACE_DEFAULT_LOCALNAME_A)
#define ACE_DEFAULT_GLOBALNAME   ACE_LIB_TEXT (ACE_DEFAULT_GLOBALNAME_A)
#define ACE_DEV_NULL   "nul"
#define ACE_SYSCALL_FAILED   0xFFFFFFFF

Variables

const unsigned int ACE_CONNECTOR_HANDLER_MAP_SIZE = 16

Detailed Description

Id:
Default_Constants.h,v 4.14 2003/11/18 02:02:05 bala Exp

Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu> , Jesper S. M|ller<stophph@diku.dk> , and a cast of thousands...
This one is split from the famous OS.h


Define Documentation

#define ACE_DEFAULT_ARGV_BUFSIZ   1024 * 4
 

#define ACE_DEFAULT_BACKLOG   5
 

#define ACE_DEFAULT_BASE_ADDR   ((char *) (64 * 1024 * 1024))
 

#define ACE_DEFAULT_BROADCAST_PORT   20000
 

#define ACE_DEFAULT_CDR_BUFSIZE   512
 

Control the initial size of all CDR buffers, application developers may want to optimize this value to fit their request size

#define ACE_DEFAULT_CDR_EXP_GROWTH_MAX   65536
 

Stop exponential growth of CDR buffers to avoid overallocation.

#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK   65536
 

Control CDR buffer growth after maximum exponential growth is reached

#define ACE_DEFAULT_CDR_MEMCPY_TRADEOFF   256
 

Control the zero-copy optimizations for octet sequences.

Large octet sequences can be sent without any copies by chaining them in the list of message blocks that represent a single CDR stream. However, if the octet sequence is too small the zero copy optimizations actually hurt performance. Octet sequences smaller than this value will be copied.

#define ACE_DEFAULT_CLOSE_ALL_HANDLES   1
 

#define ACE_DEFAULT_DIR_PERMS   0755
 

#define ACE_DEFAULT_FILE_PERMS   (FILE_SHARE_READ | FILE_SHARE_WRITE)
 

#define ACE_DEFAULT_FREE_LIST_HWM   25000
 

#define ACE_DEFAULT_FREE_LIST_INC   100
 

#define ACE_DEFAULT_FREE_LIST_LWM   0
 

#define ACE_DEFAULT_FREE_LIST_PREALLOC   0
 

#define ACE_DEFAULT_GLOBALNAME   ACE_LIB_TEXT (ACE_DEFAULT_GLOBALNAME_A)
 

#define ACE_DEFAULT_GLOBALNAME_A   "globalnames"
 

#define ACE_DEFAULT_GLOBALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_GLOBALNAME_A)
 

#define ACE_DEFAULT_HTTP_PORT   80
 

#define ACE_DEFAULT_HTTP_SERVER_PORT   80
 

#define ACE_DEFAULT_LOCAL_PORT   20005
 

#define ACE_DEFAULT_LOCAL_PORT_STR   "20005"
 

#define ACE_DEFAULT_LOCALNAME   ACE_LIB_TEXT (ACE_DEFAULT_LOCALNAME_A)
 

#define ACE_DEFAULT_LOCALNAME_A   "localnames"
 

#define ACE_DEFAULT_LOCALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_LOCALNAME_A)
 

#define ACE_DEFAULT_LOGGER_KEY   ACE_LIB_TEXT ("localhost:20012")
 

#define ACE_DEFAULT_LOGGING_SERVER_PORT   20008
 

#define ACE_DEFAULT_LOGGING_SERVER_PORT_STR   "20008"
 

#define ACE_DEFAULT_MAP_SIZE   1024
 

#define ACE_DEFAULT_MAX_SEGMENTS   6
 

#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ   65536
 

#define ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY   0
 

#define ACE_DEFAULT_MULTICAST_ADDR   "224.9.9.2"
 

#define ACE_DEFAULT_MULTICAST_PORT   20001
 

#define ACE_DEFAULT_NAME_SERVER_PORT   20006
 

#define ACE_DEFAULT_NAME_SERVER_PORT_STR   "20006"
 

#define ACE_DEFAULT_PAGEFILE_POOL_BASE   (void *) 0
 

#define ACE_DEFAULT_PAGEFILE_POOL_CHUNK   (size_t) 0x00010000
 

#define ACE_DEFAULT_PAGEFILE_POOL_NAME   ACE_LIB_TEXT ("Default_ACE_Pagefile_Memory_Pool")
 

#define ACE_DEFAULT_PAGEFILE_POOL_SIZE   (size_t) 0x01000000
 

#define ACE_DEFAULT_RENDEZVOUS   ACE_LIB_TEXT("localhost:20010")
 

#define ACE_DEFAULT_SEGMENT_SIZE   1024 * 128
 

#define ACE_DEFAULT_SERVER_HOST   ACE_LOCALHOST
 

#define ACE_DEFAULT_SERVER_PORT   20002
 

#define ACE_DEFAULT_SERVER_PORT_STR   "20002"
 

#define ACE_DEFAULT_SERVICE_PORT   20003
 

#define ACE_DEFAULT_SERVICE_REPOSITORY_SIZE   1024
 

#define ACE_DEFAULT_SHM_KEY   1234
 

#define ACE_DEFAULT_SVC_CONF   ACE_LIB_TEXT (".\\svc.conf")
 

#define ACE_DEFAULT_SYSLOG_FACILITY   LOG_USER
 

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT   20008
 

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR   "20008"
 

#define ACE_DEFAULT_THR_PORT   20004
 

#define ACE_DEFAULT_THREAD_PRIORITY   (-0x7fffffffL - 1L)
 

#define ACE_DEFAULT_THREADS   1
 

#define ACE_DEFAULT_TIME_SERVER_PORT   20009
 

#define ACE_DEFAULT_TIME_SERVER_PORT_STR   "20009"
 

#define ACE_DEFAULT_TIME_SERVER_STR   "ACE_TS_TIME"
 

#define ACE_DEFAULT_TIMEOUT   5
 

#define ACE_DEFAULT_TIMEPROBE_TABLE_SIZE   8 * 1024
 

#define ACE_DEFAULT_TIMER_HASH_TABLE_SIZE   1024
 

#define ACE_DEFAULT_TIMER_WHEEL_RESOLUTION   100
 

#define ACE_DEFAULT_TIMER_WHEEL_SIZE   1024
 

#define ACE_DEFAULT_TOKEN_SERVER_PORT   20007
 

#define ACE_DEFAULT_TOKEN_SERVER_PORT_STR   "20007"
 

#define ACE_DEV_NULL   "nul"
 

#define ACE_DIRECTORY_SEPARATOR_CHAR   ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_CHAR_A)
 

#define ACE_DIRECTORY_SEPARATOR_CHAR_A   '\\'
 

#define ACE_DIRECTORY_SEPARATOR_CHAR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_CHAR_A)
 

#define ACE_DIRECTORY_SEPARATOR_STR   ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_STR_A)
 

#define ACE_DIRECTORY_SEPARATOR_STR_A   "\\"
 

#define ACE_DIRECTORY_SEPARATOR_STR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_STR_A)
 

#define ACE_DLL_PREFIX   ACE_LIB_TEXT ("")
 

#define ACE_DLL_SUFFIX   ACE_LIB_TEXT (".dll")
 

#define ACE_FREE_LIST_WITH_POOL   1
 

#define ACE_LD_SEARCH_PATH   ACE_LIB_TEXT ("PATH")
 

#define ACE_LD_SEARCH_PATH_SEPARATOR_STR   ACE_LIB_TEXT (";")
 

#define ACE_LOCALHOST   ACE_LIB_TEXT ("localhost")
 

#define ACE_LOGGER_KEY   ACE_LIB_TEXT ("/tmp/server_daemon")
 

#define ACE_MAX_DEFAULT_PORT   65535
 

#define ACE_MAX_DGRAM_SIZE   8192
 

#define ACE_MAX_FULLY_QUALIFIED_NAME_LEN   256
 

#define ACE_MAXCLIENTIDLEN   MAXHOSTNAMELEN + 20
 

#define ACE_MAXLOGMSGLEN   4 * 1024
 

#define ACE_MAXTOKENNAMELEN   40
 

#define ACE_NAME_SERVER_MAP   "Name Server Map"
 

#define ACE_NON_BLOCKING_BUG_DELAY   35000
 

#define ACE_PLATFORM   ACE_LIB_TEXT (ACE_PLATFORM_A)
 

#define ACE_PLATFORM_A   "Win32"
 

#define ACE_PLATFORM_EXE_SUFFIX   ACE_LIB_TEXT (ACE_PLATFORM_EXE_SUFFIX_A)
 

#define ACE_PLATFORM_EXE_SUFFIX_A   ".exe"
 

#define ACE_PLATFORM_EXE_SUFFIX_W   ACE_TEXT_WIDE(ACE_PLATFORM_EXE_SUFFIX_A)
 

#define ACE_PLATFORM_W   ACE_TEXT_WIDE(ACE_PLATFORM_A)
 

#define ACE_PURE_FREE_LIST   2
 

#define ACE_REACTOR_NOTIFICATION_ARRAY_SIZE   1024
 

#define ACE_SYSCALL_FAILED   0xFFFFFFFF
 

#define ACE_UNIQUE_NAME_LEN   100
 


Variable Documentation

const unsigned int ACE_CONNECTOR_HANDLER_MAP_SIZE = 16
 


Generated on Fri Apr 2 16:05:42 2004 for ACE by doxygen1.2.18