summaryrefslogtreecommitdiff
path: root/dds_io_pub/pub.ini
blob: f185c0696df228fba9bd4933fd1af48e583a1c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Note:
#    1) The configuration defaults to not configure via file. The configuration file name
#       should be specified via command line option -DCPSConfigFile.
#    2) Use # or ; for comments
#    3) The command line option can overwrite the configuration value specified in this
#       file.
#    4) Run application with -DCPSDebugLevel [>0] to help debugging dds configuration.

# This "common" section configures the data in Service_Participant.
[common]
# DCPS specific debug level.
DCPSDebugLevel=0
# DCPS repository ior file name.
DCPSInfoRepo=file://repo.ior
# Number of chunks that the DataWriter's cached allocator can allocate when the resource
# limits are infinite.
DCPSChunks=20
# maximum number of expected associations for publishers and subscribers.  This is used
# to pre allocate enough memory and reduce heap allocations.
DCPSChunkAssociationMutltiplier=10
# The propagation delay factor.
DCPSLivelinessFactor=80
# The port number for the builtin topic.
#DCPSBitTransportPort=
# The timeout for lookup data from the builtin topic datareader (in milliseconds).
#DCPSBitLookupDurationMsec=


# Configuration for a specific TransportImpl object. The section name has the "transport_impl_"
# as prefix and appeneds with the transport id which is an integer.
[transport_impl_1]
# This transport_type should match the "type" argument in the svc.conf or be the
# SimpleTcp which is part of the DDSdcps lib.
transport_type=SimpleTcp
# The local endpoint.
local_address=10.0.3.222:4444
#transport configuration
swap_bytes=
# Number of pre-created link (list) objects per pool for the
# "send queue" of each DataLink.  Each link references a sample
# or framework control message.
queue_messages_per_pool=
# Initial number of pre-allocated pools of link (list) objects
# for the "send queue" of each DataLink.
queue_initial_pools=
#Max size (in bytes) of a packet (packet header + sample(s))
max_packet_size=
# Max number of samples that should ever be in a single packet.
max_samples_per_packet=
# Optimum size (in bytes) of a packet (packet header + sample(s)).
optimum_packet_size=
# This is just for SimpleTcp transport.
enable_nagle_algorithm=

###=== Configurations for connector side during reconnecting===

# The initial retry delay in milliseconds.
# The first connection retry will be when the loss of connection
# is detected.  The second try will be after this delay.
# The default is 500 miliseconds.
conn_retry_initial_delay=

# The backoff multiplier for reconnection strategy.
# The third and so on reconnect will be this value * the previous delay.
# Hence with conn_retry_initial_delay=500 and conn_retry_backoff_multiplier=1.5
# the second reconnect attempt will be at 0.5 seconds after first retry connect
# fails; the third attempt will be 0.75 seconds after the second retry connect
# fails; the fourth attempt will be 1.125 seconds after the third retry connect
# fails.
# The default value is 2.0.
conn_retry_backoff_multiplier=

# Number of attemps to reconnect before giving up and calling
# on_publication_lost() and on_subscription_lost() callbacks.
# The default is 3.
conn_retry_attempts=

# Maximum period (in milliseconds) of not being able to send queued
# messages. If there are samples queued and no output for longer
# than this period then the connection will be closed and on_*_lost()
# callbacks will be called. If the value is zero, the default, then
# this check will not be made.
max_output_pause_period=

# Determine if the transport needs create a new thread for a
# datalink/connection to send samples under normal traffic (no backpressure).
# If thread_per_connection is 1, the publisher creates a seperate thread
# for each datalink/connection to send samples instead of using the same
# thread to send to different datalinks/connections sequentially.
# The default value is 0 (using same thread send to all datalinks)
thread_per_connection=

# Flag to indicate if the data link should be maintained when all associations
# are removed. The default value (0) means the link will be released as the
# last association is removed from the link.
keep_link=


###=== Configurations for acceptor side during reconnecting===

# The time period in milliseconds for the acceptor side
# of a connection to wait for the connection to be reconnected.
# If not reconnected within this period then
# on_publication_lost() and on_subscription_lost() callbacks
# will be called.
# The default is 2 seconds (2000 millseconds).
passive_reconnect_duration=