summaryrefslogtreecommitdiff
path: root/dds_io_sub/sub.ini
diff options
context:
space:
mode:
Diffstat (limited to 'dds_io_sub/sub.ini')
-rw-r--r--dds_io_sub/sub.ini93
1 files changed, 93 insertions, 0 deletions
diff --git a/dds_io_sub/sub.ini b/dds_io_sub/sub.ini
new file mode 100644
index 0000000..9dcfe13
--- /dev/null
+++ b/dds_io_sub/sub.ini
@@ -0,0 +1,93 @@
+# 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:///home/manut/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=localhost:2222
+#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=
+
+###=== 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= \ No newline at end of file