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

Default_Constants.h File Reference

#include "ace/pre.h"
#include "ace/config-all.h"
#include "ace/post.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

Go to the source code of this file.

Default values to control CDR classes memory allocation strategies

#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. More...

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

#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK   65536
 Control CDR buffer growth after maximum exponential growth is reached. More...


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_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_MAX_USERID   32
#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. More...


Detailed Description

Id:
Default_Constants.h,v 1.1.1.1.2.1 2003/04/10 14:12:28 phil 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

Definition in file Default_Constants.h.


Define Documentation

#define ACE_DEFAULT_ARGV_BUFSIZ   1024 * 4
 

Definition at line 314 of file Default_Constants.h.

Referenced by ACE_OS::string_to_argv.

#define ACE_DEFAULT_BACKLOG   5
 

Definition at line 75 of file Default_Constants.h.

#define ACE_DEFAULT_BROADCAST_PORT   20000
 

Definition at line 84 of file Default_Constants.h.

#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.

Definition at line 357 of file Default_Constants.h.

#define ACE_DEFAULT_CDR_EXP_GROWTH_MAX   65536
 

Stop exponential growth of CDR buffers to avoid overallocation.

Definition at line 362 of file Default_Constants.h.

#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK   65536
 

Control CDR buffer growth after maximum exponential growth is reached.

Definition at line 368 of file Default_Constants.h.

#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.

Definition at line 381 of file Default_Constants.h.

#define ACE_DEFAULT_CLOSE_ALL_HANDLES   1
 

Definition at line 34 of file Default_Constants.h.

#define ACE_DEFAULT_DIR_PERMS   0755
 

Definition at line 260 of file Default_Constants.h.

#define ACE_DEFAULT_FILE_PERMS   (FILE_SHARE_READ | FILE_SHARE_WRITE)
 

Definition at line 249 of file Default_Constants.h.

Referenced by ACE_Condition::ACE_Condition, ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool, ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool, ACE_OS::flock_init, ACE_OS::mmap, ACE_OS::sema_init, and ACE_OS::truncate.

#define ACE_DEFAULT_FREE_LIST_HWM   25000
 

Definition at line 296 of file Default_Constants.h.

#define ACE_DEFAULT_FREE_LIST_INC   100
 

Definition at line 300 of file Default_Constants.h.

#define ACE_DEFAULT_FREE_LIST_LWM   0
 

Definition at line 292 of file Default_Constants.h.

#define ACE_DEFAULT_FREE_LIST_PREALLOC   0
 

Definition at line 288 of file Default_Constants.h.

#define ACE_DEFAULT_HTTP_PORT   80
 

Definition at line 108 of file Default_Constants.h.

#define ACE_DEFAULT_HTTP_SERVER_PORT   80
 

Definition at line 99 of file Default_Constants.h.

#define ACE_DEFAULT_LOCAL_PORT   20005
 

Definition at line 131 of file Default_Constants.h.

#define ACE_DEFAULT_LOCAL_PORT_STR   "20005"
 

Definition at line 136 of file Default_Constants.h.

#define ACE_DEFAULT_LOGGER_KEY   ACE_LIB_TEXT ("localhost:20012")
 

Definition at line 207 of file Default_Constants.h.

Referenced by ACE_Service_Config::open_i, and ACE_Logging_Strategy::parse_args.

#define ACE_DEFAULT_LOGGING_SERVER_PORT   20008
 

Definition at line 159 of file Default_Constants.h.

#define ACE_DEFAULT_LOGGING_SERVER_PORT_STR   "20008"
 

Definition at line 163 of file Default_Constants.h.

#define ACE_DEFAULT_MAP_SIZE   1024
 

Definition at line 269 of file Default_Constants.h.

Referenced by ACE_Hash_Map_Manager_Ex::ACE_Hash_Map_Manager_Ex, and ACE_Map_Manager::ACE_Map_Manager.

#define ACE_DEFAULT_MAX_SEGMENTS   6
 

Definition at line 234 of file Default_Constants.h.

Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool.

#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ   65536
 

Definition at line 112 of file Default_Constants.h.

#define ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY   0
 

