File: throughput_interprocess_reliable_tcp_profile.xml

package info (click to toggle)
fastdds 3.1.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 58,132 kB
  • sloc: cpp: 779,516; xml: 15,119; python: 4,356; sh: 190; makefile: 93; ansic: 12
file content (112 lines) | stat: -rw-r--r-- 4,298 bytes parent folder | download
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
108
109
110
111
112
<?xml version="1.0" encoding="UTF-8"?>
<dds xmlns="http://www.eprosima.com">
    <profiles>
        <!-- TRANSPORT -->
        <transport_descriptors>
            <transport_descriptor>
                <transport_id>throughput_publisher_tcp_transport</transport_id>
                <type>TCPv4</type>
                <keep_alive_frequency_ms>1000</keep_alive_frequency_ms>
                <keep_alive_timeout_ms>10000</keep_alive_timeout_ms>
                <calculate_crc>false</calculate_crc>
                <check_crc>false</check_crc>
                <enable_tcp_nodelay>true</enable_tcp_nodelay>
                <listening_ports>
                        <port>7400</port>
                </listening_ports>
            </transport_descriptor>

            <transport_descriptor>
                <transport_id>throughput_subscriber_tcp_transport</transport_id>
                <type>TCPv4</type>
                <keep_alive_frequency_ms>1000</keep_alive_frequency_ms>
                <keep_alive_timeout_ms>10000</keep_alive_timeout_ms>
                <calculate_crc>false</calculate_crc>
                <check_crc>false</check_crc>
                <enable_tcp_nodelay>true</enable_tcp_nodelay>
            </transport_descriptor>
        </transport_descriptors>

        <!-- PARTICIPANTS -->
        <participant profile_name="pub_participant_profile">
            <domainId>222</domainId>
            <rtps>
                <userTransports>
                    <transport_id>throughput_publisher_tcp_transport</transport_id>
                </userTransports>
                <useBuiltinTransports>false</useBuiltinTransports>
                <name>throughput_test_publisher</name>
            </rtps>
        </participant>

        <participant profile_name="sub_participant_profile">
            <domainId>222</domainId>
            <rtps>
                <builtin>
                    <initialPeersList>
                        <locator>
                            <tcpv4>
                                <address>127.0.0.1</address>
                                <physical_port>7400</physical_port>
                            </tcpv4>
                        </locator>
                    </initialPeersList>
                </builtin>
                <userTransports>
                    <transport_id>throughput_subscriber_tcp_transport</transport_id>
                </userTransports>
                <useBuiltinTransports>false</useBuiltinTransports>
                <name>throughput_test_subscriber</name>
            </rtps>
        </participant>

        <!-- PUBLISHER -->
        <data_writer profile_name="publisher_profile">
            <topic>
                <historyQos>
                    <kind>KEEP_ALL</kind>
                </historyQos>
                <resourceLimitsQos>
                    <max_samples>1</max_samples>
                    <max_instances>1</max_instances>
                    <max_samples_per_instance>1</max_samples_per_instance>
                    <allocated_samples>1</allocated_samples>
                </resourceLimitsQos>
            </topic>
            <qos>
                <reliability>
                    <kind>RELIABLE</kind>
                </reliability>
                <durability>
                    <kind>VOLATILE</kind>
                </durability>
                <data_sharing>
                    <kind>OFF</kind>
                </data_sharing>
            </qos>
        </data_writer>

        <!-- SUBSCRIBER -->
        <data_reader profile_name="subscriber_profile">
            <topic>
                <historyQos>
                    <kind>KEEP_ALL</kind>
                </historyQos>
                <resourceLimitsQos>
                    <max_samples>1</max_samples>
                    <max_instances>1</max_instances>
                    <max_samples_per_instance>1</max_samples_per_instance>
                    <allocated_samples>1</allocated_samples>
                </resourceLimitsQos>
            </topic>
            <qos>
                <reliability>
                    <kind>RELIABLE</kind>
                </reliability>
                <data_sharing>
                    <kind>OFF</kind>
                </data_sharing>
            </qos>
        </data_reader>
    </profiles>
</dds>