Definition at line 59 of file Default_Constants.h.

#define ACE_DEFAULT_MULTICAST_ADDR   "224.9.9.2"
 

Definition at line 94 of file Default_Constants.h.

#define ACE_DEFAULT_MULTICAST_PORT   20001
 

Definition at line 88 of file Default_Constants.h.

#define ACE_DEFAULT_NAME_SERVER_PORT   20006
 

Definition at line 141 of file Default_Constants.h.

#define ACE_DEFAULT_NAME_SERVER_PORT_STR   "20006"
 

Definition at line 145 of file Default_Constants.h.

#define ACE_DEFAULT_PAGEFILE_POOL_BASE   (void *) 0
 

Definition at line 43 of file Default_Constants.h.

Referenced by ACE_Pagefile_Memory_Pool::unmap.

#define ACE_DEFAULT_PAGEFILE_POOL_CHUNK   (size_t) 0x00010000
 

Definition at line 51 of file Default_Constants.h.

#define ACE_DEFAULT_PAGEFILE_POOL_NAME   ACE_LIB_TEXT ("Default_ACE_Pagefile_Memory_Pool")
 

Definition at line 55 of file Default_Constants.h.

Referenced by ACE_Pagefile_Memory_Pool::ACE_Pagefile_Memory_Pool.

#define ACE_DEFAULT_PAGEFILE_POOL_SIZE   (size_t) 0x01000000
 

Definition at line 47 of file Default_Constants.h.

Referenced by ACE_Pagefile_Memory_Pool::unmap.

#define ACE_DEFAULT_RENDEZVOUS   ACE_LIB_TEXT("localhost:20010")
 

Definition at line 193 of file Default_Constants.h.

#define ACE_DEFAULT_SEGMENT_SIZE   1024 * 128
 

Definition at line 228 of file Default_Constants.h.

Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool.

#define ACE_DEFAULT_SERVER_HOST   ACE_LOCALHOST
 

Definition at line 218 of file Default_Constants.h.

Referenced by ACE_Name_Options::ACE_Name_Options.

#define ACE_DEFAULT_SERVER_PORT   20002
 

Definition at line 104 of file Default_Constants.h.

Referenced by ACE_Name_Options::ACE_Name_Options.

#define ACE_DEFAULT_SERVER_PORT_STR   "20002"
 

Definition at line 116 of file Default_Constants.h.

#define ACE_DEFAULT_SERVICE_PORT   20003
 

Definition at line 121 of file Default_Constants.h.

#define ACE_DEFAULT_SERVICE_REPOSITORY_SIZE   1024
 

Definition at line 63 of file Default_Constants.h.

#define ACE_DEFAULT_SHM_KEY   1234
 

Definition at line 223 of file Default_Constants.h.

Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool.

#define ACE_DEFAULT_SYSLOG_FACILITY   LOG_USER
 

Definition at line 199 of file Default_Constants.h.

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT   20008
 

Definition at line 168 of file Default_Constants.h.

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR   "20008"
 

Definition at line 172 of file Default_Constants.h.

#define ACE_DEFAULT_THR_PORT   20004
 

Definition at line 126 of file Default_Constants.h.

#define ACE_DEFAULT_THREADS   1
 

Definition at line 79 of file Default_Constants.h.

#define ACE_DEFAULT_TIME_SERVER_PORT   20009
 

Definition at line 177 of file Default_Constants.h.

#define ACE_DEFAULT_TIME_SERVER_PORT_STR   "20009"
 

Definition at line 181 of file Default_Constants.h.

#define ACE_DEFAULT_TIME_SERVER_STR   "ACE_TS_TIME"
 

Definition at line 185 of file Default_Constants.h.

Referenced by ACE_System_Time::get_master_system_time.

#define ACE_DEFAULT_TIMEOUT   5
 

Definition at line 71 of file Default_Constants.h.

Referenced by ACE_SPIPE_Acceptor::create_new_instance.

#define ACE_DEFAULT_TIMEPROBE_TABLE_SIZE   8 * 1024
 

Definition at line 264 of file Default_Constants.h.

#define ACE_DEFAULT_TIMER_HASH_TABLE_SIZE   1024
 

Definition at line 283 of file Default_Constants.h.

Referenced by ACE_Timer_Hash_T::ACE_Timer_Hash_T.

#define ACE_DEFAULT_TIMER_WHEEL_RESOLUTION   100
 

Definition at line 278 of file Default_Constants.h.

Referenced by ACE_Timer_Wheel_T::ACE_Timer_Wheel_T.

#define ACE_DEFAULT_TIMER_WHEEL_SIZE   1024
 

Definition at line 274 of file Default_Constants.h.

Referenced by ACE_Timer_Wheel_T::ACE_Timer_Wheel_T.

#define ACE_DEFAULT_TOKEN_SERVER_PORT   20007
 

Definition at line 150 of file Default_Constants.h.

#define ACE_DEFAULT_TOKEN_SERVER_PORT_STR   "20007"
 

Definition at line 154 of file Default_Constants.h.

#define ACE_FREE_LIST_WITH_POOL   1
 

Definition at line 319 of file Default_Constants.h.

Referenced by ACE_Thread_Manager::ACE_Thread_Manager.

#define ACE_LOCALHOST   ACE_LIB_TEXT ("localhost")
 

Definition at line 214 of file Default_Constants.h.

Referenced by ACE_Pipe::open.

#define ACE_MAX_DGRAM_SIZE   8192
 

Definition at line 310 of file Default_Constants.h.

#define ACE_MAX_FULLY_QUALIFIED_NAME_LEN   256
 

Definition at line 39 of file Default_Constants.h.

Referenced by ACE_INET_Addr::dump, ACE_ATM_Addr::dump, ACE_Sock_Connect::get_ip_interfaces, get_reg_subkeys, and get_reg_value.

#define ACE_MAX_USERID   32
 

Definition at line 327 of file Default_Constants.h.

#define ACE_MAXCLIENTIDLEN   MAXHOSTNAMELEN + 20
 

Definition at line 346 of file Default_Constants.h.

Referenced by ACE_TPQ_Entry::client_id.

#define ACE_MAXLOGMSGLEN   4 * 1024
 

Definition at line 339 of file Default_Constants.h.

#define ACE_MAXTOKENNAMELEN   40
 

Definition at line 343 of file Default_Constants.h.

Referenced by ACE_Mutex_Token::ACE_Mutex_Token, ACE_RW_Token::ACE_RW_Token, ACE_Token_Collection::ACE_Token_Collection, and ACE_Token_Request::decode.

#define ACE_NAME_SERVER_MAP   "Name Server Map"
 

Definition at line 239 of file Default_Constants.h.

Referenced by ACE_Local_Name_Space::create_manager_i.

#define ACE_NON_BLOCKING_BUG_DELAY   35000
 

Definition at line 332 of file Default_Constants.h.

Referenced by ACE_SOCK_Connector::complete, and ACE_Connector< SVC_HANDLER, ACE_PEER_CONNECTOR_2 >::handle_output.

#define ACE_PURE_FREE_LIST   2
 

Definition at line 322 of file Default_Constants.h.

Referenced by ACE_Cached_Allocator::ACE_Cached_Allocator, ACE_Dynamic_Cached_Allocator::ACE_Dynamic_Cached_Allocator, ACE_Locked_Free_List::add, ACE_Locked_Free_List::remove, ACE_Locked_Free_List::resize, and ACE_Locked_Free_List::~ACE_Locked_Free_List.

#define ACE_REACTOR_NOTIFICATION_ARRAY_SIZE   1024
 

Definition at line 67 of file Default_Constants.h.

Referenced by ACE_Select_Reactor_Notify::notify, ACE_Dev_Poll_Reactor_Notify::notify, ACE_Select_Reactor_Notify::open, and ACE_Dev_Poll_Reactor_Notify::open.

#define ACE_UNIQUE_NAME_LEN   100
 

Definition at line 304 of file Default_Constants.h.

Referenced by ACE_Semaphore::ACE_Semaphore, ACE_DLL::set_handle, ACE_RW_Process_Mutex::unique_name, ACE_Process_Mutex::unique_name, and ACE_OS::unique_name.


Generated on Mon Jun 16 11:33:00 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002