RTI Connext Java API v5.0.0
RTI Connext Java API v5.0.0
Version 5.0.0
Generated by Doxygen 1.5.5
Mon Aug 13 09:02:20 2012
Contents
1 RTI Connext
1.1
1.2
Available Documentation. . . . . . . . . . . . . . . . . . . . . . .
2 Module Index
2.1
Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Namespace Index
3.1
Package List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Class Index
4.1
Class Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Class Index
5.1
Class List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 Module Documentation
5
5
9
9
13
13
21
21
41
6.1
ASYNCHRONOUS PUBLISHER . . . . . . . . . . . . . . . . . .
41
6.2
AVAILABILITY . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
6.3
BATCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
6.4
45
6.5
DATABASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
6.6
47
6.7
48
6.8
50
ii
CONTENTS
6.9
51
6.10 DEADLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
53
54
6.13 DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
57
66
6.16 DURABILITY . . . . . . . . . . . . . . . . . . . . . . . . . . . .
68
69
71
72
73
74
6.22 EVENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
76
77
78
6.26 HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
80
6.28 LIFESPAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
81
6.29 LIVELINESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82
6.30 LOCATORFILTER . . . . . . . . . . . . . . . . . . . . . . . . .
83
6.31 LOGGING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
84
6.32 MULTICHANNEL . . . . . . . . . . . . . . . . . . . . . . . . . .
85
86
6.34 OWNERSHIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
88
6.36 PARTITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
89
6.37 PRESENTATION . . . . . . . . . . . . . . . . . . . . . . . . . .
90
6.38 PROFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
91
6.39 PROPERTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
CONTENTS
iii
93
94
iv
CONTENTS
6.71 DomainParticipantFactory . . . . . . . . . . . . . . . . . . . . . . 149
6.72 DomainParticipants . . . . . . . . . . . . . . . . . . . . . . . . . 151
6.73 Built-in Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
6.74 Topic Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
6.75 Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
6.76 User Data Type Support . . . . . . . . . . . . . . . . . . . . . . . 164
6.77 Type Code Support . . . . . . . . . . . . . . . . . . . . . . . . . 165
6.78 Built-in Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
6.79 Dynamic Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
6.80 Publication Module . . . . . . . . . . . . . . . . . . . . . . . . . . 180
6.81 Publishers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
6.82 Data Writers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
6.83 Flow Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
6.84 Subscription Module . . . . . . . . . . . . . . . . . . . . . . . . . 192
6.85 Subscribers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
6.86 DataReaders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
6.87 Read Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
6.88 Query Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
6.89 Data Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
6.90 Sample States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
6.91 View States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
6.92 Instance States . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
6.93 Infrastructure Module . . . . . . . . . . . . . . . . . . . . . . . . 206
6.94 Built-in Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . 208
6.95 Multi-channel DataWriters
. . . . . . . . . . . . . . . . . . . . . 210
CONTENTS
325
7.1
7.2
7.3
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
vi
CONTENTS
7.4
7.5
7.6
7.7
7.8
7.9
383
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
CONTENTS
8.14 BatchQosPolicy Class Reference
vii
. . . . . . . . . . . . . . . . . . 412
viii
CONTENTS
. . . . . . . . . . . . . . 586
. . . . . . . . . . . . . . . . . 653
CONTENTS
ix
. . . . . . . . . . . . . . . . . 956
. . . . . . . . . 970
CONTENTS
8.106FooDataWriter Class Reference . . . . . . . . . . . . . . . . . . . 1012
8.107FooSeq Class Reference . . . . . . . . . . . . . . . . . . . . . . . 1034
8.108FooTypeSupport Class Reference . . . . . . . . . . . . . . . . . . 1036
8.109GroupDataQosPolicy Class Reference . . . . . . . . . . . . . . . 1039
8.110GuardCondition Class Reference . . . . . . . . . . . . . . . . . . 1041
8.111GUID t Class Reference . . . . . . . . . . . . . . . . . . . . . . . 1044
8.112HistoryQosPolicy Class Reference . . . . . . . . . . . . . . . . . . 1046
8.113HistoryQosPolicyKind Class Reference . . . . . . . . . . . . . . . 1050
8.114InconsistentTopicStatus Class Reference . . . . . . . . . . . . . . 1052
8.115InetAddressSeq Class Reference . . . . . . . . . . . . . . . . . . . 1054
8.116InstanceHandle t Class Reference . . . . . . . . . . . . . . . . . . 1055
8.117InstanceHandleSeq Class Reference . . . . . . . . . . . . . . . . . 1058
8.118InstanceStateKind Class Reference . . . . . . . . . . . . . . . . . 1061
8.119IntSeq Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 1064
8.120KeyedBytes Class Reference . . . . . . . . . . . . . . . . . . . . . 1070
8.121KeyedBytesDataReader Class Reference . . . . . . . . . . . . . . 1073
8.122KeyedBytesDataWriter Class Reference . . . . . . . . . . . . . . 1081
8.123KeyedBytesSeq Class Reference . . . . . . . . . . . . . . . . . . . 1091
8.124KeyedBytesTypeSupport Class Reference . . . . . . . . . . . . . 1094
8.125KeyedString Class Reference
. . . . . . . . . . . . . . . . . . . . 1098
CONTENTS
xi
xii
CONTENTS
8.168PresentationQosPolicyAccessScopeKind Class Reference . . . . . 1226
8.169PRIVATE MEMBER Class Reference . . . . . . . . . . . . . . . 1228
8.170ProductVersion t Class Reference . . . . . . . . . . . . . . . . . . 1229
8.171ProfileQosPolicy Class Reference . . . . . . . . . . . . . . . . . . 1231
8.172Property t Class Reference . . . . . . . . . . . . . . . . . . . . . 1234
8.173PropertyQosPolicy Class Reference . . . . . . . . . . . . . . . . . 1236
8.174PropertyQosPolicyHelper Class Reference . . . . . . . . . . . . . 1239
8.175PropertySeq Class Reference . . . . . . . . . . . . . . . . . . . . 1244
8.176ProtocolVersion t Class Reference . . . . . . . . . . . . . . . . . . 1245
8.177PUBLIC MEMBER Class Reference . . . . . . . . . . . . . . . . 1248
8.178PublicationBuiltinTopicData Class Reference . . . . . . . . . . . 1249
8.179PublicationBuiltinTopicDataDataReader Class Reference . . . . 1256
8.180PublicationBuiltinTopicDataSeq Class Reference . . . . . . . . . 1257
8.181PublicationBuiltinTopicDataTypeSupport Class Reference . . . . 1258
8.182PublicationMatchedStatus Class Reference . . . . . . . . . . . . . 1259
8.183Publisher Interface Reference . . . . . . . . . . . . . . . . . . . . 1262
8.184PublisherAdapter Class Reference
. . . . . . . . . . . . . . . . . 1288
CONTENTS
xiii
. . . . . . . . . . . . . . 1388
xiv
CONTENTS
CONTENTS
xv
xvi
CONTENTS
. . . . . . . . . . . . . . . . 1694
CONTENTS
9 Example Documentation
xvii
1743
9.1
HelloWorld.idl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1743
9.2
HelloWorldDataReader.java . . . . . . . . . . . . . . . . . . . . . 1745
9.3
HelloWorldPublisher.java . . . . . . . . . . . . . . . . . . . . . . 1761
9.4
HelloWorldSeq.java . . . . . . . . . . . . . . . . . . . . . . . . . . 1765
9.5
HelloWorldSubscriber.java . . . . . . . . . . . . . . . . . . . . . . 1770
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 1
RTI Connext
Core Libraries and Utilities
Real-Time Innovations, Inc.
RTI Connext is network middleware for real-time distributed applications. It
provides the communications services that programmers need to distribute timecritical data between embedded and/or enterprise devices or nodes. RTI Connext uses the publish-subscribe communications model to make data distribution efficient and robust.
The RTI Connext Application Programming Interface (API) is based on the
OMGs Data Distribution Service (DDS) specification. The most recent publication of this specification can be found in the Catalog of OMG Specifications
under Middleware Specifications.
1.1
RTI Connext
1.2
Available Documentation.
The documentation for this release is provided in two forms: the HTML API
reference documentation and PDF documents. If you are new to RTI Connext,
the Documentation Roadmap (p. 277) will provide direction on how to learn
about this product.
1.2.1
The PDF documents for the Core Libraries and Utilities are:
1.2.2
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
RTI Connext
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 2
Module Index
2.1
Modules
116
277
278
280
147
149
151
157
161
162
164
165
170
141
142
143
175
180
181
184
186
192
195
198
200
Module Index
Query Conditions . . . . . . . . . . . . . . . . . . . . . . . . .
Data Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sample States . . . . . . . . . . . . . . . . . . . . . . . . . . .
View States . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instance States . . . . . . . . . . . . . . . . . . . . . . . . . .
Infrastructure Module . . . . . . . . . . . . . . . . . . . . . . . . .
Conditions and WaitSets . . . . . . . . . . . . . . . . . . . . .
Time Support . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Entity Support . . . . . . . . . . . . . . . . . . . . . . . . . . .
GUID Support . . . . . . . . . . . . . . . . . . . . . . . . . . .
Object Support . . . . . . . . . . . . . . . . . . . . . . . . . . .
QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASYNCHRONOUS PUBLISHER . . . . . . . . . . . . . . .
AVAILABILITY . . . . . . . . . . . . . . . . . . . . . . . . .
BATCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DATABASE . . . . . . . . . . . . . . . . . . . . . . . . . . .
DATA READER PROTOCOL . . . . . . . . . . . . . . . . .
DATA READER RESOURCE LIMITS . . . . . . . . . . . .
DATA WRITER PROTOCOL . . . . . . . . . . . . . . . . .
DATA WRITER RESOURCE LIMITS . . . . . . . . . . . .
DEADLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DESTINATION ORDER . . . . . . . . . . . . . . . . . . . .
DISCOVERY CONFIG . . . . . . . . . . . . . . . . . . . . .
DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . .
NDDS DISCOVERY PEERS . . . . . . . . . . . . . . . .
DOMAIN PARTICIPANT RESOURCE LIMITS . . . . . . .
DURABILITY . . . . . . . . . . . . . . . . . . . . . . . . . .
DURABILITY SERVICE . . . . . . . . . . . . . . . . . . . .
ENTITY FACTORY . . . . . . . . . . . . . . . . . . . . . . .
ENTITY NAME . . . . . . . . . . . . . . . . . . . . . . . . .
EVENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EXCLUSIVE AREA . . . . . . . . . . . . . . . . . . . . . . .
GROUP DATA . . . . . . . . . . . . . . . . . . . . . . . . . .
HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LATENCY BUDGET . . . . . . . . . . . . . . . . . . . . . .
LIFESPAN . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LIVELINESS . . . . . . . . . . . . . . . . . . . . . . . . . . .
LOCATORFILTER . . . . . . . . . . . . . . . . . . . . . . .
LOGGING . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MULTICHANNEL . . . . . . . . . . . . . . . . . . . . . . . .
OWNERSHIP . . . . . . . . . . . . . . . . . . . . . . . . . .
OWNERSHIP STRENGTH . . . . . . . . . . . . . . . . . . .
PARTITION . . . . . . . . . . . . . . . . . . . . . . . . . . .
PRESENTATION . . . . . . . . . . . . . . . . . . . . . . . .
PROFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
201
202
203
204
205
206
45
71
72
78
86
94
41
43
44
46
47
48
50
51
52
53
54
56
57
66
68
69
73
74
75
76
77
79
80
81
82
83
84
85
87
88
89
90
91
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
2.1 Modules
PROPERTY . . . . . . . . . . . . . . . . . . . . . . . . . . .
PUBLISH MODE . . . . . . . . . . . . . . . . . . . . . . . .
READER DATA LIFECYCLE . . . . . . . . . . . . . . . . .
RECEIVER POOL . . . . . . . . . . . . . . . . . . . . . . .
RELIABILITY . . . . . . . . . . . . . . . . . . . . . . . . . .
RESOURCE LIMITS . . . . . . . . . . . . . . . . . . . . . .
SYSTEM RESOURCE LIMITS . . . . . . . . . . . . . . . .
TIME BASED FILTER . . . . . . . . . . . . . . . . . . . . .
TOPIC DATA . . . . . . . . . . . . . . . . . . . . . . . . . .
TRANSPORT BUILTIN . . . . . . . . . . . . . . . . . . . .
TRANSPORT MULTICAST MAPPING . . . . . . . . . . .
TRANSPORT MULTICAST . . . . . . . . . . . . . . . . . .
TRANSPORT PRIORITY . . . . . . . . . . . . . . . . . . .
TRANSPORT SELECTION . . . . . . . . . . . . . . . . . .
TRANSPORT UNICAST . . . . . . . . . . . . . . . . . . . .
TYPE CONSISTENCY ENFORCEMENT . . . . . . . . . .
TYPESUPPORT . . . . . . . . . . . . . . . . . . . . . . . . .
USER DATA . . . . . . . . . . . . . . . . . . . . . . . . . . .
WIRE PROTOCOL . . . . . . . . . . . . . . . . . . . . . . .
WRITER DATA LIFECYCLE . . . . . . . . . . . . . . . . .
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequence Number Support . . . . . . . . . . . . . . . . . . . .
Status Kinds . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exception Codes . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequence Support . . . . . . . . . . . . . . . . . . . . . . . . .
Built-in Sequences . . . . . . . . . . . . . . . . . . . . . . . .
Queries and Filters Syntax . . . . . . . . . . . . . . . . . . . . . .
RTI Connext API Reference . . . . . . . . . . . . . . . . . . . . . . . .
Clock Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multi-channel DataWriters . . . . . . . . . . . . . . . . . . . . . .
Pluggable Transports . . . . . . . . . . . . . . . . . . . . . . . . .
Using Transport Plugins . . . . . . . . . . . . . . . . . . . . . .
Built-in Transport Plugins . . . . . . . . . . . . . . . . . . . . .
Configuration Utilities . . . . . . . . . . . . . . . . . . . . . . . . .
Durability and Persistence . . . . . . . . . . . . . . . . . . . . . . .
System Properties . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring QoS Profiles with XML . . . . . . . . . . . . . . . . .
Programming How-Tos . . . . . . . . . . . . . . . . . . . . . . . . . .
Publication Example . . . . . . . . . . . . . . . . . . . . . . . . . .
Subscription Example . . . . . . . . . . . . . . . . . . . . . . . . .
Participant Use Cases . . . . . . . . . . . . . . . . . . . . . . . . .
Topic Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FlowController Use Cases . . . . . . . . . . . . . . . . . . . . . . .
Publisher Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . .
DataWriter Use Cases . . . . . . . . . . . . . . . . . . . . . . . . .
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7
92
93
103
104
105
106
115
117
118
119
122
123
126
127
128
129
130
132
134
140
107
109
110
133
144
208
286
294
145
210
213
219
222
224
225
231
233
295
237
238
239
241
243
247
248
Module Index
Subscriber Use Cases . . . . . . .
DataReader Use Cases . . . . . .
Entity Use Cases . . . . . . . . .
Waitset Use Cases . . . . . . . .
Transport Use Cases . . . . . . .
Filter Use Cases . . . . . . . . .
Creating Custom Content Filters
Large Data Use Cases . . . . . .
Programming Tools . . . . . . . . .
rtiddsgen . . . . . . . . . . . . .
rtiddsping . . . . . . . . . . . . .
rtiddsspy . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
250
253
257
261
263
265
271
275
297
298
311
318
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 3
Namespace Index
3.1
Package List
10
Namespace Index
com.rti.dds.publication
(Contains
the
com.rti.dds.publication.FlowController
(p. 964),
com.rti.dds.publication.Publisher
(p. 1262),
and
com.rti.dds.publication.DataWriter
(p. 557)
classes
as
well
as
the
com.rti.dds.publication.PublisherListener
(p. 1289)
and
com.rti.dds.publication.DataWriterListener
(p. 586) interfaces, and more generally, all that is needed on
the publication (p. 349) side ) . . . . . . . . . . . . . . . . .
com.rti.dds.publication.builtin (Builtin topic (p. 359) for accessing information about the Publications discovered by RTI
Connext ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
com.rti.dds.subscription
(Contains
the
com.rti.dds.subscription.Subscriber
(p. 1476),
com.rti.dds.subscription.DataReader
(p. 487),
com.rti.dds.subscription.ReadCondition
(p. 1313),
and
com.rti.dds.subscription.QueryCondition
(p. 1311)
classes,
as
well
as
the
com.rti.dds.subscription.SubscriberListener (p. 1503)
and
com.rti.dds.subscription.DataReaderListener
(p. 518) interfaces, and more generally, all that is needed on
the subscription (p. 353) side ) . . . . . . . . . . . . . . . .
com.rti.dds.subscription.builtin (Builtin topic (p. 359) for accessing information about the Subscriptions discovered by RTI
Connext ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
com.rti.dds.topic
(Contains
the
com.rti.dds.topic.Topic
(p. 1545),
com.rti.dds.topic.ContentFilteredTopic
(p. 471), and com.rti.dds.topic.MultiTopic (p. 1190)
classes, the com.rti.dds.topic.TopicListener (p. 1564)
interface, and more generally, all that is needed by an
application to define com.rti.dds.topic.Topic (p. 1545)
objects and attach QoS policies to them ) . . . . . . . . . . .
com.rti.dds.topic.builtin (Builtin topic (p. 359) for accessing information about the Topics discovered by RTI Connext ) . . . .
com.rti.dds.type.builtin (<<eXtension>> ( p. 278) RTI Connext
provides a set of very simple data types for you to use with
the topics in your application ) . . . . . . . . . . . . . . . . .
com.rti.dds.typecode
(<<eXtension>>
( p. 278)
A
com.rti.dds.typecode.TypeCode ( p. 1611) is a mechanism for representing a type at runtime. RTI Connext
can use type codes to send type definitions on the network.
You will need to understand this API in order to use the
Dynamic Data (p. 175) capability or to inspect the type
information you receive from remote readers and writers ) . .
com.rti.dds.util (Utility types that support the DDS API ) . . . . .
com.rti.ndds (DDS extensions ) . . . . . . . . . . . . . . . . . . . . .
349
352
353
358
359
361
362
368
372
373
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
11
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
12
Namespace Index
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 4
Class Index
4.1
Class Hierarchy
383
1216
1258
1518
1558
393
394
395
426
454
457
464
1448
1313
1311
465
467
1737
476
478
479
480
817
1055
14
Class Index
StringSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1467
WstringSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1741
Time t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1537
WriteParams t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1733
SampleInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1398
BuiltinTopicKey t . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
BytesSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
KeyedBytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1070
KeyedBytesSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1091
KeyedString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1098
KeyedStringSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
AbstractPrimitiveSequence . . . . . . . . . . . . . . . . . . . . . . 385
BooleanSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
ByteSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
CharSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
WcharSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1721
DoubleSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 796
LongDoubleSeq . . . . . . . . . . . . . . . . . . . . . . . . . . 1179
FloatSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 958
IntSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064
LongSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181
ShortSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1442
Enum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 944
DataWriterResourceLimitsInstanceReplacementKind . . . . . . 617
DestinationOrderQosPolicyKind . . . . . . . . . . . . . . . . . 634
DiscoveryPluginPromiscuityKind . . . . . . . . . . . . . . . . . 648
DurabilityQosPolicyKind . . . . . . . . . . . . . . . . . . . . . 807
HistoryQosPolicyKind . . . . . . . . . . . . . . . . . . . . . . . 1050
LivelinessQosPolicyKind . . . . . . . . . . . . . . . . . . . . . . 1144
OwnershipQosPolicyKind . . . . . . . . . . . . . . . . . . . . . 1207
PresentationQosPolicyAccessScopeKind . . . . . . . . . . . . . 1226
PublishModeQosPolicyKind . . . . . . . . . . . . . . . . . . . . 1298
QosPolicyId t . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1305
RefilterQosPolicyKind . . . . . . . . . . . . . . . . . . . . . . . 1322
ReliabilityQosPolicyAcknowledgmentModeKind . . . . . . . . . 1329
ReliabilityQosPolicyKind . . . . . . . . . . . . . . . . . . . . . 1331
RemoteParticipantPurgeKind . . . . . . . . . . . . . . . . . . . 1341
ThreadSettingsCpuRotationKind . . . . . . . . . . . . . . . . . 1533
TransportMulticastQosPolicyKind . . . . . . . . . . . . . . . . 1593
TypeConsistencyKind . . . . . . . . . . . . . . . . . . . . . . . 1663
WireProtocolQosPolicyAutoKind . . . . . . . . . . . . . . . . . 1732
FlowControllerSchedulingPolicy . . . . . . . . . . . . . . . . . . 970
SampleLostStatusKind . . . . . . . . . . . . . . . . . . . . . . . 1412
SampleRejectedStatusKind . . . . . . . . . . . . . . . . . . . . 1420
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
15
ExtensibilityKind . . . . . . . . . . . . . . . . . . . . . . . . . . 956
TCKind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1525
LogCategory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
LogLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1171
LogPrintFormat . . . . . . . . . . . . . . . . . . . . . . . . . . 1174
LogVerbosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1177
Foo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 977
FooSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1034
DataReaderCacheStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 517
DataReaderProtocolStatus . . . . . . . . . . . . . . . . . . . . . . . . 526
DataReaderSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
DataWriterCacheStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 585
DataWriterProtocolStatus . . . . . . . . . . . . . . . . . . . . . . . . . 598
DiscoveryBuiltinReaderFragmentationResourceLimits t . . . . . . . . 636
DiscoveryConfigBuiltinPluginKind . . . . . . . . . . . . . . . . . . . . 638
DomainParticipantFactory . . . . . . . . . . . . . . . . . . . . . . . . . 742
Duration t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813
DynamicDataInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
DynamicDataMemberInfo . . . . . . . . . . . . . . . . . . . . . . . . . 887
DynamicDataProperty t . . . . . . . . . . . . . . . . . . . . . . . . . . 890
DynamicDataTypeProperty t . . . . . . . . . . . . . . . . . . . . . . . 897
DynamicDataTypeSerializationProperty t . . . . . . . . . . . . . . . . 899
EndpointGroup t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 928
EndpointGroupSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
Entity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 931
DomainParticipant . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
DomainEntity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
DataWriter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
DynamicDataWriter . . . . . . . . . . . . . . . . . . . . . . . 907
BytesDataWriter . . . . . . . . . . . . . . . . . . . . . . . . . 437
KeyedBytesDataWriter . . . . . . . . . . . . . . . . . . . . . 1081
KeyedStringDataWriter . . . . . . . . . . . . . . . . . . . . . 1109
StringDataWriter . . . . . . . . . . . . . . . . . . . . . . . . . 1465
FooDataWriter . . . . . . . . . . . . . . . . . . . . . . . . . . 1012
Publisher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1262
DataReader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
DynamicDataReader . . . . . . . . . . . . . . . . . . . . . . . 892
BytesDataReader . . . . . . . . . . . . . . . . . . . . . . . . . 433
KeyedBytesDataReader . . . . . . . . . . . . . . . . . . . . . 1073
KeyedStringDataReader . . . . . . . . . . . . . . . . . . . . . 1101
StringDataReader . . . . . . . . . . . . . . . . . . . . . . . . 1462
FooDataReader . . . . . . . . . . . . . . . . . . . . . . . . . . 979
Subscriber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1476
Topic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1545
EnumMember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 947
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
16
Class Index
ExpressionProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . 955
FilterSampleInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 957
FlowController . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 964
FlowControllerProperty t . . . . . . . . . . . . . . . . . . . . . . . . . 968
FlowControllerTokenBucketProperty t . . . . . . . . . . . . . . . . . . 973
FooTypeSupport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036
GuardCondition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1041
GUID t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
InconsistentTopicStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 1052
InetAddressSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1054
InstanceHandleSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1058
InstanceStateKind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1061
LibraryVersion t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1126
Listener . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1130
DataWriterListener . . . . . . . . . . . . . . . . . . . . . . . . . . . 586
DataWriterAdapter . . . . . . . . . . . . . . . . . . . . . . . . 580
PublisherAdapter . . . . . . . . . . . . . . . . . . . . . . . . . 1288
PublisherListener . . . . . . . . . . . . . . . . . . . . . . . . . . 1289
DomainParticipantListener . . . . . . . . . . . . . . . . . . . 771
DomainParticipantAdapter . . . . . . . . . . . . . . . . . 736
PublisherAdapter . . . . . . . . . . . . . . . . . . . . . . . . . 1288
DataReaderListener . . . . . . . . . . . . . . . . . . . . . . . . . . 518
DataReaderAdapter . . . . . . . . . . . . . . . . . . . . . . . . 514
SubscriberAdapter . . . . . . . . . . . . . . . . . . . . . . . . 1502
DomainParticipantAdapter . . . . . . . . . . . . . . . . . 736
SubscriberListener . . . . . . . . . . . . . . . . . . . . . . . . . 1503
DomainParticipantListener . . . . . . . . . . . . . . . . . . . 771
SubscriberAdapter . . . . . . . . . . . . . . . . . . . . . . . . 1502
TopicListener . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1564
DomainParticipantListener . . . . . . . . . . . . . . . . . . . . 771
TopicAdapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1550
EntityHowTo.MyEntityListener . . . . . . . . . . . . . . . . . . . . 941
LivelinessChangedStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 1135
LivelinessLostStatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1138
Locator t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1150
LocatorFilter t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1154
LocatorFilterSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1159
LocatorSeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160
Logger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163
LoggerDevice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1167
LogMessage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
ObjectHolder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1194
OfferedDeadlineMissedStatus . . . . . . . . . . . . . . . . . . . . . . . 1195
OfferedIncompatibleQosStatus . . . . . . . . . . . . . . . . . . . . . . 1197
ParticipantBuiltinTopicData . . . . . . . . . . . . . . . . . . . . . . . 1211
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
1214
1215
1228
1229
1234
1239
1244
1245
1248
1249
1256
1257
1259
1293
1300
769
773
610
1290
536
1505
1566
1301
397
402
412
482
521
542
592
621
628
631
639
649
778
802
810
938
942
949
952
1039
1046
1124
18
Class Index
LifespanQosPolicy . . . . . . . . . . . .
LivelinessQosPolicy . . . . . . . . . . . .
LocatorFilterQosPolicy . . . . . . . . .
LoggingQosPolicy . . . . . . . . . . . .
MultiChannelQosPolicy . . . . . . . . .
OwnershipQosPolicy . . . . . . . . . . .
OwnershipStrengthQosPolicy . . . . . .
PartitionQosPolicy . . . . . . . . . . . .
PresentationQosPolicy . . . . . . . . . .
ProfileQosPolicy . . . . . . . . . . . . .
PropertyQosPolicy . . . . . . . . . . . .
PublishModeQosPolicy . . . . . . . . . .
ReaderDataLifecycleQosPolicy . . . . .
ReceiverPoolQosPolicy . . . . . . . . . .
ReliabilityQosPolicy . . . . . . . . . . .
ResourceLimitsQosPolicy . . . . . . . .
SystemResourceLimitsQosPolicy . . . .
TimeBasedFilterQosPolicy . . . . . . .
TopicDataQosPolicy . . . . . . . . . . .
TransportBuiltinQosPolicy . . . . . . .
TransportMulticastMappingQosPolicy .
TransportMulticastQosPolicy . . . . . .
TransportPriorityQosPolicy . . . . . . .
TransportSelectionQosPolicy . . . . . .
TransportUnicastQosPolicy . . . . . . .
TypeConsistencyEnforcementQosPolicy
TypeSupportQosPolicy . . . . . . . . .
UserDataQosPolicy . . . . . . . . . . . .
WireProtocolQosPolicy . . . . . . . . .
WriterDataLifecycleQosPolicy . . . . . .
QosPolicyCount . . . . . . . . . . . . . . .
QosPolicyCountSeq . . . . . . . . . . . . .
ReliableReaderActivityChangedStatus . . .
ReliableWriterCacheChangedStatus . . . .
ReliableWriterCacheEventCount . . . . . .
RequestedDeadlineMissedStatus . . . . . .
RequestedIncompatibleQosStatus . . . . . .
RETCODE ERROR . . . . . . . . . . . . .
RETCODE ALREADY DELETED . .
RETCODE BAD PARAMETER . . . .
RETCODE ILLEGAL OPERATION .
RETCODE IMMUTABLE POLICY . .
RETCODE INCONSISTENT POLICY
RETCODE NO DATA . . . . . . . . .
RETCODE NOT ENABLED . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1128
1140
1157
1169
1187
1199
1209
1217
1221
1231
1236
1295
1315
1318
1324
1348
1523
1541
1559
1580
1587
1590
1598
1600
1605
1661
1666
1694
1723
1738
1302
1304
1333
1336
1340
1344
1346
1356
1354
1355
1357
1358
1359
1360
1361
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
19
20
Class Index
ContentFilteredTopic . . . . . . . .
MultiTopic . . . . . . . . . . . . . .
Topic . . . . . . . . . . . . . . . . .
Transport . . . . . . . . . . . . . . . . .
ShmemTransport . . . . . . . . . . .
UDPv4Transport . . . . . . . . . . .
UDPv6Transport . . . . . . . . . . .
Transport.Property t . . . . . . . . . . .
ShmemTransport.Property t . . . .
UDPv4Transport.Property t . . . .
UDPv6Transport.Property t . . . .
TransportBuiltinKind . . . . . . . . . .
TransportMulticastMapping t . . . . . .
TransportMulticastMappingFunction t .
TransportMulticastMappingSeq . . . . .
TransportMulticastSettings t . . . . . .
TransportMulticastSettingsSeq . . . . .
TransportSupport . . . . . . . . . . . .
TransportUnicastSettings t . . . . . . .
TransportUnicastSettingsSeq . . . . . .
TypeCode . . . . . . . . . . . . . . . . .
TypeCodeFactory . . . . . . . . . . . .
TypeSupport . . . . . . . . . . . . . . .
DynamicDataTypeSupport . . . . .
BytesTypeSupport . . . . . . . . . .
KeyedBytesTypeSupport . . . . . .
KeyedStringTypeSupport . . . . . .
StringTypeSupport . . . . . . . . . .
Union . . . . . . . . . . . . . . . . . . .
UnionMember . . . . . . . . . . . . . .
UserException . . . . . . . . . . . . . .
BadKind . . . . . . . . . . . . . . .
BadMemberId . . . . . . . . . . . .
BadMemberName . . . . . . . . . .
Bounds . . . . . . . . . . . . . . . .
ValueMember . . . . . . . . . . . . . . .
VendorId t . . . . . . . . . . . . . . . .
Version . . . . . . . . . . . . . . . . . .
ViewStateKind . . . . . . . . . . . . . .
VM ABSTRACT . . . . . . . . . . . . .
VM CUSTOM . . . . . . . . . . . . . .
VM NONE . . . . . . . . . . . . . . . .
VM TRUNCATABLE . . . . . . . . . .
WaitSet . . . . . . . . . . . . . . . . . .
WaitSetProperty t . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
471
1190
1545
1569
1435
1668
1680
1570
1439
1672
1684
1578
1582
1585
1589
1594
1597
1602
1608
1610
1611
1647
1665
901
450
1094
1120
1470
1691
1692
1696
409
410
411
423
1697
1699
1701
1703
1705
1706
1707
1708
1709
1719
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 5
Class Index
5.1
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
AbstractBuiltinTopicDataTypeSupport . . . . . . . . . . . . . . 383
AbstractPrimitiveSequence . . . . . . . . . . . . . . . . . . . . . 385
AbstractSequence (Abstract sequence ) . . . . . . . . . . . . . . . . 390
AcknowledgmentInfo (Information about an application-level acknowledged sample ) . . . . . . . . . . . . . . . . . . . . . . . 393
AckResponseData t (Data payload of an application-level acknowledgment ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
AllocationSettings t (Resource allocation settings ) . . . . . . . . . 395
AsynchronousPublisherQosPolicy (Configures the mechanism
that sends user data in an external middleware thread ) . . . 397
AvailabilityQosPolicy (Configures the availability of data ) . . . . . 402
BAD PARAM (The exception BadKind (p. 409) is thrown when
an inappropriate operation is invoked on a TypeCode object ) 407
BAD TYPECODE (The exception BadKind (p. 409) is thrown
when an inappropriate operation is invoked on a TypeCode
object ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
BadKind (The exception BadKind (p. 409) is thrown when an inappropriate operation is invoked on a TypeCode object ) . . . . 409
BadMemberId (The specified com.rti.dds.typecode.TypeCode
(p. 1611) member ID is invalid ) . . . . . . . . . . . . . . . . . 410
BadMemberName (The specified com.rti.dds.typecode.TypeCode
(p. 1611) member name is invalid ) . . . . . . . . . . . . . . . 411
BatchQosPolicy (Used to configure batching of multiple samples into
a single network packet in order to increase throughput for
small samples ) . . . . . . . . . . . . . . . . . . . . . . . . . . 412
22
Class Index
BooleanSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< boolean > ) . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Bounds (A user exception thrown when a parameter is not within the
legal bounds ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
BuiltinTopicKey t (The key type of the built-in topic (p. 359) types )424
BuiltinTopicReaderResourceLimits t (Built-in topic (p. 359)
readers resource limits ) . . . . . . . . . . . . . . . . . . . . . 426
Bytes (Built-in type consisting of a variable-length array of opaque
bytes ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
BytesDataReader
(<<interface>>
Instantiates
DataReader
<
( p. 279)
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes
>
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
BytesDataWriter
(<<interface>>
( p. 279)
Instantiates
DataWriter
<
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes
>
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
ByteSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< byte > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
BytesSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes > ) . 447
BytesTypeSupport
(<<interface>>
( p. 279)
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes type
support ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
ChannelSettings t (Type used to configure the properties of a channel ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
ChannelSettingsSeq
(Declares
IDL
sequence<
com.rti.dds.infrastructure.ChannelSettings t (p. 454)
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
CharSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< char > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
Condition
(<<interface>>
( p. 279)
Root
class
for
all the conditions that may be attached to a
com.rti.dds.infrastructure.WaitSet (p. 1709) ) . . . . . . 464
ConditionSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.Condition (p. 464) > ) . . . 465
ContentFilter
(<<interface>>
( p. 279)
Interface to be used by a custom filter of a
com.rti.dds.topic.ContentFilteredTopic (p. 471) ) . . . . 467
ContentFilteredTopic (<<interface>> ( p. 279) Specialization of
com.rti.dds.topic.TopicDescription (p. 1561) that allows
for content-based subscriptions ) . . . . . . . . . . . . . . . . 471
ContentFilterProperty t (<<eXtension>> ( p. 278) Type used
to provide all the required information to enable content filtering ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
23
24
Class Index
DataWriterCacheStatus (<<eXtension>> ( p. 278) The status of
the writers cache ) . . . . . . . . . . . . . . . . . . . . . . . .
DataWriterListener
(<<interface>>
( p. 279)
com.rti.dds.infrastructure.Listener (p. 1130) for writer
status ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DataWriterProtocolQosPolicy (Protocol that applies only to
com.rti.dds.publication.DataWriter (p. 557) instances ) .
DataWriterProtocolStatus (<<eXtension>> ( p. 278) The status of a writers internal protocol related metrics, like the
number of samples pushed, pulled, filtered; and status of wire
protocol traffic ) . . . . . . . . . . . . . . . . . . . . . . . . .
DataWriterQos
(QoS
policies
supported
by
a
com.rti.dds.publication.DataWriter
(p. 557)
entity
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DataWriterResourceLimitsInstanceReplacementKind
(Sets
the kinds of instances that can be replaced when instance
resource limits are reached ) . . . . . . . . . . . . . . . . . . .
DataWriterResourceLimitsQosPolicy (Various settings that configure how a com.rti.dds.publication.DataWriter (p. 557)
allocates and uses physical memory for internal resources ) .
DeadlineQosPolicy (Expresses the maximum duration (deadline)
within which an instance is expected to be updated ) . . . . .
DestinationOrderQosPolicy
(Controls
how
the
middleware will deal with data sent by multiple
com.rti.dds.publication.DataWriter
(p. 557)
entities for the same instance of data (i.e., same
com.rti.dds.topic.Topic (p. 1545) and key) ) . . . . . . . .
DestinationOrderQosPolicyKind (Kinds of destination order ) . .
DiscoveryBuiltinReaderFragmentationResourceLimits t . . .
DiscoveryConfigBuiltinPluginKind (Built-in discovery plugins
that can be used ) . . . . . . . . . . . . . . . . . . . . . . . .
DiscoveryConfigQosPolicy (Settings for discovery configuration ) .
DiscoveryPluginPromiscuityKind (<<eXtension>> ( p. 278)
Type used to indicate promiscuity mode of the discovery plugin ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DiscoveryQosPolicy (Configures the mechanism used by the middleware to automatically discover and connect with new remote
applications ) . . . . . . . . . . . . . . . . . . . . . . . . . . .
DomainEntity
(<<interface>>
( p. 279)
Abstract
base class for all DDS entities except for the
com.rti.dds.domain.DomainParticipant (p. 654) ) . . . .
DomainParticipant (<<interface>> ( p. 279) Container for all
com.rti.dds.infrastructure.DomainEntity (p. 653) objects ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
585
586
592
598
610
617
621
628
631
634
636
638
639
648
649
653
654
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
25
DomainParticipantAdapter (<<eXtension>> ( p. 278) A listener adapter in the spirit of the Java AWT listener adapters.
(The Adapter provides empty implementations for the listener
methods) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
DomainParticipantFactory
(<<singleton>>
( p. 279)
<<interface>> ( p. 279) Allows creation and destruction of com.rti.dds.domain.DomainParticipant (p. 654)
objects ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
DomainParticipantFactoryQos (QoS policies supported by
a
com.rti.dds.domain.DomainParticipantFactory
(p. 742) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769
DomainParticipantListener (<<interface>> ( p. 279) Listener
for participant status ) . . . . . . . . . . . . . . . . . . . . . . 771
DomainParticipantQos
(QoS
policies
supported
by
a
com.rti.dds.domain.DomainParticipant (p. 654) entity ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773
DomainParticipantResourceLimitsQosPolicy
(Various
settings
that
configure
how
a
com.rti.dds.domain.DomainParticipant (p. 654) allocates and uses physical memory for internal resources,
including the maximum sizes of various properties ) . . . . . 778
DoubleSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< double > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 796
DurabilityQosPolicy (This QoS policy specifies whether or not
RTI Connext will store and deliver previously published data
samples to new com.rti.dds.subscription.DataReader
(p. 487) entities that join the network later ) . . . . . . . . . . 802
DurabilityQosPolicyKind (Kinds of durability ) . . . . . . . . . . . 807
DurabilityServiceQosPolicy
(Various
settings
to
configure
the
external
RTI
Persistence
Service
used by RTI Connext for DataWriters with a
com.rti.dds.infrastructure.DurabilityQosPolicy
(p. 802) setting of com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSIST
DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TR
DURABILITY QOS ) . . . . . . . . . . . . . . . . . . . . . . 810
Duration t (Type for duration representation ) . . . . . . . . . . . . 813
DynamicData (A sample of any complex data type, which can be
inspected and manipulated reflectively ) . . . . . . . . . . . . 817
DynamicDataInfo
(A
descriptor
for
a
com.rti.dds.dynamicdata.DynamicData (p. 817) object ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
DynamicDataMemberInfo (A descriptor for a single member (i.e.
field) of dynamically defined data type ) . . . . . . . . . . . . 887
DynamicDataProperty t (A collection of attributes used to configure com.rti.dds.dynamicdata.DynamicData (p. 817) objects ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
26
Class Index
DynamicDataReader (Reads (subscribes to) objects of type
com.rti.dds.dynamicdata.DynamicData (p. 817) ) . . . . 892
DynamicDataSeq
(An
ordered
collection
of
com.rti.dds.dynamicdata.DynamicData (p. 817) elements ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 895
DynamicDataTypeProperty t (A collection of attributes used
to configure com.rti.dds.dynamicdata.DynamicData
(p. 817) objects ) . . . . . . . . . . . . . . . . . . . . . . . . . 897
DynamicDataTypeSerializationProperty t (Properties that govern how data of a certain type will be serialized on the network
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 899
DynamicDataTypeSupport
(A
factory
for
registering
a
dynamically
defined
type
and
creating
com.rti.dds.dynamicdata.DynamicData (p. 817) objects ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 901
DynamicDataWriter (Writes (publishes) objects of type
com.rti.dds.dynamicdata.DynamicData (p. 817) ) . . . . 907
EndpointGroup t (Specifies a group of endpoints that can be collectively identified by a name and satisfied by a quorum ) . . . . 928
EndpointGroupSeq
(A
sequence
of
com.rti.dds.infrastructure.EndpointGroup t (p. 928) ) . 930
Entity (<<interface>> ( p. 279) Abstract base class for all the DDS
objects that support QoS policies, a listener, and a status
condition ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 931
EntityFactoryQosPolicy
(A
QoS
policy
for
all
com.rti.dds.infrastructure.Entity
(p. 931)
types
that can act as factories for one or more other
com.rti.dds.infrastructure.Entity (p. 931) types ) . . . . . 938
EntityHowTo.MyEntityListener . . . . . . . . . . . . . . . . . . . 941
EntityNameQosPolicy (Assigns a name and a role name to
a
com.rti.dds.domain.DomainParticipant
(p. 654),
com.rti.dds.publication.DataWriter
(p. 557)
or
com.rti.dds.subscription.DataReader (p. 487). These
names will be visible during the discovery process and in RTI
tools to help you visualize and debug your system ) . . . . . . 942
Enum (A superclass for all type-safe enumerated types ) . . . . . . . 944
EnumMember (A description of a member of an enumeration ) . . . 947
EventQosPolicy (Settings for event ) . . . . . . . . . . . . . . . . . . 949
ExclusiveAreaQosPolicy (Configures multi-thread concurrency and
deadlock prevention capabilities ) . . . . . . . . . . . . . . . . 952
ExpressionProperty . . . . . . . . . . . . . . . . . . . . . . . . . . 955
ExtensibilityKind (Type to indicate the extensibility of a type ) . . 956
FilterSampleInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . 957
FloatSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< float > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 958
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
27
28
Class Index
InstanceHandleSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
<
com.rti.dds.infrastructure.InstanceHandle t
(p. 1055) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1058
InstanceStateKind (Indicates is the samples are from a live
com.rti.dds.publication.DataWriter (p. 557) or not ) . . 1061
IntSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.int > ) . . . . . . . . . . . . . . . 1064
KeyedBytes (Built-in type consisting of a variable-length array of
opaque bytes and a string that is the key ) . . . . . . . . . . . 1070
KeyedBytesDataReader
(<<interface>>
( p. 279)
Instantiates
DataReader
<
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073
KeyedBytesDataWriter
(<<interface>>
( p. 279)
Instantiates
DataWriter
<
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1081
KeyedBytesSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1091
KeyedBytesTypeSupport
(<<interface>>
( p. 279)
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes
type support ) . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
KeyedString (Keyed string built-in type ) . . . . . . . . . . . . . . . 1098
KeyedStringDataReader
(<<interface>>
( p. 279)
Instantiates
DataReader
<
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1101
KeyedStringDataWriter
(<<interface>>
( p. 279)
Instantiates
DataWriter
<
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1109
KeyedStringSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
KeyedStringTypeSupport (<<interface>> ( p. 279) Keyed
string type support ) . . . . . . . . . . . . . . . . . . . . . . . 1120
LatencyBudgetQosPolicy (Provides a hint as to the maximum acceptable delay from the time the data is written to the time
it is received by the subscribing applications ) . . . . . . . . . 1124
LibraryVersion t (The version of a single library shipped as part of
an RTI Connext distribution ) . . . . . . . . . . . . . . . . . 1126
LifespanQosPolicy (Specifies how long the data written by the
com.rti.dds.publication.DataWriter (p. 557) is considered valid ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1128
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
29
Listener (<<interface>> ( p. 279) Abstract base class for all Listener (p. 1130) interfaces ) . . . . . . . . . . . . . . . . . . . 1130
LivelinessChangedStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS CHANGED STATUS ) . . . . . . . . . . . . . . . . . . . . . . 1135
LivelinessLostStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS LOST STATUS ) . . . . . . . . . . . . . . . . . . . . . . . . . 1138
LivelinessQosPolicy (Specifies and configures the mechanism that
allows com.rti.dds.subscription.DataReader (p. 487) entities to detect when com.rti.dds.publication.DataWriter
(p. 557) entities become disconnected or dead. ) . . . . . . . 1140
LivelinessQosPolicyKind (Kinds of liveliness ) . . . . . . . . . . . . 1144
LoanableSequence (A sequence capable of storing its elements directly or taking out a loan on them from an internal middleware store ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1146
Locator t (<<eXtension>> ( p. 278) Type used to represent the
addressing information needed to send a message to an RTPS
Endpoint using one of the supported transports ) . . . . . . . 1150
LocatorFilter t (Specifies the configuration of an individual channel
within a MultiChannel DataWriter ) . . . . . . . . . . . . . . 1154
LocatorFilterQosPolicy (The QoS policy used to report the
configuration of a MultiChannel DataWriter as part of
builtin.PublicationBuiltinTopicData ) . . . . . . . . . . . . . 1157
LocatorFilterSeq
(Declares
IDL
sequence<
com.rti.dds.infrastructure.LocatorFilter t
(p. 1154)
> ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1159
LocatorSeq
(Declares
IDL
sequence
<
com.rti.dds.infrastructure.Locator t (p. 1150) > ) . . . . 1160
LogCategory (Categories of logged messages ) . . . . . . . . . . . . . 1161
Logger (<<interface>> ( p. 279) The singleton type used to configure RTI Connext logging ) . . . . . . . . . . . . . . . . . . . . 1163
LoggerDevice (<<interface>> ( p. 279) Logging device interface.
Use for user-defined logging devices ) . . . . . . . . . . . . . . 1167
LoggingQosPolicy (Configures the RTI Connext logging facility ) . 1169
LogLevel (Level category assigned to RTI Connext log messages returned to an output device ) . . . . . . . . . . . . . . . . . . . 1171
LogMessage (Log message ) . . . . . . . . . . . . . . . . . . . . . . . 1173
LogPrintFormat (The format used to output RTI Connext diagnostic information ) . . . . . . . . . . . . . . . . . . . . . . . . . 1174
LogVerbosity (The verbosities at which RTI Connext diagnostic information is logged ) . . . . . . . . . . . . . . . . . . . . . . . 1177
LongDoubleSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.LongDouble > ) . . . . . . . . . 1179
LongSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< long > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
30
Class Index
MultiChannelQosPolicy (Configures the ability of a DataWriter to
send data on different multicast groups (addresses) based on
the value of the data ) . . . . . . . . . . . . . . . . . . . . . . 1187
MultiTopic
([Not
supported
(optional)]
<<interface>>
( p. 279)
A
specialization
of
that
com.rti.dds.topic.TopicDescription
(p. 1561)
allows subscriptions that combine/filter/rearrange data
coming from several topics ) . . . . . . . . . . . . . . . . . . . 1190
ObjectHolder (<<eXtension>> ( p. 278) Holder of object instance )1194
OfferedDeadlineMissedStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED DEADLINE MISSED STATUS ) . . . . . . . . . . . . . . . . 1195
OfferedIncompatibleQosStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED INCOMPATIBLE QOS STATUS ) . . . . . . . . . . . . . . . 1197
OwnershipQosPolicy (Specifies whether it is allowed for multiple
com.rti.dds.publication.DataWriter (p. 557) (s) to write
the same instance of the data and if so, how these modifications should be arbitrated ) . . . . . . . . . . . . . . . . . . . 1199
OwnershipQosPolicyKind (Kinds of ownership ) . . . . . . . . . . 1207
OwnershipStrengthQosPolicy
(Specifies
the
value
of
the strength used to arbitrate among multiple
com.rti.dds.publication.DataWriter (p. 557) objects
that attempt to modify the same instance of a data type
(identified by com.rti.dds.topic.Topic (p. 1545) + key) ) . 1209
ParticipantBuiltinTopicData (Entry created when a DomainParticipant (p. 654) object is discovered ) . . . . . . . . . . . . . 1211
ParticipantBuiltinTopicDataDataReader
(Instantiates
DataReader < builtin.ParticipantBuiltinTopicData
(p. 1211) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1214
ParticipantBuiltinTopicDataSeq
(Instantiates
com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< builtin.ParticipantBuiltinTopicData (p. 1211) > ) . . 1215
ParticipantBuiltinTopicDataTypeSupport
(Instantiates
TypeSupport < builtin.ParticipantBuiltinTopicData
(p. 1211) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1216
PartitionQosPolicy (Set of strings that introduces a
logical partition among the topics visible by a
com.rti.dds.publication.Publisher (p. 1262) and a
com.rti.dds.subscription.Subscriber (p. 1476) ) . . . . . . 1217
PresentationQosPolicy (Specifies how the samples representing
changes to data instances are presented to a subscribing application ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1221
PresentationQosPolicyAccessScopeKind (Kinds of presentation
access scope ) . . . . . . . . . . . . . . . . . . . . . . . . . . 1226
PRIVATE MEMBER (Constant used to indicate that a value type
member is private ) . . . . . . . . . . . . . . . . . . . . . . . . 1228
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
31
ProductVersion t (<<eXtension>> ( p. 278) Type used to represent the current version of RTI Connext ) . . . . . . . . . . . 1229
ProfileQosPolicy (Configures the way that XML documents containing QoS profiles are loaded by RTI Connext ) . . . . . . . . . 1231
Property t (Properties are name/value pairs objects ) . . . . . . . . 1234
PropertyQosPolicy (Stores name/value(string) pairs that can be
used to configure certain parameters of RTI Connext that are
not exposed through formal QoS policies. Can also be used
to store and propagate application-specific name/value pairs
that can be retrieved by user code during discovery ) . . . . . 1236
PropertyQosPolicyHelper (Policy Helpers which facilitate management of the properties in the input policy ) . . . . . . . . . . 1239
PropertySeq
(Declares
IDL
sequence
<
com.rti.dds.infrastructure.Property t
(p. 1234)
>
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1244
ProtocolVersion t (<<eXtension>> ( p. 278) Type used to represent the version of the RTPS protocol ) . . . . . . . . . . . . 1245
PUBLIC MEMBER (Constant used to indicate that a value type
member is public ) . . . . . . . . . . . . . . . . . . . . . . . . 1248
PublicationBuiltinTopicData
(Entry
created
when
a
com.rti.dds.publication.DataWriter (p. 557) is discovered in association with its Publisher (p. 1262) ) . . . . . 1249
PublicationBuiltinTopicDataDataReader
(Instantiates
DataReader < builtin.PublicationBuiltinTopicData
(p. 1249) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1256
PublicationBuiltinTopicDataSeq
(Instantiates
com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< builtin.PublicationBuiltinTopicData (p. 1249) > ) . . 1257
PublicationBuiltinTopicDataTypeSupport
(Instantiates
TypeSupport < builtin.PublicationBuiltinTopicData
(p. 1249) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1258
PublicationMatchedStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.PUBLICATION MATCHED STATUS ) . . . . . . . . . . . . . . . . . . . . . . 1259
Publisher (<<interface>> ( p. 279) A publisher is the object responsible for the actual dissemination of publications ) . . . . 1262
PublisherAdapter (<<eXtension>> ( p. 278) A listener adapter in
the spirit of the Java AWT listener adapters. (The Adapter
provides empty implementations for the listener methods) ) . 1288
PublisherListener
(<<interface>>
( p. 279)
com.rti.dds.infrastructure.Listener
(p. 1130)
for
com.rti.dds.publication.Publisher
(p. 1262)
status
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1289
PublisherQos
(QoS
policies
supported
by
a
com.rti.dds.publication.Publisher
(p. 1262)
entity
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1290
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
32
Class Index
PublisherSeq
(Declares
IDL
sequence
<
com.rti.dds.publication.Publisher (p. 1262) > ) . . . . . .
PublishModeQosPolicy (Specifies how RTI Connext sends application data on the network. This QoS policy can be used to tell
RTI Connext to use its own thread to send data, instead of
the user thread ) . . . . . . . . . . . . . . . . . . . . . . . . .
PublishModeQosPolicyKind (Kinds of publishing mode ) . . . . .
Qos (An abstract base class for all QoS types ) . . . . . . . . . . . . .
QosPolicy (The base class for all QoS policies ) . . . . . . . . . . . .
QosPolicyCount
(Type
to
hold
a
counter
for
a
(p. 1305)
com.rti.dds.infrastructure.QosPolicyId t
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
QosPolicyCountSeq
(Declares
IDL
sequence
<
com.rti.dds.infrastructure.QosPolicyCount (p. 1302) > )
QosPolicyId t (Type to identify QosPolicies ) . . . . . . . . . . . .
QueryCondition (<<interface>> ( p. 279) These are specialised
com.rti.dds.subscription.ReadCondition (p. 1313) objects that allow the application to also specify a filter on the
locally available data ) . . . . . . . . . . . . . . . . . . . . . .
ReadCondition (<<interface>> ( p. 279) Conditions specifically dedicated to read operations and attached to one
com.rti.dds.subscription.DataReader (p. 487) ) . . . . .
ReaderDataLifecycleQosPolicy (Controls how a DataReader manages the lifecycle of the data that it has received ) . . . . . .
ReceiverPoolQosPolicy (Configures threads used by RTI Connext
to receive and process data from transports (for example,
UDP sockets) ) . . . . . . . . . . . . . . . . . . . . . . . . . .
RefilterQosPolicyKind (<<eXtension>> ( p. 278) Kinds of Refiltering ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ReliabilityQosPolicy (Indicates the level of reliability offered/requested by RTI Connext ) . . . . . . . . . . . . . . .
ReliabilityQosPolicyAcknowledgmentModeKind (Kinds of acknowledgment ) . . . . . . . . . . . . . . . . . . . . . . . . . .
ReliabilityQosPolicyKind (Kinds of reliability ) . . . . . . . . . . .
ReliableReaderActivityChangedStatus
(<<eXtension>>
( p. 278) Describes the activity (i.e. are acknowledgements
forthcoming) of reliable readers matched to a reliable writer )
ReliableWriterCacheChangedStatus
(<<eXtension>>
( p. 278) A summary of the state of a data writers cache of
unacknowledged samples written ) . . . . . . . . . . . . . . .
ReliableWriterCacheEventCount (<<eXtension>> ( p. 278)
The number of times the number of unacknowledged samples in the cache of a reliable writer hit a certain well-defined
threshold ) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1293
1295
1298
1300
1301
1302
1304
1305
1311
1313
1315
1318
1322
1324
1329
1331
1333
1336
1340
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
33
34
Class Index
SampleInfoSeq
(Declares
IDL
sequence
<
com.rti.dds.subscription.SampleInfo (p. 1398) > ) . . . . 1409
SampleLostStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE LOST STATUS STATUS ) . . . . . . . . . . . . . . . . . . . 1410
SampleLostStatusKind (Kinds of reasons why a sample was lost ) . 1412
SampleRejectedStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE REJECTED STATUS ) . . . . . . . . . . . . . . . . . . . . . 1418
SampleRejectedStatusKind (Kinds of reasons for rejecting a sample ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1420
SampleStateKind (Indicates whether or not a sample has ever been
read ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1426
Sequence (<<interface>> ( p. 279) <<generic>> ( p. 279) A
type-safe, ordered collection of elements.
The type of
these elements is referred to in this documentation as
com.rti.ndds.example.Foo (p. 977) ) . . . . . . . . . . . . 1428
SequenceNumber t (Type for sequence number representation ) . . 1431
ShmemTransport (Built-in transport (p. 376) plug-in for interprocess communications using shared memory ) . . . . . . . . 1435
ShmemTransport.Property t
(Subclass
of
com.rti.ndds.transport.Transport.Property t (p. 1570)
allowing specification of parameters that are specific to the
shared-memory transport (p. 376) ) . . . . . . . . . . . . . . 1439
ShortSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< short > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1442
StatusCondition
(<<interface>>
( p. 279)
A
specific
com.rti.dds.infrastructure.Condition
(p. 464)
that
is associated with each com.rti.dds.infrastructure.Entity
(p. 931) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1448
StatusKind (Type for status kinds ) . . . . . . . . . . . . . . . . . . 1451
StringDataReader
(<<interface>>
( p. 279)
Instantiates
DataReader < com.rti.dds.infrastructure.String > ) . . . . . . 1462
StringDataWriter
(<<interface>>
( p. 279)
Instantiates
DataWriter < com.rti.dds.infrastructure.String > ) . . . . . . 1465
StringSeq
(Declares
IDL
sequence
<
com.rti.dds.infrastructure.String > ) . . . . . . . . . . . . . . 1467
StringTypeSupport (<<interface>> ( p. 279) String type support )1470
StructMember (A description of a member of a struct ) . . . . . . . 1474
Subscriber (<<interface>> ( p. 279) A subscriber is the object responsible for actually receiving data from a subscription
(p. 353) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1476
SubscriberAdapter (A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods) ) . . . . . . . . . . . . . . . . . 1502
SubscriberListener
(<<interface>>
( p. 279)
com.rti.dds.infrastructure.Listener (p. 1130) for status about a subscriber ) . . . . . . . . . . . . . . . . . . . . . 1503
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
35
SubscriberQos
(QoS
policies
supported
by
a
com.rti.dds.subscription.Subscriber (p. 1476) entity
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1505
SubscriberSeq
(Declares
IDL
sequence
<
com.rti.dds.subscription.Subscriber (p. 1476) > ) . . . . 1507
SubscriptionBuiltinTopicData
(Entry
created
when
a
com.rti.dds.subscription.DataReader (p. 487) is discovered in association with its Subscriber (p. 1476) ) . . . . 1509
SubscriptionBuiltinTopicDataDataReader
<
(Instantiates
DataReader (p. 487)
builtin.SubscriptionBuiltinTopicData
(p. 1509)
>
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1516
SubscriptionBuiltinTopicDataSeq
(Instantiates
com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< builtin.SubscriptionBuiltinTopicData (p. 1509) > ) . . 1517
SubscriptionBuiltinTopicDataTypeSupport
(Instantiates
TypeSupport < builtin.SubscriptionBuiltinTopicData
(p. 1509) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1518
SubscriptionMatchedStatus (Com.rti.dds.infrastructure.StatusKind.StatusKind.SUBSCRIPTION MATCHED STATUS ) . . . . . . . . . . . . . . . . . . . . . . 1519
SystemException (System exception ) . . . . . . . . . . . . . . . . . 1522
SystemResourceLimitsQosPolicy
(Configures
com.rti.dds.domain.DomainParticipant
(p. 654)independent
resources
used
by
RTI
Connext.
Mainly used to change the maximum number of
com.rti.dds.domain.DomainParticipant (p. 654) entities that can be created within a single process (address
space) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1523
TCKind (Enumeration type for com.rti.dds.typecode.TypeCode
(p. 1611) kinds ) . . . . . . . . . . . . . . . . . . . . . . . . . 1525
ThreadSettings t (The properties of a thread of execution ) . . . . . 1530
ThreadSettingsCpuRotationKind
(Determines
how
com.rti.dds.infrastructure.ThreadSettings t.cpu list (p. 1531) affects processor affinity for thread-related QoS
policies that apply to multiple threads ) . . . . . . . . . . . . 1533
ThreadSettingsKind (A collection of flags used to configure threads
of execution ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1535
Time t (Type for time representation ) . . . . . . . . . . . . . . . . . 1537
TimeBasedFilterQosPolicy
(Filter
that
allows
a
com.rti.dds.subscription.DataReader (p. 487) to specify
that it is interested only in (potentially) a subset of the values
of the data ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1541
Topic (<<interface>> ( p. 279) The most basic description of the
data to be published and subscribed ) . . . . . . . . . . . . . 1545
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
36
Class Index
TopicAdapter (<<eXtension>> ( p. 278) A listener adapter in the
spirit of the Java AWT listener adapters. (The Adapter provides empty implementations for the listener methods) ) . . . 1550
TopicBuiltinTopicData (Entry created when a Topic (p. 1545) object discovered ) . . . . . . . . . . . . . . . . . . . . . . . . . 1552
TopicBuiltinTopicDataDataReader (Instantiates DataReader <
builtin.TopicBuiltinTopicData (p. 1552) > ) . . . . . . . . 1556
TopicBuiltinTopicDataSeq
(Instantiates
com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< builtin.TopicBuiltinTopicData (p. 1552) > ) . . . . . . 1557
TopicBuiltinTopicDataTypeSupport (Instantiates TypeSupport
(p. 1665) < builtin.TopicBuiltinTopicData (p. 1552) > ) 1558
TopicDataQosPolicy (Attaches a buffer of opaque data that is distributed by means of Built-in Topics (p. 157) during discovery ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1559
TopicDescription (Com.rti.dds.topic.Topic entity and associated elements ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1561
TopicListener
(<<interface>>
( p. 279)
com.rti.dds.infrastructure.Listener
(p. 1130)
for
com.rti.dds.topic.Topic (p. 1545) entities ) . . . . . . . . . 1564
TopicQos (QoS policies supported by a com.rti.dds.topic.Topic
(p. 1545) entity ) . . . . . . . . . . . . . . . . . . . . . . . . . 1566
Transport (RTI Connexts abstract pluggable transport (p. 376) interface ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1569
Transport.Property t (Base structure that must be inherited by
derived Transport (p. 1569) Plugin classes ) . . . . . . . . . 1570
TransportBuiltinKind (Built-in transport kind ) . . . . . . . . . . . 1578
TransportBuiltinQosPolicy (Specifies which built-in transports are
used ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1580
TransportMulticastMapping t (Type representing a list of multicast mapping elements ) . . . . . . . . . . . . . . . . . . . . . 1582
TransportMulticastMappingFunction t (Type representing an
external mapping function ) . . . . . . . . . . . . . . . . . . . 1585
TransportMulticastMappingQosPolicy (Specifies the multicast
address on which a com.rti.dds.subscription.DataReader
(p. 487) wants to receive its data.
It can also specify a port number as well as a subset of the available
(at the com.rti.dds.domain.DomainParticipant (p. 654)
level) transports with which to receive the multicast data ) . 1587
TransportMulticastMappingSeq (Declares IDL sequence<
com.rti.dds.infrastructure.TransportMulticastSettings t (p. 1594) > ) . . . . . . . . . . . . . . . . . . . . . . . . . . 1589
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
37
1590
1593
1594
1597
1598
1600
1602
1605
1608
1610
1611
1647
1661
1663
1665
38
Class Index
TypeSupportQosPolicy (Allows you to attach application-specific
values to a DataWriter or DataReader that are passed to the
serialization or deserialization routine of the associated data
type ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1666
UDPv4Transport (Built-in transport (p. 376) plug-in using
UDP/IPv4 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1668
UDPv4Transport.Property t (Configurable IPv4/UDP TransportPlugin properties ) . . . . . . . . . . . . . . . . . . . . . . . . 1672
UDPv6Transport (Built-in transport (p. 376) plug-in using
UDP/IPv6 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1680
UDPv6Transport.Property t (Configurable IPv6/UDP TransportPlugin properties ) . . . . . . . . . . . . . . . . . . . . . . . . 1684
Union . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1691
UnionMember (A description of a member of a union ) . . . . . . . 1692
UserDataQosPolicy (Attaches a buffer of opaque data that is distributed by means of Built-in Topics (p. 157) during discovery ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1694
UserException (User exception ) . . . . . . . . . . . . . . . . . . . . 1696
ValueMember (A description of a member of a value type ) . . . . . 1697
VendorId t (<<eXtension>> ( p. 278) Type used to represent the
vendor of the service implementing the RTPS protocol ) . . . 1699
Version (<<interface>> ( p. 279) The version of an RTI Connext
distribution ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1701
ViewStateKind (Indicates whether or not an instance is new ) . . . 1703
VM ABSTRACT (Constant used to indicate that a value type has
the abstract modifier ) . . . . . . . . . . . . . . . . . . . . . 1705
VM CUSTOM (Constant used to indicate that a value type has the
custom modifier ) . . . . . . . . . . . . . . . . . . . . . . . . . 1706
VM NONE (Constant used to indicate that a value type has no modifiers ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1707
VM TRUNCATABLE (Constant used to indicate that a value type
has the truncatable modifier ) . . . . . . . . . . . . . . . . . 1708
WaitSet
(<<interface>> ( p. 279)
Allows
an
application to wait until one or more of the attached
com.rti.dds.infrastructure.Condition (p. 464) objects
has a trigger value of com.rti.dds.infrastructure.true or
else until the timeout expires ) . . . . . . . . . . . . . . . . . 1709
WaitSetProperty t (<<eXtension>> ( p. 278) Specifies the
com.rti.dds.infrastructure.WaitSet (p. 1709) behavior for
multiple trigger events ) . . . . . . . . . . . . . . . . . . . . . 1719
WcharSeq (Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.char > ) . . . . . . . . . . . . . . 1721
WireProtocolQosPolicy (Specifies the wire-protocol-related attributes for the com.rti.dds.domain.DomainParticipant
(p. 654) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1723
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
39
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
40
Class Index
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 6
Module Documentation
6.1
ASYNCHRONOUS PUBLISHER
Classes
class AsynchronousPublisherQosPolicy
Configures the mechanism that sends user data in an external middleware
thread.
Variables
static final QosPolicyId t ASYNCHRONOUSPUBLISHER QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.AsynchronousPublisherQosPolicy
( p. 397)
6.1.1
for
Detailed Description
42
Module Documentation
6.1.2
Variable Documentation
6.1.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.2 AVAILABILITY
6.2
43
AVAILABILITY
Classes
class AvailabilityQosPolicy
Configures the availability of data.
class EndpointGroup t
Specifies a group of endpoints that can be collectively identified by a name
and satisfied by a quorum.
class EndpointGroupSeq
A sequence of com.rti.dds.infrastructure.EndpointGroup t ( p. 928).
Variables
static final QosPolicyId t AVAILABILITY QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.AvailabilityQosPolicy ( p. 402)
6.2.1
for
Detailed Description
6.2.2
Variable Documentation
6.2.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
44
Module Documentation
6.3
BATCH
Classes
class BatchQosPolicy
Used to configure batching of multiple samples into a single network packet
in order to increase throughput for small samples.
Variables
static final QosPolicyId t BATCH QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.BatchQosPolicy ( p. 412)
6.3.1
for
Detailed Description
6.3.2
Variable Documentation
6.3.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.4
45
com.rti.dds.infrastructure.Condition
(p. 464)
com.rti.dds.infrastructure.WaitSet (p. 1709) and related items.
and
Classes
interface Condition
<<interface>> (p. 279) Root class for all the conditions that may be attached to a com.rti.dds.infrastructure.WaitSet ( p. 1709).
class ConditionSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.Condition ( p. 464) >.
class GuardCondition
<<interface>> (p. 279) A specific com.rti.dds.infrastructure.Condition
( p. 464) whose trigger value is completely under the control of the application.
interface StatusCondition
<<interface>> (p. 279) A specific com.rti.dds.infrastructure.Condition
( p. 464) that is associated with each com.rti.dds.infrastructure.Entity
( p. 931).
class WaitSet
<<interface>> (p. 279) Allows an application to wait until one or more
of the attached com.rti.dds.infrastructure.Condition ( p. 464) objects has
a trigger value of com.rti.dds.infrastructure.true or else until the timeout
expires.
class WaitSetProperty t
<<eXtension>>
(p. 278)
Specifies
the
com.rti.dds.infrastructure.WaitSet ( p. 1709) behavior for multiple
trigger events.
6.4.1
Detailed Description
com.rti.dds.infrastructure.Condition
(p. 464)
com.rti.dds.infrastructure.WaitSet (p. 1709) and related items.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
and
46
Module Documentation
6.5
DATABASE
Classes
class DatabaseQosPolicy
Various threads and resource limits settings used by RTI Connext to control
its internal database.
Variables
static final QosPolicyId t DATABASE QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.DatabaseQosPolicy ( p. 482)
6.5.1
for
Detailed Description
6.5.2
Variable Documentation
6.5.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.6
47
Classes
class DataReaderProtocolQosPolicy
Along
with
com.rti.dds.infrastructure.WireProtocolQosPolicy
( p. 1723) and com.rti.dds.infrastructure.DataWriterProtocolQosPolicy
( p. 592), this QoS policy configures the DDS on-the-network protocol
(RTPS).
Variables
static final QosPolicyId t
POLICY ID
DATAREADERPROTOCOL QOS -
<<eXtension>>
(p. 278)
Identifier
for
com.rti.dds.infrastructure.DataReaderProtocolQosPolicy ( p. 521)
6.6.1
Detailed Description
6.6.2
Variable Documentation
6.6.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
48
Module Documentation
6.7
Classes
class DataReaderResourceLimitsQosPolicy
Various
settings
that
com.rti.dds.subscription.DataReader
physical memory for internal resources.
configure
how
( p. 487) allocates and
a
uses
Variables
static final int AUTO MAX TOTAL INSTANCES
<<eXtension>>
(p. 278)
This
value
is
used
to
make
com.rti.dds.infrastructure.DataReaderResourceLimitsQosPolicy.max total instances ( p. 551) equal to com.rti.dds.infrastructure.ResourceLimitsQosPolicy.max instances ( p. 1352).
6.7.1
Detailed Description
6.7.2
Variable Documentation
6.7.2.1
<<eXtension>>
( p. 278)
This
value
is
used
to
make
com.rti.dds.infrastructure.DataReaderResourceLimitsQosPolicy.max total instances (p. 551) equal to com.rti.dds.infrastructure.ResourceLimitsQosPolicy.max instances (p. 1352).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
49
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
50
Module Documentation
6.8
Classes
class DataWriterProtocolQosPolicy
Protocol that applies only to com.rti.dds.publication.DataWriter ( p. 557)
instances.
Variables
static final QosPolicyId t
POLICY ID
DATAWRITERPROTOCOL QOS -
<<eXtension>>
(p. 278)
Identifier
for
com.rti.dds.infrastructure.DataWriterProtocolQosPolicy ( p. 592)
6.8.1
Detailed Description
6.8.2
Variable Documentation
6.8.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.9
51
Classes
class DataWriterResourceLimitsInstanceReplacementKind
Sets the kinds of instances that can be replaced when instance resource limits
are reached.
class DataWriterResourceLimitsQosPolicy
Various
settings
that
configure
how
a
com.rti.dds.publication.DataWriter ( p. 557) allocates and uses physical
memory for internal resources.
Variables
static final QosPolicyId t DATA WRITER RESOURCE LIMITS QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
for
com.rti.dds.infrastructure.DataWriterResourceLimitsQosPolicy
( p. 621)
6.9.1
Detailed Description
6.9.2
Variable Documentation
6.9.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
52
Module Documentation
6.10
DEADLINE
Expresses the maximum duration (deadline) within which an instance is expected to be updated.
Classes
class DeadlineQosPolicy
Expresses the maximum duration (deadline) within which an instance is expected to be updated.
Variables
static final QosPolicyId t DEADLINE QOS POLICY ID
Identifier for com.rti.dds.infrastructure.DeadlineQosPolicy ( p. 628).
6.10.1
Detailed Description
Expresses the maximum duration (deadline) within which an instance is expected to be updated.
6.10.2
Variable Documentation
6.10.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.11
53
DESTINATION ORDER
Controls the criteria used to determine the logical order among changes made
by com.rti.dds.publication.Publisher (p. 1262) entities to the same instance
of data (i.e., matching com.rti.dds.topic.Topic (p. 1545) and key).
Classes
class DestinationOrderQosPolicy
Controls how the middleware will deal with data sent by multiple
com.rti.dds.publication.DataWriter ( p. 557) entities for the same instance of data (i.e., same com.rti.dds.topic.Topic ( p. 1545) and key).
class DestinationOrderQosPolicyKind
Kinds of destination order.
Variables
static final QosPolicyId t DESTINATIONORDER QOS POLICY ID
Identifier for com.rti.dds.infrastructure.DestinationOrderQosPolicy
( p. 631).
6.11.1
Detailed Description
Controls the criteria used to determine the logical order among changes made
by com.rti.dds.publication.Publisher (p. 1262) entities to the same instance
of data (i.e., matching com.rti.dds.topic.Topic (p. 1545) and key).
6.11.2
Variable Documentation
6.11.2.1
Identifier
(p. 631).
for
com.rti.dds.infrastructure.DestinationOrderQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
54
Module Documentation
6.12
DISCOVERY CONFIG
Classes
class BuiltinTopicReaderResourceLimits t
Built-in topic ( p. 359) readers resource limits.
class DiscoveryConfigBuiltinPluginKind
Built-in discovery plugins that can be used.
class DiscoveryConfigQosPolicy
Settings for discovery configuration.
class RemoteParticipantPurgeKind
Available behaviors for halting communication with remote participants (and
their contained entities) with which discovery communication has been lost.
Variables
static final int SDP
Built-in discovery plugins that can be used.
6.12.1
for
Detailed Description
6.12.2
Variable Documentation
6.12.2.1
55
6.12.2.2
.SDP
6.12.2.3
6.12.2.4
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
56
Module Documentation
6.13
DISCOVERY
<<eXtension>> ( p. 278) Specifies the attributes required to discover participants in the domain.
Modules
NDDS DISCOVERY PEERS
Environment variable or a file that specifies the default values of
com.rti.dds.infrastructure.DiscoveryQosPolicy.initial peers ( p. 651)
and
com.rti.dds.infrastructure.DiscoveryQosPolicy.multicast receive addresses
( p. 650)
contained
in
the
com.rti.dds.domain.DomainParticipantQos.discovery
( p. 776)
qos policy.
Classes
class DiscoveryQosPolicy
Configures the mechanism used by the middleware to automatically discover
and connect with new remote applications.
Variables
static final QosPolicyId t DISCOVERY QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.DiscoveryQosPolicy ( p. 649)
6.13.1
for
Detailed Description
<<eXtension>> ( p. 278) Specifies the attributes required to discover participants in the domain.
6.13.2
Variable Documentation
6.13.2.1
6.14
57
58
Module Documentation
The application programmer is free to not use the default values; instead use
values supplied by other means.
NDDS DISCOVERY PEERS can be specified either in an environment variable
as comma (,) separated "peer descriptors" (see Peer Descriptor Format
(p. 58)) or in a file. These formats are described below.
6.14.1
Locator Format
59
portion of the locator. Note that a transport class name is an implicit alias
that is used to refer to all the transport plugin instances of that class.
optional Address. See Address Format (p. 59).
These are separated by the //: string. The separator is specified if and only
if a transport name is specified.
If a transport name is specified, the address may be omitted; in that case, all
the unicast addresses (across all transport plugin instances) associated with the
transport class are implied. Thus, a locator string may specify several addresses.
If an address is specified, the transport name and the separator string
may be omitted; in that case all the available transport plugins (for the
com.rti.dds.infrastructure.Entity (p. 931)) may be used to parse the address string.
6.14.1.2
Address Format
An address string specifies a transport-independent network address that qualifies a transport-dependent address string.
Addresses are used to form locators.
Addresses are also used in
com.rti.dds.infrastructure.DiscoveryQosPolicy.multicast receive addresses (p. 650), and com.rti.dds.infrastructure.TransportMulticastSettings t.receive address (p. 1595) fields. An address is equivalent to a locator in
which the transport name and separator are omitted.
An address consists of:
optional Network Address. An address in IPv4 or IPv6 string notation. If omitted, the network address of the transport is implied (Transport Network
Address (p. 381)).
optional Transport Address.
A string that is passed to the transport for processing.
The transport maps this string into
com.rti.ndds.transport.Transport.Property t.address bit count
(p. 1573) bits. If omitted the network address is used as the fully qualified
address.
These are separated by the # character. If a separator is specified, it must be
followed by a non-empty string which is passed to the transport plugin.
The
bits
resulting
from
the
transport
address
string
are
prepended with the network address.
The least significant
com.rti.ndds.transport.Transport.Property t.address bit count
(p. 1573) bits of the network address are ignored (Transport Network
Address (p. 381)).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
60
Module Documentation
If the separator is omitted and the string is not a valid IPv4 or IPv6 address,
it is treated as a transport address with an implicit network address (of the
transport plugin).
6.14.2
61
udpv4://
Default maximum participant ID on host 0/0/R (StarFabric)
0/0/R
#0/0/R
Default maximum participant ID on host 0/0/R (StarFabric) using the starfabric (StarFabric) transport plugin(s)
starfabric://0/0/R
starfabric://#0/0/R
Default maximum participant ID on host 0/0/R (StarFabric) using the starfabric (StarFabric) transport plugin(s) registered at network address FAA0::0
starfabric://FBB0::0#0/0/R
Default maximum participant ID on all unicast addresses accessed via the starfabric (StarFabric) transport plugin(s)
starfabric://
Default maximum participant ID on all unicast addresses accessed via the
shmem (shared memory) transport plugin(s)
shmem://
Default maximum participant ID on all unicast addresses accessed via the
shmem (shared memory) transport plugin(s) registered at network address
FCC0::0
shmem://FCC0::0
Default maximum participant ID on hosts himalaya and gangotri
himalaya,gangotri
Maximum participant ID of 1 on hosts himalaya and gangotri
1@himalaya,1@gangotri
Combinations of above
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
62
Module Documentation
239.255.0.1,localhost,192.168.1.1,0/0/R
FAA0::1,FAA0::0#localhost,FBB0::0#0/0/R
udpv4://himalaya,udpv4://FAA0::0#localhost,#0/0/R
starfabric://0/0/R,starfabric://FBB0::0#0/0/R,shmem://
starfabric://,shmem://FCC0::0,1@himalaya,1@gangotri
6.14.3
NDDS DISCOVERY PEERS can be specified via a file of the same name in the
programs current working directory. A NDDS DISCOVERY PEERS file would
contain a sequence of peer descriptors separated by whitespace or the comma
(,) character. The file may also contain comments starting with a semicolon
(;) character till the end of the line.
Example:
;; NDDS_DISCOVERY_PEERS - Default Discovery Configuration File
;;
;;
;; NOTE:
;;
1. This file must be in the current working directory, i.e.
;;
in the folder from which the application is launched.
;;
;;
2. This file takes precedence over the environment variable NDDS_DISCOVERY_PEERS
;;
;; Multicast
239.255.0.1
;; Unicast
localhost,192.168.1.1
FAA0::1
FAA0::0#localhost
1@himalaya
1@gangotri
;; UDPv4
udpv4://himalaya
udpv4://FAA0::0#localhost
;; Shared Memory
shmem://
builtin.shmem://
shmem://FCC0::0
;; StarFabric
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.14.4
;
;
;
;
;
;
63
If the current working directory from which the RTI Connext application is
launched contains a file called NDDS DISCOVERY PEERS, and an environment variable named NDDS DISCOVERY PEERS is also defined, the file takes
precedence; the environment variable is ignored.
6.14.5
;;
;;
;;
;;
;;
builtin.udpv4://127.0.0.1
;;
;;
;;
;;
;;
builtin.shmem://
6.14.6
64
Module Documentation
shmem - com.rti.ndds.transport.ShmemTransport (p. 1435)
udpv4 - com.rti.ndds.transport.UDPv4Transport (p. 1668)
udpv6 - com.rti.ndds.transport.UDPv6Transport (p. 1680)
These may be used as the transport names in the Locator Format (p. 58).
6.14.7
and
Local
Host
Suppose you want to communicate with other RTI Connext applications on the
same host and you are setting NDDS DISCOVERY PEERS explicitly (generally
in order to use unicast discovery with applications on other hosts).
If the local host platform does not support the shared memory transport, then
you can include the name of the local host in the NDDS DISCOVERY PEERS
list.
If the local host platform supports the shared memory transport, then you can
do one of the following:
Include shmem:// in the NDDS DISCOVERY PEERS list. This will
cause shared memory to be used for discovery and data traffic for applications on the same host.
or:
Include the name of the local host in the NDDS DISCOVERY PEERS list and disable the shared memory transport in the
com.rti.dds.infrastructure.TransportBuiltinQosPolicy (p. 1580) of
the com.rti.dds.domain.DomainParticipant (p. 654). This will cause
UDP loopback to be used for discovery and data traffic for applications
on the same host.
(To check if your platform supports shared memory, see the Platform Notes.)
See also:
com.rti.dds.infrastructure.DiscoveryQosPolicy.multicast receive addresses (p. 650)
com.rti.dds.infrastructure.DiscoveryQosPolicy.initial peers
(p. 651)
com.rti.dds.domain.DomainParticipant.add peer() (p. 720)
com.rti.dds.domain.DomainParticipantFactory.PARTICIPANT QOS DEFAULT (p. 149)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
65
66
Module Documentation
6.15
Classes
class AllocationSettings t
Resource allocation settings.
class DomainParticipantResourceLimitsQosPolicy
Various
settings
that
configure
how
a
com.rti.dds.domain.DomainParticipant ( p. 654) allocates and uses
physical memory for internal resources, including the maximum sizes of
various properties.
Variables
static final QosPolicyId t DOMAINPARTICIPANTRESOURCELIMITS QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
for
com.rti.dds.infrastructure.DomainParticipantResourceLimitsQosPolicy
( p. 778)
6.15.1
Detailed Description
6.15.2
Variable Documentation
6.15.2.1
67
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
68
Module Documentation
6.16
DURABILITY
Classes
class DurabilityQosPolicy
This QoS policy specifies whether or not RTI Connext will
store and deliver previously published data samples to new
com.rti.dds.subscription.DataReader ( p. 487) entities that join the
network later.
class DurabilityQosPolicyKind
Kinds of durability.
Variables
static final QosPolicyId t DURABILITY QOS POLICY ID
Identifier for com.rti.dds.infrastructure.DurabilityQosPolicy ( p. 802).
6.16.1
Detailed Description
6.16.2
Variable Documentation
6.16.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.17
69
DURABILITY SERVICE
Various
settings
to
configure
the
external
RTI
Persistence Service used by RTI Connext for DataWriters with a
com.rti.dds.infrastructure.DurabilityQosPolicy (p. 802) setting of
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT
DURABILITY QOS.
Classes
class DurabilityServiceQosPolicy
Various
settings
to
configure
the
external
RTI
Persistence Service used by RTI Connext for DataWriters with a
com.rti.dds.infrastructure.DurabilityQosPolicy ( p. 802) setting of
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT DURABILITY QOS.
Variables
static
final
POLICY ID
QosPolicyId t
6.17.1
Detailed Description
Various
settings
to
configure
the
external
RTI
Persistence Service used by RTI Connext for DataWriters with a
com.rti.dds.infrastructure.DurabilityQosPolicy (p. 802) setting of
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT
DURABILITY QOS.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
70
Module Documentation
6.17.2
Variable Documentation
6.17.2.1
Identifier
(p. 810).
for
com.rti.dds.infrastructure.DurabilityServiceQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.18
Time Support
Classes
class Duration t
Type for duration representation.
class Time t
Type for time representation.
6.18.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
71
72
Module Documentation
6.19
Entity Support
Classes
interface DomainEntity
<<interface>> (p. 279) Abstract base class for all DDS entities except for
the com.rti.dds.domain.DomainParticipant ( p. 654).
interface Entity
<<interface>> (p. 279) Abstract base class for all the DDS objects that
support QoS policies, a listener, and a status condition.
interface Listener
<<interface>> (p. 279) Abstract base class for all Listener ( p. 1130) interfaces.
6.19.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.20
73
ENTITY FACTORY
Classes
class EntityFactoryQosPolicy
A
QoS
policy
for
all
com.rti.dds.infrastructure.Entity
( p. 931) types that can act as factories for one or more other
com.rti.dds.infrastructure.Entity ( p. 931) types.
Variables
static final QosPolicyId t ENTITYFACTORY QOS POLICY ID
Identifier
( p. 938).
6.20.1
for
com.rti.dds.infrastructure.EntityFactoryQosPolicy
Detailed Description
6.20.2
Variable Documentation
6.20.2.1
Identifier
(p. 938).
for
com.rti.dds.infrastructure.EntityFactoryQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
74
Module Documentation
6.21
ENTITY NAME
Assigns
a
name
to
a
<<eXtension>>
( p. 278)
com.rti.dds.domain.DomainParticipant (p. 654).
This name will be
visible during the discovery process and in RTI tools to help you visualize and
debug your system.
Classes
class EntityNameQosPolicy
Assigns
a
name
and
a
role
name
to
a
com.rti.dds.domain.DomainParticipant
( p. 654),
com.rti.dds.publication.DataWriter
( p. 557)
or
com.rti.dds.subscription.DataReader ( p. 487).
These names will
be visible during the discovery process and in RTI tools to help you visualize
and debug your system.
6.21.1
Detailed Description
<<eXtension>>
( p. 278)
Assigns
a
name
to
a
com.rti.dds.domain.DomainParticipant (p. 654).
This name will be
visible during the discovery process and in RTI tools to help you visualize and
debug your system.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.22 EVENT
6.22
75
EVENT
<<eXtension>> ( p. 278) Configures the internal thread in a DomainParticipant that handles timed events.
Classes
class EventQosPolicy
Settings for event.
Variables
static final QosPolicyId t EVENT QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.EventQosPolicy ( p. 949)
6.22.1
for
Detailed Description
<<eXtension>> ( p. 278) Configures the internal thread in a DomainParticipant that handles timed events.
6.22.2
Variable Documentation
6.22.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
76
Module Documentation
6.23
EXCLUSIVE AREA
Classes
class ExclusiveAreaQosPolicy
Configures multi-thread concurrency and deadlock prevention capabilities.
Variables
static final QosPolicyId t EXCLUSIVEAREA QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.ExclusiveAreaQosPolicy ( p. 952)
6.23.1
for
Detailed Description
6.23.2
Variable Documentation
6.23.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.24
77
GROUP DATA
Classes
class GroupDataQosPolicy
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
Variables
static final QosPolicyId t GROUPDATA QOS POLICY ID
Identifier
( p. 1039).
6.24.1
for
com.rti.dds.infrastructure.GroupDataQosPolicy
Detailed Description
6.24.2
Variable Documentation
6.24.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
78
Module Documentation
6.25
GUID Support
Classes
class GUID t
Type for GUID (Global Unique Identifier) representation.
6.25.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.26 HISTORY
6.26
79
HISTORY
Specifies the behavior of RTI Connext in the case where the value of an instance
changes (one or more times) before it can be successfully communicated to one
or more existing subscribers.
Classes
class HistoryQosPolicy
Specifies the behavior of RTI Connext in the case where the value of a sample
changes (one or more times) before it can be successfully communicated to
one or more existing subscribers.
class HistoryQosPolicyKind
Kinds of history.
class RefilterQosPolicyKind
<<eXtension>> (p. 278) Kinds of Refiltering
Variables
static final QosPolicyId t HISTORY QOS POLICY ID
Identifier for com.rti.dds.infrastructure.HistoryQosPolicy ( p. 1046).
6.26.1
Detailed Description
Specifies the behavior of RTI Connext in the case where the value of an instance
changes (one or more times) before it can be successfully communicated to one
or more existing subscribers.
6.26.2
Variable Documentation
6.26.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
80
Module Documentation
6.27
LATENCY BUDGET
Provides a hint as to the maximum acceptable delay from the time the data is
written to the time it is received by the subscribing applications.
Classes
class LatencyBudgetQosPolicy
Provides a hint as to the maximum acceptable delay from the time the data
is written to the time it is received by the subscribing applications.
Variables
static final QosPolicyId t LATENCYBUDGET QOS POLICY ID
Identifier
( p. 1124).
6.27.1
for
com.rti.dds.infrastructure.LatencyBudgetQosPolicy
Detailed Description
Provides a hint as to the maximum acceptable delay from the time the data is
written to the time it is received by the subscribing applications.
6.27.2
Variable Documentation
6.27.2.1
Identifier
(p. 1124).
for
com.rti.dds.infrastructure.LatencyBudgetQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.28 LIFESPAN
6.28
81
LIFESPAN
Specifies
how
long
the
data
written
by
com.rti.dds.publication.DataWriter (p. 557) is considered valid.
the
Classes
class LifespanQosPolicy
Specifies
how
long
the
data
written
by
com.rti.dds.publication.DataWriter ( p. 557) is considered valid.
the
Variables
static final QosPolicyId t LIFESPAN QOS POLICY ID
Identifier for com.rti.dds.infrastructure.LifespanQosPolicy ( p. 1128).
6.28.1
Detailed Description
Specifies
how
long
the
data
written
by
com.rti.dds.publication.DataWriter (p. 557) is considered valid.
6.28.2
Variable Documentation
6.28.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
the
82
Module Documentation
6.29
LIVELINESS
Specifies
and
configures
the
mechanism
that
allows
com.rti.dds.subscription.DataReader (p. 487) entities to detect when
com.rti.dds.publication.DataWriter (p. 557) entities become disconnected
or dead..
Classes
class LivelinessQosPolicy
Specifies
and
configures
the
mechanism
that
allows
com.rti.dds.subscription.DataReader ( p. 487) entities to detect
when com.rti.dds.publication.DataWriter ( p. 557) entities become
disconnected or dead..
class LivelinessQosPolicyKind
Kinds of liveliness.
Variables
static final QosPolicyId t LIVELINESS QOS POLICY ID
Identifier for com.rti.dds.infrastructure.LivelinessQosPolicy ( p. 1140).
6.29.1
Detailed Description
Specifies
and
configures
the
mechanism
that
allows
com.rti.dds.subscription.DataReader (p. 487) entities to detect when
com.rti.dds.publication.DataWriter (p. 557) entities become disconnected
or dead..
6.29.2
Variable Documentation
6.29.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.30 LOCATORFILTER
6.30
83
LOCATORFILTER
Classes
class LocatorFilter t
Specifies the configuration of an individual channel within a MultiChannel
DataWriter.
class LocatorFilterQosPolicy
The QoS policy used to report the configuration of a MultiChannel
DataWriter as part of builtin.PublicationBuiltinTopicData.
class LocatorFilterSeq
Declares IDL sequence< com.rti.dds.infrastructure.LocatorFilter t ( p. 1154) >.
Variables
static final QosPolicyId t LOCATORFILTER QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.LocatorFilterQosPolicy ( p. 1157)
6.30.1
for
Detailed Description
6.30.2
Variable Documentation
6.30.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
84
Module Documentation
6.31
LOGGING
Classes
class LoggingQosPolicy
Configures the RTI Connext logging facility.
Variables
static final QosPolicyId t LOGGING QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.LoggingQosPolicy ( p. 1169)
6.31.1
for
Detailed Description
6.31.2
Variable Documentation
6.31.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.32 MULTICHANNEL
6.32
85
MULTICHANNEL
Classes
class ChannelSettings t
Type used to configure the properties of a channel.
class ChannelSettingsSeq
Declares IDL sequence< com.rti.dds.infrastructure.ChannelSettings t
( p. 454) >.
class MultiChannelQosPolicy
Configures the ability of a DataWriter to send data on different multicast
groups (addresses) based on the value of the data.
Variables
static final QosPolicyId t MULTICHANNEL QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.MultiChannelQosPolicy ( p. 1187)
6.32.1
for
Detailed Description
6.32.2
Variable Documentation
6.32.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
86
Module Documentation
6.33
Object Support
Classes
interface Copyable
<<eXtension>> (p. 278) <<interface>> (p. 279) Interface for all the
user-defined data type classes that support copy.
class ObjectHolder
<<eXtension>> (p. 278) Holder of object instance
6.33.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.34 OWNERSHIP
6.34
87
OWNERSHIP
Specifies
whether
it
is
allowed
for
multiple
com.rti.dds.publication.DataWriter (p. 557) (s) to write the same
instance of the data and if so, how these modifications should be arbitrated.
Classes
class OwnershipQosPolicy
Specifies
whether
it
is
allowed
for
multiple
com.rti.dds.publication.DataWriter ( p. 557) (s) to write the same
instance of the data and if so, how these modifications should be arbitrated.
class OwnershipQosPolicyKind
Kinds of ownership.
Variables
static final QosPolicyId t OWNERSHIP QOS POLICY ID
Identifier
( p. 1199).
6.34.1
for
com.rti.dds.infrastructure.OwnershipQosPolicy
Detailed Description
Specifies
whether
it
is
allowed
for
multiple
com.rti.dds.publication.DataWriter (p. 557) (s) to write the same
instance of the data and if so, how these modifications should be arbitrated.
6.34.2
Variable Documentation
6.34.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
88
Module Documentation
6.35
OWNERSHIP STRENGTH
Classes
class OwnershipStrengthQosPolicy
Specifies the value of the strength used to arbitrate among multiple com.rti.dds.publication.DataWriter ( p. 557) objects that attempt to modify the same instance of a data type (identified by
com.rti.dds.topic.Topic ( p. 1545) + key).
Variables
static final QosPolicyId t
POLICY ID
OWNERSHIPSTRENGTH QOS -
6.35.1
Detailed Description
6.35.2
Variable Documentation
6.35.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.36 PARTITION
6.36
89
PARTITION
Set of strings that introduces a logical partition among the topics visible by a com.rti.dds.publication.Publisher (p. 1262) and a
com.rti.dds.subscription.Subscriber (p. 1476).
Classes
class PartitionQosPolicy
Set of strings that introduces a logical partition among the topics visible by a com.rti.dds.publication.Publisher ( p. 1262) and a
com.rti.dds.subscription.Subscriber ( p. 1476).
Variables
static final QosPolicyId t PARTITION QOS POLICY ID
Identifier for com.rti.dds.infrastructure.PartitionQosPolicy ( p. 1217).
6.36.1
Detailed Description
Set of strings that introduces a logical partition among the topics visible by a com.rti.dds.publication.Publisher (p. 1262) and a
com.rti.dds.subscription.Subscriber (p. 1476).
6.36.2
Variable Documentation
6.36.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
90
Module Documentation
6.37
PRESENTATION
Specifies how the samples representing changes to data instances are presented
to a subscribing application.
Classes
class PresentationQosPolicy
Specifies how the samples representing changes to data instances are presented to a subscribing application.
class PresentationQosPolicyAccessScopeKind
Kinds of presentation access scope.
Variables
static final QosPolicyId t PRESENTATION QOS POLICY ID
Identifier
( p. 1221).
6.37.1
for
com.rti.dds.infrastructure.PresentationQosPolicy
Detailed Description
Specifies how the samples representing changes to data instances are presented
to a subscribing application.
6.37.2
Variable Documentation
6.37.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.38 PROFILE
6.38
91
PROFILE
<<eXtension>> ( p. 278) Configures the way that XML documents containing QoS profiles are loaded by RTI Connext.
Classes
class ProfileQosPolicy
Configures the way that XML documents containing QoS profiles are loaded
by RTI Connext.
Variables
static final QosPolicyId t PROFILE QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.ProfileQosPolicy ( p. 1231)
6.38.1
for
Detailed Description
<<eXtension>> ( p. 278) Configures the way that XML documents containing QoS profiles are loaded by RTI Connext.
6.38.2
Variable Documentation
6.38.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
92
Module Documentation
6.39
PROPERTY
Classes
class Property t
Properties are name/value pairs objects.
class PropertyQosPolicy
Stores name/value(string) pairs that can be used to configure certain parameters of RTI Connext that are not exposed through formal QoS policies. Can
also be used to store and propagate application-specific name/value pairs that
can be retrieved by user code during discovery.
class PropertyQosPolicyHelper
Policy Helpers which facilitate management of the properties in the input
policy.
class PropertySeq
Declares IDL
( p. 1234) >.
6.39.1
sequence
<
com.rti.dds.infrastructure.Property t
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.40
93
PUBLISH MODE
Classes
class PublishModeQosPolicy
Specifies how RTI Connext sends application data on the network. This QoS
policy can be used to tell RTI Connext to use its own thread to send data,
instead of the user thread.
class PublishModeQosPolicyKind
Kinds of publishing mode.
Variables
static final QosPolicyId t PUBLISHMODE QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.PublishModeQosPolicy ( p. 1295)
6.40.1
for
Detailed Description
6.40.2
Variable Documentation
6.40.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
94
Module Documentation
6.41
QoS Policies
Modules
ASYNCHRONOUS PUBLISHER
<<eXtension>> (p. 278) Specifies the asynchronous publishing settings of
the com.rti.dds.publication.Publisher ( p. 1262) instances.
AVAILABILITY
<<eXtension>> (p. 278) Configures the availability of data.
BATCH
<<eXtension>> (p. 278) Batch QoS policy used to enable batching in
com.rti.dds.publication.DataWriter ( p. 557) instances.
DATABASE
<<eXtension>> (p. 278) Various threads and resource limits settings used
by RTI Connext to control its internal database.
DEADLINE
Expresses the maximum duration (deadline) within which an instance is expected to be updated.
DESTINATION ORDER
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
95
Controls the criteria used to determine the logical order among changes made
by com.rti.dds.publication.Publisher ( p. 1262) entities to the same instance of data (i.e., matching com.rti.dds.topic.Topic ( p. 1545) and key).
DISCOVERY CONFIG
<<eXtension>> (p. 278) Specifies the discovery configuration QoS.
DISCOVERY
<<eXtension>> (p. 278) Specifies the attributes required to discover participants in the domain.
DURABILITY
This QoS policy specifies whether or not RTI Connext will
store and deliver previously published data samples to new
com.rti.dds.subscription.DataReader ( p. 487) entities that join the
network later.
DURABILITY SERVICE
Various
settings
to
configure
the
external
RTI
Persistence Service used by RTI Connext for DataWriters with a
com.rti.dds.infrastructure.DurabilityQosPolicy ( p. 802) setting of
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT DURABILITY QOS.
ENTITY FACTORY
A
QoS
policy
for
all
com.rti.dds.infrastructure.Entity
( p. 931) types that can act as factories for one or more other
com.rti.dds.infrastructure.Entity ( p. 931) types.
ENTITY NAME
<<eXtension>>
(p. 278)
Assigns
a
name
to
a
com.rti.dds.domain.DomainParticipant ( p. 654).
This name will
be visible during the discovery process and in RTI tools to help you visualize
and debug your system.
EVENT
<<eXtension>> (p. 278) Configures the internal thread in a DomainParticipant that handles timed events.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
96
Module Documentation
EXCLUSIVE AREA
<<eXtension>> (p. 278) Configures multi-thread concurrency and deadlock prevention capabilities.
GROUP DATA
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
HISTORY
Specifies the behavior of RTI Connext in the case where the value of an
instance changes (one or more times) before it can be successfully communicated to one or more existing subscribers.
LATENCY BUDGET
Provides a hint as to the maximum acceptable delay from the time the data
is written to the time it is received by the subscribing applications.
LIFESPAN
Specifies
how
long
the
data
written
by
com.rti.dds.publication.DataWriter ( p. 557) is considered valid.
the
LIVELINESS
Specifies
and
configures
the
mechanism
that
allows
com.rti.dds.subscription.DataReader ( p. 487) entities to detect
when com.rti.dds.publication.DataWriter ( p. 557) entities become
disconnected or dead..
LOCATORFILTER
<<eXtension>> (p. 278) The QoS policy used to report the configuration of
a MultiChannel DataWriter as part of builtin.PublicationBuiltinTopicData.
LOGGING
<<eXtension>> (p. 278) Configures the RTI Connext logging facility.
MULTICHANNEL
<<eXtension>> (p. 278) Configures the ability of a DataWriter to send
data on different multicast groups (addresses) based on the value of the data.
OWNERSHIP
Specifies
whether
it
is
allowed
for
multiple
com.rti.dds.publication.DataWriter ( p. 557) (s) to write the same
instance of the data and if so, how these modifications should be arbitrated.
OWNERSHIP STRENGTH
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
97
Specifies the value of the strength used to arbitrate among multiple com.rti.dds.publication.DataWriter ( p. 557) objects that attempt to modify the same instance of a data type (identified by
com.rti.dds.topic.Topic ( p. 1545) + key).
PARTITION
Set of strings that introduces a logical partition among the topics visible by a com.rti.dds.publication.Publisher ( p. 1262) and a
com.rti.dds.subscription.Subscriber ( p. 1476).
PRESENTATION
Specifies how the samples representing changes to data instances are presented to a subscribing application.
PROFILE
<<eXtension>> (p. 278) Configures the way that XML documents containing QoS profiles are loaded by RTI Connext.
PROPERTY
<<eXtension>> (p. 278) Stores name/value (string) pairs that can be used
to configure certain parameters of RTI Connext that are not exposed through
formal QoS policies. Can also be used to store and propagate applicationspecific name/value pairs that can be retrieved by user code during discovery.
PUBLISH MODE
<<eXtension>> (p. 278) Specifies how RTI Connext sends application data
on the network. This QoS policy can be used to tell RTI Connext to use its
own thread to send data, instead of the user thread.
RECEIVER POOL
<<eXtension>> (p. 278) Configures threads used by RTI Connext to receive and process data from transports (for example, UDP sockets).
RELIABILITY
Indicates the level of reliability offered/requested by RTI Connext.
RESOURCE LIMITS
Controls the amount of physical memory allocated for DDS entities, if dynamic allocations are allowed, and how they occur. Also controls memory
usage among different instance values for keyed topics.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
98
Module Documentation
SYSTEM RESOURCE LIMITS
<<eXtension>> (p. 278) Configures DomainParticipant-independent resources used by RTI Connext.
TOPIC DATA
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
TRANSPORT BUILTIN
<<eXtension>> (p. 278) Specifies which built-in transports are used.
TRANSPORT MULTICAST
<<eXtension>> (p. 278) Specifies the multicast address on which a
com.rti.dds.subscription.DataReader ( p. 487) wants to receive its data.
It can also specify a port number, as well as a subset of the available (at the
com.rti.dds.domain.DomainParticipant ( p. 654) level) transports with
which to receive the multicast data.
TRANSPORT PRIORITY
This QoS policy allows the application to take advantage of transports that
are capable of sending messages with different priorities.
TRANSPORT SELECTION
<<eXtension>>
(p. 278)
Specifies
the
physical
transports
that
a
com.rti.dds.publication.DataWriter
( p. 557)
or
com.rti.dds.subscription.DataReader ( p. 487) may use to send or
receive data.
TRANSPORT UNICAST
<<eXtension>> (p. 278) Specifies a subset of transports and a port number
that can be used by an Entity to receive data.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
99
TYPESUPPORT
<<eXtension>> (p. 278) Allows you to attach application-specific values
to a DataWriter or DataReader that are passed to the serialization or deserialization routine of the associated data type.
USER DATA
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
WIRE PROTOCOL
<<eXtension>> (p. 278) Specifies the wire protocol related attributes for
the com.rti.dds.domain.DomainParticipant ( p. 654).
Classes
class Qos
An abstract base class for all QoS types.
class QosPolicy
The base class for all QoS policies.
class QosPolicyCount
Type to hold a counter for a com.rti.dds.infrastructure.QosPolicyId t
( p. 1305).
class QosPolicyCountSeq
Declares IDL sequence < com.rti.dds.infrastructure.QosPolicyCount
( p. 1302) >.
class QosPolicyId t
Type to identify QosPolicies.
6.41.1
Detailed Description
100
Module Documentation
6.41.2
QosPolicies
can
be
set
programmatically
when
an
com.rti.dds.infrastructure.Entity (p. 931) is created, or modified with
the com.rti.dds.infrastructure.Entity (p. 931)s set qos (abstract)
(p. 932) method.
QosPolicies can also be configured from XML resources (files, strings). With
this approach, you can change the QoS without recompiling the application.
For more information, see Configuring QoS Profiles with XML (p. 233).
To customize a com.rti.dds.infrastructure.Entity (p. 931)s QoS before creating the entity, the correct pattern is:
First, initialize a QoS object with the appropriate INITIALIZER constructor.
Call the relevant get <entity> default qos() method.
Modify the QoS values as desired.
Finally, create the entity.
Each QosPolicy is treated independently from the others. This approach has
the advantage of being very extensible. However, there may be cases where
several policies are in conflict. Consistency checking is performed each time the
policies are modified via the set qos (abstract) (p. 932) operation, or when
the com.rti.dds.infrastructure.Entity (p. 931) is created.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
101
When a policy is changed after being set to a given value, it is not required that the new value be applied instantaneously; RTI Connext is allowed to apply it after a transition phase. In addition, some QosPolicy
have immutable semantics, meaning that they can only be specified either at
com.rti.dds.infrastructure.Entity (p. 931) creation time or else prior to calling the com.rti.dds.infrastructure.Entity.enable (p. 935) operation on the
entity.
Each com.rti.dds.infrastructure.Entity (p. 931) can be configured with
a list of QosPolicy objects.
However, not all QosPolicies are supFor inported by each com.rti.dds.infrastructure.Entity (p. 931).
stance, a com.rti.dds.domain.DomainParticipant (p. 654) supports a different set of QosPolicies than a com.rti.dds.topic.Topic (p. 1545) or a
com.rti.dds.publication.Publisher (p. 1262).
6.41.3
QoS compatibility
In several cases, for communications to occur properly (or efficiently), a QosPolicy on the publisher side must be compatible with a corresponding policy on
the subscriber side. For example, if a com.rti.dds.subscription.Subscriber
(p. 1476) requests to receive data reliably while the corresponding
com.rti.dds.publication.Publisher (p. 1262) defines a best-effort policy,
communication will not happen as requested.
To address this issue and maintain the desirable decoupling of publication
and subscription as much as possible, the QosPolicy specification follows the
subscriber-requested, publisher-offered pattern.
In this pattern, the subscriber side can specify a requested value for
a particular QosPolicy. The publisher side specifes an offered value
for that QosPolicy.
RTI Connext will then determine whether the
value requested by the subscriber side is compatible with what is offered by the publisher side.
If the two policies are compatible, then
communication will be established. If the two policies are not compatible, RTI Connext will not establish communications between the two
com.rti.dds.infrastructure.Entity (p. 931) objects and will record this fact
by means of the com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED on
the
publisher
end
and
INCOMPATIBLE QOS STATUS
com.rti.dds.infrastructure.StatusKind.StatusKind.REQUESTED INCOMPATIBLE QOS STATUS on the subscriber end. The application
can detect this fact by means of a com.rti.dds.infrastructure.Listener
(p. 1130) or a com.rti.dds.infrastructure.Condition (p. 464).
The following properties are defined on a QosPolicy.
RxO (p. 101) property
The QosPolicy objects that need to be set in a compatible manner between
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
102
Module Documentation
the publisher and subscriber end are indicated by the setting of the
RxO (p. 101) property:
RxO (p. 101) = YES indicates that the policy can be set both at
the publishing and subscribing ends and the values must be set in a
compatible manner. In this case the compatible values are explicitly
defined.
RxO (p. 101) = NO indicates that the policy can be set both at the
publishing and subscribing ends but the two settings are independent.
That is, all combinations of values are compatible.
RxO (p. 101) = N/A indicates that the policy can only be specified
at either the publishing or the subscribing end, but not at both ends.
So compatibility does not apply.
Changeable (p. 102) property
Determines whether a QosPolicy can be changed.
NO
(p. 102)
policy
can
only
be
specified
com.rti.dds.infrastructure.Entity (p. 931) creation time.
at
UNTIL ENABLE (p. 102) policy can only be changed before the
com.rti.dds.infrastructure.Entity (p. 931) is enabled.
YES (p. 102) policy can be changed at any time.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.42
103
Controls how a DataReader manages the lifecycle of the data that it has received.
Classes
class ReaderDataLifecycleQosPolicy
Controls how a DataReader manages the lifecycle of the data that it has
received.
Variables
static final QosPolicyId t
POLICY ID
READERDATALIFECYCLE QOS -
6.42.1
Detailed Description
Controls how a DataReader manages the lifecycle of the data that it has received.
6.42.2
Variable Documentation
6.42.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
104
Module Documentation
6.43
RECEIVER POOL
Classes
class ReceiverPoolQosPolicy
Configures threads used by RTI Connext to receive and process data from
transports (for example, UDP sockets).
Variables
static final QosPolicyId t RECEIVERPOOL QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.ReceiverPoolQosPolicy ( p. 1318)
6.43.1
for
Detailed Description
6.43.2
Variable Documentation
6.43.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.44 RELIABILITY
6.44
105
RELIABILITY
Classes
class ReliabilityQosPolicy
Indicates the level of reliability offered/requested by RTI Connext.
class ReliabilityQosPolicyAcknowledgmentModeKind
Kinds of acknowledgment.
class ReliabilityQosPolicyKind
Kinds of reliability.
Variables
static final QosPolicyId t RELIABILITY QOS POLICY ID
Identifier
( p. 1324).
6.44.1
for
com.rti.dds.infrastructure.ReliabilityQosPolicy
Detailed Description
6.44.2
Variable Documentation
6.44.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
106
Module Documentation
6.45
RESOURCE LIMITS
Controls the amount of physical memory allocated for DDS entities, if dynamic
allocations are allowed, and how they occur. Also controls memory usage among
different instance values for keyed topics.
Classes
class ResourceLimitsQosPolicy
Controls the amount of physical memory allocated for DDS entities, if dynamic allocations are allowed, and how they occur. Also controls memory
usage among different instance values for keyed topics.
Variables
static final QosPolicyId t RESOURCELIMITS QOS POLICY ID
Identifier for
( p. 1348).
com.rti.dds.infrastructure.ResourceLimitsQosPolicy
6.45.1
Detailed Description
Controls the amount of physical memory allocated for DDS entities, if dynamic
allocations are allowed, and how they occur. Also controls memory usage among
different instance values for keyed topics.
6.45.2
Variable Documentation
6.45.2.1
Identifier
(p. 1348).
6.45.2.2
for
com.rti.dds.infrastructure.ResourceLimitsQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.46
107
Return Codes
Classes
class RETCODE ALREADY DELETED
The object target of this operation has already been deleted.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
108
Module Documentation
class RETCODE UNSUPPORTED
Unsupported operation. Can only returned by operations that are unsupported.
6.46.1
Detailed Description
6.46.2
Any void operation that documents that it may throw an exception of type may
throw exactly com.rti.dds.infrastructure.RETCODE ERROR (p. 1356)
or
com.rti.dds.infrastructure.RETCODE ILLEGAL OPERATION
(p. 1357). Any such operation that takes one or more input parameters may
additionally throw the subclass com.rti.dds.infrastructure.RETCODE BAD PARAMETER (p. 1355).
Any operation on an object created from any of the factories may additionally throw the subclass
com.rti.dds.infrastructure.RETCODE ALREADY DELETED
(p. 1354). Any operation that is stated as optional may additionally throw
the subclass com.rti.dds.infrastructure.RETCODE UNSUPPORTED
(p. 1365).
Thus, the standard return codes are:
com.rti.dds.infrastructure.RETCODE OK
com.rti.dds.infrastructure.RETCODE ERROR (p. 1356)
com.rti.dds.infrastructure.RETCODE ILLEGAL OPERATION
(p. 1357)
com.rti.dds.infrastructure.RETCODE ALREADY DELETED
(p. 1354)
com.rti.dds.infrastructure.RETCODE BAD PARAMETER
(p. 1355)
com.rti.dds.infrastructure.RETCODE UNSUPPORTED
(p. 1365)
Operations that may throw any other exception type will state so explicitly.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.47
Classes
class SequenceNumber t
Type for sequence number representation.
6.47.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
109
110
Module Documentation
6.48
Status Kinds
Classes
class StatusKind
Type for status kinds.
Variables
static final int STATUS MASK NONE
No bits are set.
6.48.1
Detailed Description
111
An
application
is
notified
of
communication
status
by
means
of
the
com.rti.dds.infrastructure.Listener
(p. 1130)
or
the
com.rti.dds.infrastructure.WaitSet
(p. 1709)
/
The
com.rti.dds.infrastructure.Condition (p. 464) mechanism.
two mechanisms may be combined in the application (e.g.,
using
com.rti.dds.infrastructure.WaitSet
(p. 1709)
(s)
/
com.rti.dds.infrastructure.Condition (p. 464) (s) to access the data
and com.rti.dds.infrastructure.Listener (p. 1130) (s) to be warned
asynchronously of erroneous communication statuses).
It is likely that the application will choose one or the other mechanism for each
particular communication status (not both). However, if both mechanisms are
enabled, then the com.rti.dds.infrastructure.Listener (p. 1130) mechanism
is used first and then the com.rti.dds.infrastructure.WaitSet (p. 1709) objects are signalled.
The statuses may be classified into:
read communication statuses: i.e., those that are related to arrival of data,
namely
com.rti.dds.infrastructure.StatusKind.StatusKind.DATA ON READERS STATUS and com.rti.dds.infrastructure.StatusKind.StatusKind.DATA AVAILABLE STATUS.
plain communication statuses: i.e., all the others.
Read communication statuses are treated slightly differently than
the others because they dont change independently.
In other
words,
at least two changes will appear at the same time
(com.rti.dds.infrastructure.StatusKind.StatusKind.DATA ON READERS STATUS
and
com.rti.dds.infrastructure.StatusKind.StatusKind.DATA AVAILABLE STATUS) and even several of the last kind may be part of the
set. This grouping has to be communicated to the application.
For each plain communication status, there is a corresponding structure to hold
the status value. These values contain the information related to the change of
status, as well as information related to the statuses themselves (e.g., contains
cumulative counts).
6.48.2
Changes in Status
112
Module Documentation
6.48.2.1
For the plain communication status, the StatusChangedFlag flag is initially set to FALSE. It becomes TRUE whenever the plain communication status changes and it is reset to com.rti.dds.infrastructure.false
each time the application accesses the plain communication status
via the proper get <plain communication status>() operation on the
com.rti.dds.infrastructure.Entity (p. 931).
The communication status is also reset to FALSE whenever the associated listener operation is called as the listener implicitly accesses the status which is
passed as a parameter to the operation. The fact that the status is reset prior
to calling the listener means that if the application calls the get <plain communication status> from inside the listener it will see the status already reset.
An exception to this rule is when the associated listener is the nil listener. The
nil listener is treated as a NOOP and the act of calling the nil listener does
not reset the communication status.
For example, the value of the StatusChangedFlag associated with
the
com.rti.dds.infrastructure.StatusKind.StatusKind.REQUESTED DEADLINE MISSED STATUS
will
become
TRUE
each
time
new
deadline
occurs
(which
increases
the
com.rti.dds.subscription.RequestedDeadlineMissedStatus.total count (p. 1344) field).
The value changes to FALSE when
the
application
accesses
the
status
via
the
corresponding
com.rti.dds.subscription.DataReader.get requested deadline missed status (p. 499) method on the proper Entity
6.48.2.2
113
The arrival of the notification that an instance has been disposed by:
the
com.rti.dds.publication.DataWriter
(p. 557)
that owns it if OWNERSHIP (p. 87) QoS kind=
com.rti.dds.infrastructure.OwnershipQosPolicyKind.OwnershipQosPolicyKind.EXCLUSIVE OWNERSHIP QOS
or
by
any
com.rti.dds.publication.DataWriter
(p. 557)
if
OWNERSHIP
(p. 87)
QoS
kind=
com.rti.dds.infrastructure.OwnershipQosPolicyKind.OwnershipQosPolicyKind.SHARED OWNERSHIP QOS
The loss of liveliness of the com.rti.dds.publication.DataWriter
(p. 557) of an instance for which there is no other
com.rti.dds.publication.DataWriter (p. 557).
The arrival of the notification that an instance has been unregistered
by the only com.rti.dds.publication.DataWriter (p. 557) that is
known to be writing the instance.
Depending on the kind of StatusChangedFlag, the flag transitions to FALSE
again as follows:
The
com.rti.dds.infrastructure.StatusKind.StatusKind.DATA AVAILABLE STATUS StatusChangedFlag becomes FALSE when
either the corresponding listener operation (on data available) is called or
the read or take operation (or their variants) is called on the associated
com.rti.dds.subscription.DataReader (p. 487).
The
com.rti.dds.infrastructure.StatusKind.StatusKind.DATA ON READERS STATUS StatusChangedFlag becomes FALSE when any of
the following events occurs:
The corresponding listener operation (on data on readers) is called.
The on data available listener operation is called on any
com.rti.dds.subscription.DataReader (p. 487) belonging to
the com.rti.dds.subscription.Subscriber (p. 1476).
The read or take operation (or their variants) is called on any
com.rti.dds.subscription.DataReader (p. 487) belonging to the
com.rti.dds.subscription.Subscriber (p. 1476).
See also:
com.rti.dds.infrastructure.Listener (p. 1130)
com.rti.dds.infrastructure.WaitSet
com.rti.dds.infrastructure.Condition (p. 464)
(p. 1709),
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
114
Module Documentation
6.48.3
Variable Documentation
6.48.3.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.49
115
Classes
class SystemResourceLimitsQosPolicy
Configures
com.rti.dds.domain.DomainParticipant
( p. 654)independent resources used by RTI Connext. Mainly used to change
the maximum number of com.rti.dds.domain.DomainParticipant
( p. 654) entities that can be created within a single process (address space).
Variables
static final QosPolicyId t SYSTEMRESOURCELIMITS QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.SystemResourceLimitsQosPolicy
( p. 1523)
6.49.1
for
Detailed Description
6.49.2
Variable Documentation
6.49.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
116
Module Documentation
6.50
Thread Settings
Classes
class ThreadSettings t
The properties of a thread of execution.
class ThreadSettingsCpuRotationKind
Determines how com.rti.dds.infrastructure.ThreadSettings t.cpu list
( p. 1531) affects processor affinity for thread-related QoS policies that apply to multiple threads.
class ThreadSettingsKind
A collection of flags used to configure threads of execution.
Variables
static final int THREAD SETTINGS KIND MASK DEFAULT
The mask of default thread options.
6.50.1
Detailed Description
6.50.2
Variable Documentation
6.50.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.51
117
Filter that allows a com.rti.dds.subscription.DataReader (p. 487) to specify that it is interested only in (potentially) a subset of the values of the data.
Classes
class TimeBasedFilterQosPolicy
Filter that allows a com.rti.dds.subscription.DataReader ( p. 487) to
specify that it is interested only in (potentially) a subset of the values of
the data.
Variables
static final QosPolicyId t TIMEBASEDFILTER QOS POLICY ID
Identifier for com.rti.dds.infrastructure.TimeBasedFilterQosPolicy
( p. 1541).
6.51.1
Detailed Description
Filter that allows a com.rti.dds.subscription.DataReader (p. 487) to specify that it is interested only in (potentially) a subset of the values of the data.
6.51.2
Variable Documentation
6.51.2.1
Identifier
(p. 1541).
for
com.rti.dds.infrastructure.TimeBasedFilterQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
118
Module Documentation
6.52
TOPIC DATA
Classes
class TopicDataQosPolicy
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
Variables
static final QosPolicyId t TOPICDATA QOS POLICY ID
Identifier
( p. 1559).
6.52.1
for
com.rti.dds.infrastructure.TopicDataQosPolicy
Detailed Description
6.52.2
Variable Documentation
6.52.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.53
119
TRANSPORT BUILTIN
Classes
class TransportBuiltinKind
Built-in transport kind.
class TransportBuiltinQosPolicy
Specifies which built-in transports are used.
Variables
static final QosPolicyId t TRANSPORTBUILTIN QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.TransportBuiltinQosPolicy ( p. 1580)
for
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
120
Module Documentation
6.53.1
Detailed Description
6.53.2
Variable Documentation
6.53.2.1
6.53.2.2
6.53.2.3
6.53.2.4
6.53.2.5
None of the built-in transports will be registered automatically when the com.rti.dds.domain.DomainParticipant (p. 654)
is enabled.
The user must explictly register transports using
com.rti.ndds.transport.TransportSupport.register transport.
See also:
com.rti.dds.infrastructure.TransportBuiltinKindMask
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
121
6.53.2.7
All the available built-in transports are registered automatically when the
com.rti.dds.domain.DomainParticipant (p. 654) is enabled.
See also:
com.rti.dds.infrastructure.TransportBuiltinKindMask
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
122
Module Documentation
6.54
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.55
123
TRANSPORT MULTICAST
Classes
class TransportMulticastMappingQosPolicy
Specifies
the
multicast
address
on
which
a
com.rti.dds.subscription.DataReader ( p. 487) wants to receive its
data. It can also specify a port number as well as a subset of the available (at the com.rti.dds.domain.DomainParticipant ( p. 654) level)
transports with which to receive the multicast data.
class TransportMulticastQosPolicy
Specifies
the
multicast
address
on
which
a
com.rti.dds.subscription.DataReader ( p. 487) wants to receive its
data. It can also specify a port number as well as a subset of the available (at the com.rti.dds.domain.DomainParticipant ( p. 654) level)
transports with which to receive the multicast data.
class TransportMulticastQosPolicyKind
Transport Multicast Policy Kind.
Variables
static final QosPolicyId t
POLICY ID
TRANSPORTMULTICAST QOS -
<<eXtension>>
(p. 278)
Identifier
for
com.rti.dds.infrastructure.TransportMulticastQosPolicy ( p. 1590)
static
final
TransportMulticastQosPolicyKind
TRANSPORT MULTICAST QOS
AUTOMATIC -
static final TransportMulticastQosPolicyKind UNICAST ONLY TRANSPORT MULTICAST QOS = new TransportMulticastQosPolicyKind(UNICAST ONLY TRANSPORT MULTICAST QOS,
1)
Transport Multicast Policy Kind.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
124
Module Documentation
6.55.1
Detailed Description
6.55.2
Variable Documentation
6.55.2.1
final TransportMulticastQosPolicyKind
AUTOMATIC TRANSPORT MULTICAST QOS
[static, inherited]
Initial value:
new TransportMulticastQosPolicyKind(
"AUTOMATIC_TRANSPORT_MULTICAST_QOS", 0)
6.55.2.3
final TransportMulticastQosPolicyKind
UNICAST ONLY TRANSPORT MULTICAST QOS =
new TransportMulticastQosPolicyKind(UNICAST ONLY TRANSPORT MULTICAST QOS, 1) [static,
inherited]
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
125
126
Module Documentation
6.56
TRANSPORT PRIORITY
This QoS policy allows the application to take advantage of transports that are
capable of sending messages with different priorities.
Classes
class TransportPriorityQosPolicy
This QoS policy allows the application to take advantage of transports that
are capable of sending messages with different priorities.
Variables
static
final
POLICY ID
QosPolicyId t
TRANSPORTPRIORITY QOS -
6.56.1
Detailed Description
This QoS policy allows the application to take advantage of transports that are
capable of sending messages with different priorities.
6.56.2
Variable Documentation
6.56.2.1
Identifier for
(p. 1598).
com.rti.dds.infrastructure.TransportPriorityQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.57
127
TRANSPORT SELECTION
Specifies
the
physical
transports
<<eXtension>>
( p. 278)
that
a
com.rti.dds.publication.DataWriter
(p. 557)
or
com.rti.dds.subscription.DataReader (p. 487) may use to send or receive data.
Classes
class TransportSelectionQosPolicy
Specifies the physical transports a com.rti.dds.publication.DataWriter
( p. 557) or com.rti.dds.subscription.DataReader ( p. 487) may use to
send or receive data.
Variables
static final QosPolicyId t
POLICY ID
TRANSPORTSELECTION QOS -
<<eXtension>>
(p. 278)
Identifier
for
com.rti.dds.infrastructure.TransportSelectionQosPolicy ( p. 1600)
6.57.1
Detailed Description
<<eXtension>>
( p. 278)
Specifies
the
physical
transports
that
a
com.rti.dds.publication.DataWriter
(p. 557)
or
com.rti.dds.subscription.DataReader (p. 487) may use to send or receive data.
6.57.2
Variable Documentation
6.57.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
128
Module Documentation
6.58
TRANSPORT UNICAST
Classes
class TransportUnicastQosPolicy
Specifies a subset of transports and a port number that can be used by an
Entity ( p. 931) to receive data.
Variables
static
final
POLICY ID
QosPolicyId t
TRANSPORTUNICAST QOS -
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.TransportUnicastQosPolicy ( p. 1605)
6.58.1
for
Detailed Description
6.58.2
Variable Documentation
6.58.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.59
129
Defines the rules for determining whether the type used to publish a given topic
is consistent with that used to subscribe to it.
Classes
class TypeConsistencyEnforcementQosPolicy
Defines the rules for determining whether the type used to publish a given
topic ( p. 359) is consistent with that used to subscribe to it.
class TypeConsistencyKind
Kinds of type consistency.
6.59.1
Detailed Description
Defines the rules for determining whether the type used to publish a given topic
is consistent with that used to subscribe to it.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
130
Module Documentation
6.60
TYPESUPPORT
Classes
class TypeSupportQosPolicy
Allows you to attach application-specific values to a DataWriter or
DataReader that are passed to the serialization or deserialization routine
of the associated data type.
Variables
static final QosPolicyId t TYPESUPPORT QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.TypeSupportQosPolicy ( p. 1666)
for
6.60.1
for
Detailed Description
6.60.2
Variable Documentation
6.60.2.1
6.60 TYPESUPPORT
6.60.2.2
131
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
132
Module Documentation
6.61
USER DATA
Classes
class UserDataQosPolicy
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
Variables
static final QosPolicyId t USERDATA QOS POLICY ID
Identifier for com.rti.dds.infrastructure.UserDataQosPolicy ( p. 1694).
6.61.1
Detailed Description
6.61.2
Variable Documentation
6.61.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.62
133
Exception Codes
Classes
class BAD PARAM
The exception BadKind ( p. 409) is thrown when an inappropriate operation
is invoked on a TypeCode object.
class BadKind
The exception BadKind ( p. 409) is thrown when an inappropriate operation
is invoked on a TypeCode object.
class BadMemberId
The specified com.rti.dds.typecode.TypeCode ( p. 1611) member ID is invalid.
class BadMemberName
The specified com.rti.dds.typecode.TypeCode ( p. 1611) member name is
invalid.
class Bounds
A user exception thrown when a parameter is not within the legal bounds.
class SystemException
System exception.
class UserException
User exception.
6.62.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
134
Module Documentation
6.63
WIRE PROTOCOL
<<eXtension>> ( p. 278) Specifies the wire protocol related attributes for the
com.rti.dds.domain.DomainParticipant (p. 654).
Classes
class RtpsReservedPortKind
RTPS reserved port kind, used to identify the types of ports that can be reserved on domain ( p. 328) participant enable.
class RtpsWellKnownPorts t
RTPS well-known port mapping configuration.
class WireProtocolQosPolicy
Specifies
the
wire-protocol-related
attributes
com.rti.dds.domain.DomainParticipant ( p. 654).
for
the
class WireProtocolQosPolicyAutoKind
Kind of auto mechanism used to calculate the GUID prefix.
Variables
static final QosPolicyId t WIREPROTOCOL QOS POLICY ID
<<eXtension>>
(p. 278)
Identifier
com.rti.dds.infrastructure.WireProtocolQosPolicy ( p. 1723)
for
static final int MASK DEFAULT = BUILTIN UNICAST | BUILTIN MULTICAST | USER UNICAST
The default value of com.rti.dds.infrastructure.WireProtocolQosPolicy.rtps reserved port mask ( p. 1731).
static
final
RtpsWellKnownPorts t
RTI BACKWARDS COMPATIBLE RTPS WELL KNOWN PORTS
Assign to use well-known port mappings which are compatible with previous
versions of the RTI Connext middleware.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
135
INTEROPERABLE RTPS -
Assign to use well-known port mappings which are compliant with OMGs
DDS Interoperability Wire Protocol.
static final WireProtocolQosPolicyAutoKind RTPS AUTO ID FROM IP = new WireProtocolQosPolicyAutoKind(RTPS AUTO ID FROM IP, 0)
Kind of auto mechanism used to calculate the GUID prefix.
static final WireProtocolQosPolicyAutoKind RTPS AUTO ID FROM MAC = new WireProtocolQosPolicyAutoKind(RTPS AUTO ID FROM MAC, 1)
Kind of auto mechanism used to calculate the GUID prefix.
6.63.1
Detailed Description
<<eXtension>> ( p. 278) Specifies the wire protocol related attributes for the
com.rti.dds.domain.DomainParticipant (p. 654).
6.63.2
Variable Documentation
6.63.2.1
6.63.2.2
136
Module Documentation
This setting will avoid reserving the usertraffic multicast port, which is not
actually used unless there are DataReaders that enable multicast but fail to
specify a port.
Automatic participant ID selection will be based on finding a participant index
with both the discovery (metatraffic) unicast port and usertraffic unicast port
available.
See also:
com.rti.dds.infrastructure.RtpsReservedPortKindMask
6.63.2.3
6.63.2.4
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
137
final RtpsWellKnownPorts t RTI BACKWARDS COMPATIBLE RTPS WELL KNOWN PORTS [static,
inherited]
Assign to use well-known port mappings which are compatible with previous
versions of the RTI Connext middleware.
Assign com.rti.dds.infrastructure.WireProtocolQosPolicy.rtps well known ports (p. 1729) to this value to remain compatible with previous
versions of the RTI Connext middleware that used fixed port mappings.
values
for
The
following
are
the
rtps well known ports
com.rti.dds.infrastructure.RtpsWellKnownPorts t.RTI BACKWARDS COMPATIBLE RTPS WELL KNOWN PORTS
(p. 137):
port base = 7400
domain id gain = 10
participant id gain = 1000
builtin multicast port offset = 2
builtin unicast port offset = 0
user multicast port offset = 1
user unicast port offset = 3
These settings are not compliant with OMGs DDS Interoperability Wire Protocol.
To comply with the specification,
please
use
com.rti.dds.infrastructure.RtpsWellKnownPorts t.INTEROPERABLE RTPS WELL KNOWN PORTS (p. 137).
See also:
com.rti.dds.infrastructure.WireProtocolQosPolicy.rtps well known ports (p. 1729)
com.rti.dds.infrastructure.RtpsWellKnownPorts t.INTEROPERABLE RTPS WELL KNOWN PORTS (p. 137)
6.63.2.6
Assign to use well-known port mappings which are compliant with OMGs DDS
Interoperability Wire Protocol.
Assign com.rti.dds.infrastructure.WireProtocolQosPolicy.rtps well known ports (p. 1729) to this value to use well-known port mappings which
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
138
Module Documentation
6.63.2.7
final WireProtocolQosPolicyAutoKind
RTPS AUTO ID FROM IP = new
WireProtocolQosPolicyAutoKind(RTPS AUTO ID FROM IP, 0) [static,
inherited]
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
final WireProtocolQosPolicyAutoKind
RTPS AUTO ID FROM MAC = new
WireProtocolQosPolicyAutoKind(RTPS AUTO ID FROM MAC, 1) [static,
inherited]
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
139
140
Module Documentation
6.64
Controls how a DataWriter handles the lifecycle of the instances (keys) that it
is registered to manage.
Classes
class WriterDataLifecycleQosPolicy
Controls how a com.rti.dds.publication.DataWriter ( p. 557) handles the
lifecycle of the instances (keys) that it is registered to manage.
Variables
static final QosPolicyId t
POLICY ID
WRITERDATALIFECYCLE QOS -
6.64.1
Detailed Description
Controls how a DataWriter handles the lifecycle of the instances (keys) that it
is registered to manage.
6.64.2
Variable Documentation
6.64.2.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.65
141
Classes
class KeyedString
Keyed string built-in type.
class KeyedStringDataReader
<<interface>>
(p. 279)
Instantiates
DataReader
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString >.
<
class KeyedStringDataWriter
<<interface>>
(p. 279)
Instantiates
DataWriter
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString >.
<
class KeyedStringSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString > .
class KeyedStringTypeSupport
<<interface>> (p. 279) Keyed string type support.
6.65.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
142
Module Documentation
6.66
Classes
class Bytes
Built-in type consisting of a variable-length array of opaque bytes.
class BytesDataReader
<<interface>>
(p. 279)
Instantiates
DataReader
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes >.
<
class BytesDataWriter
<<interface>>
(p. 279)
Instantiates
DataWriter
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes >.
<
class BytesSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes > .
class BytesTypeSupport
<<interface>> (p. 279) com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes
type support.
6.66.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.67
143
Classes
class KeyedBytes
Built-in type consisting of a variable-length array of opaque bytes and a string
that is the key.
class KeyedBytesDataReader
<<interface>>
(p. 279)
Instantiates
DataReader
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes >.
<
class KeyedBytesDataWriter
<<interface>>
(p. 279)
Instantiates
DataWriter
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes >.
<
class KeyedBytesSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes >.
class KeyedBytesTypeSupport
<<interface>> (p. 279) com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes
type support.
6.67.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
144
Module Documentation
6.68
Sequence Support
Modules
Built-in Sequences
Defines sequences of primitive data type.
Classes
interface Sequence
<<interface>> (p. 279) <<generic>> (p. 279) A type-safe, ordered collection of elements. The type of these elements is referred to in this documentation as com.rti.ndds.example.Foo (p. 977).
class FooSeq
<<interface>> (p. 279) <<generic>> (p. 279) A type-safe, ordered collection of elements. The type of these elements is referred to in this documentation as com.rti.ndds.example.Foo (p. 977).
6.68.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.69
145
Clock Selection
APIs related to clock selection. RTI Connext uses clocks to measure time and
generate timestamps.
The middleware uses two clocks, an internal clock and an external clock. The
internal clock is used to measure time and handles all timing in the middleware.
The external clock is used solely to generate timestamps, such as the source
timestamp and the reception timestamp, in addition to providing the time given
by com.rti.dds.domain.DomainParticipant.get current time (p. 723).
6.69.1
Available Clocks
Two clock implementations are generally available, the monotonic clock and the
realtime clock.
The monotonic clock provides times that are monotonic from a clock that is not
adjustable. This clock is useful to use in order to not be subject to changes in
the system or realtime clock, which may be adjusted by the user or via time
synchronization protocols. However, this time generally starts from an arbitrary
point in time, such as system startup. Note that this clock is not available for
all architectures. Please see the Platform Notes for the architectures on which
it is supported. For the purposes of clock selection, this clock can be referenced
by the name monotonic.
The realtime clock provides the realtime of the system. This clock may generally
be monotonic but may not be guaranteed to be so. It is adjustable and may be
subject to small and large changes in time. The time obtained from this clock
is generally a meaningful time in that it is the amount of time from a known
epoch. For the purposes of clock selection, this clock can be referenced by the
names realtime or system.
6.69.2
By default, both the internal and external clocks use the real-time clock. If you
want your application to be robust to changes in the system time, you may use
the monotonic clock as the internal clock, and leave the system clock as the
external clock. Note, however, that this may slightly diminish performance in
that both the send and receive paths may need to obtain times from both clocks.
Since the monotonic clock is not available on all architectures, you may want
to specify monotonic,realtime for the internal clock (see the table below). By
doing so, the middleware will attempt to use the monotonic clock if available,
and will fall back to the realtime clock if the monotonic clock is not available.
If you want your application to be robust to changes in the system time, you
are not relying on source timestamps, and you want to avoid obtaining times
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
146
Module Documentation
from both clocks, you may use the monotonic clock for both the internal and
external clocks.
6.69.3
To configure the clock selection, use the PROPERTY (p. 92) QoS policy associated with the com.rti.dds.domain.DomainParticipant (p. 654).
See also:
com.rti.dds.infrastructure.PropertyQosPolicy (p. 1236)
The following table lists the supported clock selection properties.
Property
dds.clock.external clock
dds.clock.internal clock
Description
Comma-delimited list of clocks to
use for the external clock, in the
order of preference. Valid clock
names are realtime, system,
and monotonic.
Default: realtime
Comma-delimited list of clocks to
use for the internal clock, in the
order of preference. Valid clock
names are realtime, system,
and monotonic.
Default: realtime
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.70
147
Domain Module
Modules
DomainParticipantFactory
com.rti.dds.domain.DomainParticipantFactory ( p. 742) entity and associated elements
DomainParticipants
com.rti.dds.domain.DomainParticipant ( p. 654) entity and associated
elements
Built-in Topics
Built-in objects created by RTI Connext but accessible to the application.
Variables
static DomainParticipantFactory TheParticipantFactory = create singletonI()
Can be used as an alias for the singleton factory returned by the operation com.rti.dds.domain.DomainParticipantFactory.get instance()
( p. 747).
6.70.1
Detailed Description
148
Module Documentation
6.70.2
Variable Documentation
6.70.2.1
DomainParticipantFactory TheParticipantFactory =
create singletonI() [static, inherited]
Can be used as an alias for the singleton factory returned by the operation
com.rti.dds.domain.DomainParticipantFactory.get instance() (p. 747).
See also:
com.rti.dds.domain.DomainParticipantFactory.get instance
(p. 747)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.71 DomainParticipantFactory
6.71
149
DomainParticipantFactory
Classes
class DomainParticipantFactory
<<singleton>> (p. 279) <<interface>> (p. 279) Allows creation and destruction of com.rti.dds.domain.DomainParticipant ( p. 654) objects.
class DomainParticipantFactoryQos
QoS policies supported by a com.rti.dds.domain.DomainParticipantFactory
( p. 742).
Variables
static
final
DEFAULT
DomainParticipantQos
PARTICIPANT QOS -
6.71.1
Detailed Description
6.71.2
Variable Documentation
6.71.2.1
Initial value:
new DomainParticipantQos()
Special value for creating a DomainParticipant (p. 654) with default QoS.
When used in com.rti.dds.domain.DomainParticipantFactory.create participant (p. 748), this special value is used to indicate that the
com.rti.dds.domain.DomainParticipant (p. 654) should be created with
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
150
Module Documentation
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.72 DomainParticipants
6.72
151
DomainParticipants
Classes
interface DomainParticipant
<<interface>>
(p. 279)
Container
for
com.rti.dds.infrastructure.DomainEntity ( p. 653) objects.
all
class DomainParticipantAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
interface DomainParticipantListener
<<interface>> (p. 279) Listener for participant status.
class DomainParticipantQos
QoS policies supported by a com.rti.dds.domain.DomainParticipant
( p. 654) entity.
Variables
static final TopicQos TOPIC QOS DEFAULT = new TopicQos()
Special value for creating a com.rti.dds.topic.Topic ( p. 1545) with default
QoS.
FLOW CONTROLLER -
<<eXtension>>
(p. 278)
Special
value
for
creating
a
com.rti.dds.publication.FlowController ( p. 964) with default property.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
152
Module Documentation
6.72.1
Detailed Description
6.72.2
Variable Documentation
6.72.2.1
6.72 DomainParticipants
153
See also:
com.rti.dds.domain.DomainParticipant.create topic (p. 697)
com.rti.dds.domain.DomainParticipant.set default topic qos
(p. 667)
com.rti.dds.topic.Topic.set qos (p. 1547)
6.72.2.2
6.72.2.3
Initial value:
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
154
Module Documentation
new SubscriberQos()
6.72.2.4
Initial value:
new FlowControllerProperty_t()
Special
value
for
creating
<<eXtension>>
( p. 278)
com.rti.dds.publication.FlowController (p. 964) with default property.
When
used
in
com.rti.dds.domain.DomainParticipant.create flowcontroller (p. 681), this special value is used to indicate that the
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.72 DomainParticipants
155
6.72.2.5
<<eXtension>> ( p. 278) The name of the built-in SQL filter that can be
used with ContentFilteredTopics and MultiChannel DataWriters.
See also:
Queries and Filters Syntax (p. 286)
6.72.2.6
156
Module Documentation
The StringMatch Filter is a subset of the SQL filter; it only supports the
MATCH relational operator on a single string field.
See also:
Queries and Filters Syntax (p. 286)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.73
157
Built-in Topics
Packages
package com.rti.dds.domain.builtin
Builtin topic ( p. 359) for accessing information about the DomainParticipants discovered by RTI Connext.
package com.rti.dds.publication.builtin
Builtin topic ( p. 359) for accessing information about the Publications discovered by RTI Connext.
package com.rti.dds.subscription.builtin
Builtin topic ( p. 359) for accessing information about the Subscriptions discovered by RTI Connext.
package com.rti.dds.topic.builtin
Builtin topic ( p. 359) for accessing information about the Topics discovered
by RTI Connext.
Classes
class ContentFilterProperty t
<<eXtension>> (p. 278) Type used to provide all the required information
to enable content filtering.
class Locator t
<<eXtension>> (p. 278) Type used to represent the addressing information
needed to send a message to an RTPS Endpoint using one of the supported
transports.
class LocatorSeq
Declares IDL sequence < com.rti.dds.infrastructure.Locator t ( p. 1150)
>.
class ProductVersion t
<<eXtension>> (p. 278) Type used to represent the current version of RTI
Connext.
class ProtocolVersion t
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
158
Module Documentation
<<eXtension>> (p. 278) Type used to represent the version of the RTPS
protocol.
class VendorId t
<<eXtension>> (p. 278) Type used to represent the vendor of the service
implementing the RTPS protocol.
class BuiltinTopicKey t
The key type of the built-in topic ( p. 359) types.
6.73.1
Detailed Description
159
The
built-in
com.rti.dds.subscription.DataReader
(p. 487)
will
not provide data pertaining to entities created from the same
com.rti.dds.domain.DomainParticipant (p. 654) under the assumption that such entities are already known to the application that created
them.
Refer to builtin.ParticipantBuiltinTopicData, builtin.TopicBuiltinTopicData,
builtin.SubscriptionBuiltinTopicData and builtin.PublicationBuiltinTopicData
for a description of all the built-in topics and their contents.
The QoS of the built-in com.rti.dds.subscription.Subscriber (p. 1476) and
com.rti.dds.subscription.DataReader (p. 487) objects is given by the following table:
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
160
Module Documentation
QoS
Value
0-length sequence
com.rti.dds.infrastructure.UserDataQosPolicy
(p. 1694)
0-length sequence
com.rti.dds.infrastructure.TopicDataQosPolicy
(p. 1559)
0-length sequence
com.rti.dds.infrastructure.GroupDataQosPolicy
(p. 1039)
com.rti.dds.infrastructure.DurabilityQosPolicy
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQ
(p. 802)
LOCAL DURABILITY QOS
Does not apply as
com.rti.dds.infrastructure.DurabilityQosPolicyKind
com.rti.dds.infrastructure.DurabilityServiceQosPolicy
(p. 807) is
(p. 810)
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQ
LOCAL DURABILITY QOS
access scope =
com.rti.dds.infrastructure.PresentationQosPolicy
com.rti.dds.infrastructure.PresentationQosPolicyAccessScopeK
(p. 1221)
PRESENTATION QOS
coherent access =
com.rti.dds.infrastructure.false
ordered access =
com.rti.dds.infrastructure.false
Period = infinite
com.rti.dds.infrastructure.DeadlineQosPolicy
(p. 628)
duration = 0
com.rti.dds.infrastructure.LatencyBudgetQosPolicy
(p. 1124)
com.rti.dds.infrastructure.OwnershipQosPolicy
com.rti.dds.infrastructure.OwnershipQosPolicyKind.Ownership
(p. 1199)
OWNERSHIP QOS
value = 0
com.rti.dds.infrastructure.OwnershipStrengthQosPolicy
(p. 1209)
kind =
com.rti.dds.infrastructure.LivelinessQosPolicy
com.rti.dds.infrastructure.LivelinessQosPolicyKind.LivelinessQo
(p. 1140)
LIVELINESS QOS lease duration =
0
minimum separation = 0
com.rti.dds.infrastructure.TimeBasedFilterQosPolicy
(p. 1541)
0-length sequence
com.rti.dds.infrastructure.PartitionQosPolicy
(p. 1217)
Generated on Mon Aug 13 09:02:20 2012
for RTI
kind
= Connext Java API by Doxygen
com.rti.dds.infrastructure.ReliabilityQosPolicy
com.rti.dds.infrastructure.ReliabilityQosPolicyKind.ReliabilityQ
(p. 1324)
RELIABILITY QOS
max blocking time = 100
milliseconds
com.rti.dds.infrastructure.DestinationOrderQosPolicy
com.rti.dds.infrastructure.DestinationOrderQosPolicyKind.Des
(p. 631)
RECEPTION TIMESTAMP -
6.74
161
Topic Module
Contains
the
com.rti.dds.topic.Topic
(p. 1545),
com.rti.dds.topic.ContentFilteredTopic
(p. 471),
and
com.rti.dds.topic.MultiTopic
(p. 1190)
classes,
the
com.rti.dds.topic.TopicListener (p. 1564) interface, and more generally, all that is needed by an application to define com.rti.dds.topic.Topic
(p. 1545) objects and attach QoS policies to them.
Modules
Topics
com.rti.dds.topic.Topic ( p. 1545) entity and associated elements
Built-in Types
<<eXtension>> (p. 278) RTI Connext provides a set of very simple data
types for you to use with the topics in your application.
Dynamic Data
<<eXtension>> (p. 278) The Dynamic Data API provides a way to interact with arbitrarily complex data types at runtime without the need for code
generation.
6.74.1
Detailed Description
Contains
the
com.rti.dds.topic.Topic
(p. 1545),
com.rti.dds.topic.ContentFilteredTopic
(p. 471),
and
com.rti.dds.topic.MultiTopic
(p. 1190)
classes,
the
com.rti.dds.topic.TopicListener (p. 1564) interface, and more generally, all that is needed by an application to define com.rti.dds.topic.Topic
(p. 1545) objects and attach QoS policies to them.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
162
Module Documentation
6.75
Topics
Classes
interface ContentFilter
<<interface>> (p. 279) Interface to be used by a custom filter of a
com.rti.dds.topic.ContentFilteredTopic ( p. 471)
interface ContentFilteredTopic
<<interface>>
(p. 279)
Specialization
of
com.rti.dds.topic.TopicDescription ( p. 1561) that allows for contentbased subscriptions.
class InconsistentTopicStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.INCONSISTENT TOPIC STATUS
interface MultiTopic
[Not supported (optional)] <<interface>> (p. 279) A specialization
of com.rti.dds.topic.TopicDescription ( p. 1561) that allows subscriptions
that combine/filter/rearrange data coming from several topics.
interface Topic
<<interface>> (p. 279) The most basic description of the data to be published and subscribed.
class TopicAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
interface TopicDescription
com.rti.dds.topic.Topic ( p. 1545) entity and associated elements
interface TopicListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for com.rti.dds.topic.Topic ( p. 1545) entities.
class TopicQos
QoS policies supported by a com.rti.dds.topic.Topic ( p. 1545) entity.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.75 Topics
6.75.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
163
164
Module Documentation
6.76
Classes
class InstanceHandle t
Type definition for an instance handle.
class InstanceHandleSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.InstanceHandle t ( p. 1055) > .
interface TypeSupport
<<interface>> (p. 279) An abstract marker interface that has to be specialized for each concrete user data type that will be used by the application.
class Foo
A representative user-defined data type.
class FooTypeSupport
<<interface>> (p. 279) <<generic>> (p. 279) User data type specific interface.
6.76.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.77
165
Classes
class EnumMember
A description of a member of an enumeration.
class ExtensibilityKind
Type to indicate the extensibility of a type.
class StructMember
A description of a member of a struct.
class TCKind
Enumeration type for com.rti.dds.typecode.TypeCode ( p. 1611) kinds.
class TypeCode
The definition of a particular data type, which you can use to inspect the
name, members, and other properties of types generated with rtiddsgen
( p. 298) or to modify types you define yourself at runtime.
class TypeCodeFactory
A singleton factory for creating, copying, and deleting data type definitions
dynamically.
class UnionMember
A description of a member of a union.
class ValueMember
A description of a member of a value type.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
166
Module Documentation
class VM ABSTRACT
Constant used to indicate that a value type has the abstract modifier.
class VM CUSTOM
Constant used to indicate that a value type has the custom modifier.
class VM NONE
Constant used to indicate that a value type has no modifiers.
class VM TRUNCATABLE
Constant used to indicate that a value type has the truncatable modifier.
Variables
static final ExtensibilityKind FINAL EXTENSIBILITY
Specifies that a type has FINAL extensibility.
6.77.1
Detailed Description
167
6.77.2
When generating types with rtiddsgen (p. 298), type codes are enabled
by default. (The -notypecode option can be used to disable generation of
com.rti.dds.typecode.TypeCode (p. 1611) information.) For these types,
a com.rti.dds.typecode.TypeCode (p. 1611) may be accessed via the
FooTypeCode.VALUE member.
This
API
also
includes
support
for
dynamic
creation
of
values,
typically
com.rti.dds.typecode.TypeCode
(p. 1611)
for use with the Dynamic Data (p. 175) API. You can create
a
com.rti.dds.typecode.TypeCode
(p. 1611)
using
the
You will
com.rti.dds.typecode.TypeCodeFactory (p. 1647) class.
construct the com.rti.dds.typecode.TypeCode (p. 1611) recursively, from
the outside in: start with the type codes for primitive types, then compose
them into complex types like arrays, structures, and so on. You will find the
following methods helpful:
com.rti.dds.typecode.TypeCodeFactory.get primitive tc
(p. 1660), which provides the com.rti.dds.typecode.TypeCode
(p. 1611)
instances
corresponding
to
the
primitive
types
(e.g.
com.rti.dds.typecode.TCKind.TK LONG (p. 1527),
com.rti.dds.typecode.TCKind.TK SHORT (p. 1527),
and so
on).
com.rti.dds.typecode.TypeCodeFactory.create string tc (p. 1657)
and
com.rti.dds.typecode.TypeCodeFactory.create wstring tc (p. 1658) create a com.rti.dds.typecode.TypeCode (p. 1611)
representing a text string with a certain bound (i.e. maximum length).
com.rti.dds.typecode.TypeCodeFactory.create array tc (p. 1659)
and com.rti.dds.typecode.TypeCodeFactory.create sequence tc
(p. 1658) create a com.rti.dds.typecode.TypeCode (p. 1611) for a
collection based on the com.rti.dds.typecode.TypeCode (p. 1611) for
its elements.
com.rti.dds.typecode.TypeCodeFactory.create struct tc
(p. 1651), com.rti.dds.typecode.TypeCodeFactory.create value tc
(p. 1652), and com.rti.dds.typecode.TypeCodeFactory.create sparse tc (p. 1653) create a com.rti.dds.typecode.TypeCode
(p. 1611) for a structured type.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
168
Module Documentation
6.77.3
6.77.4
Variable Documentation
6.77.4.1
169
6.77.4.2
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
170
Module Documentation
6.78
Built-in Types
Modules
KeyedString Built-in Type
Built-in type consisting of a single character string.
6.78.1
Detailed Description
171
6.78.2
When a sample is written, the DataWriter serializes it and stores the result in
a buffer obtained from a pool of preallocated buffers. In the same way, when
a sample is received, the DataReader deserializes it and stores the result in a
sample coming from a pool of preallocated samples.
For builtin types, the maximum size of the buffers/samples and depends on the
nature of the application using the builtin type.
You can configure the maximum size of the builtin types
on
a
per-DataWriter
and
per-DataReader
basis
using
the
com.rti.dds.infrastructure.PropertyQosPolicy (p. 1236) in DataWriters,
DataReaders or Participants.
The following table lists the supported builtin type properties to configure memory allocation. When the properties are defined in the DomainParticipant, they
are applicable to all DataWriters and DataReaders belonging to the DomainParticipant unless they are overwrittem in the DataWriters and DataReaders.
The previous properties must be set consistently with respect to the corresponding .max size properties that set the maximum size of the builtin types in the
typecode.
6.78.3
The typecodes associated with the builtin types are generated from the following
IDL type definitions:
module DDS {
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
172
Module Documentation
struct String {
string value;
};
struct KeyedString {
string key;
string value;
};
struct Octets {
sequence<octet> value;
};
struct KeyedOctets {
string key;
sequence<octet> value;
};
};
The maximum size of the strings and sequences that will be included in the type
code definitions can be configured on a per-DomainParticipant-basis by using
the properties in following table.
For more information about the built-in types, including how to control memory usage and maximum lengths, please see chapter 3, Data Types and Data
Samples, in the Users Manual.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
173
Description
Maximum size of the strings
published by the
com.rti.dds.type.builtin.StringDataWriter
(p. 1465) or received the
com.rti.dds.type.builtin.StringDataReader
(p. 1462) (includes the
NULL-terminated character).
Default:
dds.builtin type.string.max size if
defined. Otherwise, 1024.
Maximum size of the keys used by
the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDataWriter
or
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDataReader
(includes the NULL-terminated
character).
Default: dds.builtin type.keyed string.max key size if defined.
Otherwise, 1024.
Maximum size of the strings
published by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDataWriter
or received by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDataReader
(includes the NULL-terminated
character).
Default: dds.builtin type.keyed string.max size if defined.
Otherwise, 1024.
Maximum size of the octet
sequences published the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter
or received by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataReader.
Default:
dds.builtin type.octets.max size if
defined. Otherwise, 2048.
Maximum size of the key published by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDataWriter
or received by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDataReader
(includes the NULL-terminated
character).
Default: dds.builtin type.keyed size
if by
defined.
for octets.max
RTI Connextkey
Java
API
Doxygen
Otherwise, 1024.
Maximum size of the octets
sequences published by a
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDataWriter
or received by a
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDataReader.
Default: dds.builtin type.keyed -
174
Module Documentation
Property
dds.builtin type.string.max size
Description
Maximum size of the strings
published by the StringDataWriters
and received by the
StringDataReaders belonging to a
DomainParticipant (includes the
NULL-terminated character).
Default: 1024.
Maximum size of the keys used by
the KeyedStringDataWriters and
KeyedStringDataReaders belonging
to a DomainParticipant (includes
the NULL-terminated character).
Default: 1024.
Maximum size of the strings
published by the
KeyedStringDataWriters and
received by the
KeyedStringDataReaders belonging
to a DomainParticipant using the
builtin type (includes the
NULL-terminated character).
Default: 1024
Maximum size of the octet
sequences published by the
OctetsDataWriters and received by
the OctetsDataReader belonging to
a DomainParticipant.
Default: 2048
Maximum size of the keys used by
the KeyedOctetsStringDataWriters
and KeyedOctetsStringDataReaders
belonging to a DomainParticipant
(includes the NULL-terminated
character).
Default: 1024.
Maximum size of the octet
sequences published by the
KeyedOctetsDataWriters and
received by the
KeyedOctetsDataReaders belonging
to a DomainParticipant.
Default: 2048
Table 6.4: Properties for Allocating Size of Builtin Types, per DomainParticipant
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.79
175
Dynamic Data
<<eXtension>> ( p. 278) The Dynamic Data API provides a way to interact with arbitrarily complex data types at runtime without the need for code
generation.
Classes
class DynamicData
A sample of any complex data type, which can be inspected and manipulated
reflectively.
class DynamicDataInfo
A descriptor for a com.rti.dds.dynamicdata.DynamicData ( p. 817) object.
class DynamicDataMemberInfo
A descriptor for a single member (i.e. field) of dynamically defined data type.
class DynamicDataProperty t
A
collection
of
attributes
used
to
com.rti.dds.dynamicdata.DynamicData ( p. 817) objects.
configure
class DynamicDataReader
Reads
(subscribes
to)
objects
com.rti.dds.dynamicdata.DynamicData ( p. 817).
of
type
class DynamicDataSeq
An ordered collection
( p. 817) elements.
of
com.rti.dds.dynamicdata.DynamicData
class DynamicDataTypeProperty t
A
collection
of
attributes
used
to
com.rti.dds.dynamicdata.DynamicData ( p. 817) objects.
configure
class DynamicDataTypeSerializationProperty t
Properties that govern how data of a certain type will be serialized on the
network.
class DynamicDataTypeSupport
A factory for registering a dynamically defined type and creating
com.rti.dds.dynamicdata.DynamicData ( p. 817) objects.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
176
Module Documentation
class DynamicDataWriter
Writes (publishes) objects of type com.rti.dds.dynamicdata.DynamicData
( p. 817).
Functions
DynamicDataInfo ()
A descriptor for a com.rti.dds.dynamicdata.DynamicData ( p. 817) object.
DynamicDataInfo (int member count, int stored size, boolean is optimized storage)
A descriptor for a com.rti.dds.dynamicdata.DynamicData ( p. 817) object.
DynamicDataMemberInfo ()
A descriptor for a single member (i.e. field) of dynamically defined data type.
Variables
static final DynamicDataProperty t PROPERTY DEFAULT
Sentinel
constant
indicating
default
values
com.rti.dds.dynamicdata.DynamicDataProperty t ( p. 890).
static final
DEFAULT
DynamicDataTypeProperty t
TYPE PROPERTY -
Sentinel
constant
indicating
default
values
com.rti.dds.dynamicdata.DynamicDataTypeProperty t ( p. 897).
6.79.1
for
for
Detailed Description
<<eXtension>> ( p. 278) The Dynamic Data API provides a way to interact with arbitrarily complex data types at runtime without the need for code
generation.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
177
This API allows you to define new data types, modify existing data types, and
interact reflectively with samples. To use it, you will take the following steps:
1. Obtain a com.rti.dds.typecode.TypeCode (p. 1611) (see Type Code
Support (p. 165)) that defines the type definition you want to use.
A com.rti.dds.typecode.TypeCode (p. 1611) includes a types kind
(com.rti.dds.typecode.TCKind (p. 1525)), name, and members (that
is, fields). You can create your own com.rti.dds.typecode.TypeCode
(p. 1611) using the com.rti.dds.typecode.TypeCodeFactory (p. 1647) class
see, for example, the com.rti.dds.typecode.TypeCodeFactory.create struct tc (p. 1651) method.
Alternatively, you can use a remote
com.rti.dds.typecode.TypeCode (p. 1611) that you discovered on the network (see Built-in Topics (p. 157)) or one generated by rtiddsgen (p. 298).
2.
Wrap the com.rti.dds.typecode.TypeCode (p. 1611) in a
com.rti.dds.dynamicdata.DynamicDataTypeSupport (p. 901) object.
from
the
Use the name under which you registered your data type see
com.rti.dds.domain.DomainParticipant.create topic (p. 697).
This
com.rti.dds.topic.Topic (p. 1545) is what you will use to produce and consume data.
5. Create a com.rti.dds.dynamicdata.DynamicDataWriter (p. 907)
and/or com.rti.dds.dynamicdata.DynamicDataReader (p. 892).
These
objects
will
produce
and/or
consume
data
(of
type
com.rti.dds.dynamicdata.DynamicData
(p. 817))
on
the
com.rti.dds.topic.Topic (p. 1545).
You can create these objects directly from the com.rti.dds.domain.DomainParticipant (p. 654) see
com.rti.dds.domain.DomainParticipant.create datawriter (p. 688) and
com.rti.dds.domain.DomainParticipant.create datareader
(p. 693)
or by first creating intermediate com.rti.dds.publication.Publisher
(p. 1262) and com.rti.dds.subscription.Subscriber (p. 1476) objects see
com.rti.dds.domain.DomainParticipant.create publisher (p. 683) and
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
178
Module Documentation
6.79.2
Function Documentation
6.79.2.1
DynamicDataInfo () [inherited]
6.79.2.2
6.79.2.3
DynamicDataMemberInfo () [inherited]
A descriptor for a single member (i.e. field) of dynamically defined data type.
See also:
com.rti.dds.dynamicdata.DynamicData.get member info (p. 840)
6.79.2.4
A descriptor for a single member (i.e. field) of dynamically defined data type.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
179
See also:
com.rti.dds.dynamicdata.DynamicData.get member info (p. 840)
6.79.3
Variable Documentation
6.79.3.1
Sentinel
constant
indicating
default
values
com.rti.dds.dynamicdata.DynamicDataProperty t (p. 890).
for
Pass this object instead of your own com.rti.dds.dynamicdata.DynamicDataProperty t (p. 890) object to use the default property values:
DynamicData sample = new DynamicData(
myTypeCode,
DynamicData.DYNAMIC_DATA_PROPERTY_DEFAULT);
See also:
com.rti.dds.dynamicdata.DynamicDataProperty t (p. 890)
6.79.3.2
final DynamicDataTypeProperty t
TYPE PROPERTY DEFAULT [static, inherited]
Sentinel
constant
indicating
default
values
com.rti.dds.dynamicdata.DynamicDataTypeProperty t (p. 897).
for
Pass this object instead of your own com.rti.dds.dynamicdata.DynamicDataTypeProperty t (p. 897) object to use the default property values:
DynamicDataTypeSupport support = new DynamicDataTypeSupport(
myTypeCode,
DynamicDataTypeSupport.DYNAMIC_DATA_TYPE_PROPERTY_DEFAULT);
See also:
com.rti.dds.dynamicdata.DynamicDataTypeProperty t (p. 897)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
180
Module Documentation
6.80
Publication Module
Contains
the
com.rti.dds.publication.FlowController
com.rti.dds.publication.Publisher
(p. 1262),
and
(p. 964),
com.rti.dds.publication.DataWriter (p. 557) classes as well as
the
com.rti.dds.publication.PublisherListener
(p. 1289)
and
com.rti.dds.publication.DataWriterListener (p. 586) interfaces, and
more generally, all that is needed on the publication side.
Modules
Publishers
com.rti.dds.publication.Publisher ( p. 1262) entity and associated elements
Data Writers
com.rti.dds.publication.DataWriter ( p. 557) entity and associated elements
Flow Controllers
<<eXtension>> (p. 278) com.rti.dds.publication.FlowController
( p. 964) and associated elements
6.80.1
Detailed Description
Contains
the
com.rti.dds.publication.FlowController
com.rti.dds.publication.Publisher
(p. 1262),
and
(p. 964),
com.rti.dds.publication.DataWriter (p. 557) classes as well as
the
com.rti.dds.publication.PublisherListener
(p. 1289)
and
com.rti.dds.publication.DataWriterListener (p. 586) interfaces, and
more generally, all that is needed on the publication side.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.81 Publishers
6.81
181
Publishers
Classes
interface Publisher
<<interface>> (p. 279) A publisher is the object responsible for the actual
dissemination of publications.
class PublisherAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
interface PublisherListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for com.rti.dds.publication.Publisher ( p. 1262) status.
class PublisherQos
QoS policies supported by a com.rti.dds.publication.Publisher ( p. 1262)
entity.
class PublisherSeq
Declares IDL sequence < com.rti.dds.publication.Publisher ( p. 1262) >
.
Variables
static final DataWriterQos DATAWRITER QOS DEFAULT
Special value for creating com.rti.dds.publication.DataWriter ( p. 557)
with default QoS.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
182
Module Documentation
6.81.1
Detailed Description
6.81.2
Variable Documentation
6.81.2.1
Initial value:
new DataWriterQos()
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.81 Publishers
6.81.2.2
183
final DataWriterQos DATAWRITER QOS USE TOPIC QOS = new DataWriterQos() [static,
inherited]
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
184
Module Documentation
6.82
Data Writers
Classes
class AcknowledgmentInfo
Information about an application-level acknowledged sample.
interface DataWriter
<<interface>> (p. 279) Allows an application to set the value of the data
to be published under a given com.rti.dds.topic.Topic ( p. 1545).
class DataWriterAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods or functions.)
class DataWriterCacheStatus
<<eXtension>> (p. 278) The status of the writers cache.
interface DataWriterListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for writer status.
class DataWriterProtocolStatus
<<eXtension>> (p. 278) The status of a writers internal protocol related
metrics, like the number of samples pushed, pulled, filtered; and status of
wire protocol traffic.
class DataWriterQos
QoS policies supported by a com.rti.dds.publication.DataWriter ( p. 557)
entity.
class LivelinessLostStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS LOST STATUS
class OfferedDeadlineMissedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED DEADLINE MISSED STATUS
class OfferedIncompatibleQosStatus
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
185
class PublicationMatchedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.PUBLICATION MATCHED STATUS
class ReliableReaderActivityChangedStatus
<<eXtension>> (p. 278) Describes the activity (i.e. are acknowledgements
forthcoming) of reliable readers matched to a reliable writer.
class ReliableWriterCacheChangedStatus
<<eXtension>> (p. 278) A summary of the state of a data writers cache
of unacknowledged samples written.
class ReliableWriterCacheEventCount
<<eXtension>> (p. 278) The number of times the number of unacknowledged samples in the cache of a reliable writer hit a certain well-defined
threshold.
class FooDataWriter
<<interface>> (p. 279) <<generic>> (p. 279) User data type specific
data writer.
6.82.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
186
Module Documentation
6.83
Flow Controllers
com.rti.dds.publication.FlowController
<<eXtension>>
( p. 278)
(p. 964) and associated elements
Classes
interface FlowController
<<interface>> (p. 279) A flow controller is the object responsible for
shaping the network traffic by determining when attached asynchronous
com.rti.dds.publication.DataWriter ( p. 557) instances are allowed to
write data.
class FlowControllerProperty t
Determines
the
flow
control
characteristics
com.rti.dds.publication.FlowController ( p. 964).
of
the
class FlowControllerSchedulingPolicy
Kinds of flow controller scheduling policy.
class FlowControllerTokenBucketProperty t
com.rti.dds.publication.FlowController ( p. 964) uses the popular token
bucket approach for open loop network flow control. The flow control characteristics are determined by the token bucket properties.
Variables
static final String DEFAULT FLOW CONTROLLER NAME
[default] Special value of com.rti.dds.infrastructure.PublishModeQosPolicy.flow controller name ( p. 1297) that refers to the built-in default flow controller.
static
final
NAME
String
Special value of com.rti.dds.infrastructure.PublishModeQosPolicy.flow controller name ( p. 1297) that refers to the built-in fixed-rate flow
controller.
static final
NAME
String
Special value of com.rti.dds.infrastructure.PublishModeQosPolicy.flow controller name ( p. 1297) that refers to the built-in on-demand flow
controller.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.83.1
187
Detailed Description
<<eXtension>>
( p. 278)
com.rti.dds.publication.FlowController
(p. 964) and associated elements
com.rti.dds.publication.FlowController (p. 964) provides the network traffic shaping capability to asynchronous com.rti.dds.publication.DataWriter
(p. 557) instances. For use cases and advantages of publishing asnychronously,
please refer to com.rti.dds.infrastructure.PublishModeQosPolicy
(p. 1295) of com.rti.dds.publication.DataWriterQos (p. 610).
See also:
com.rti.dds.infrastructure.PublishModeQosPolicy (p. 1295)
com.rti.dds.publication.DataWriterQos.publish mode (p. 615)
com.rti.dds.infrastructure.AsynchronousPublisherQosPolicy
(p. 397)
6.83.2
Variable Documentation
6.83.2.1
[default] Special value of com.rti.dds.infrastructure.PublishModeQosPolicy.flow controller name (p. 1297) that refers to the built-in default flow controller.
RTI Connext provides several built-in com.rti.dds.publication.FlowController
(p. 964) for use with an asynchronous com.rti.dds.publication.DataWriter
(p. 557). The user can choose to use the built-in flow controllers and optionally
modify their properties or can create a custom flow controller.
By default, flow control is disabled.
That is, the built-in
com.rti.dds.publication.FlowController.DEFAULT FLOW CONTROLLER NAME (p. 187) flow controller does not apply any
flow control. Instead, it allows data to be sent asynchronously as soon as it is
written by the com.rti.dds.publication.DataWriter (p. 557).
Essentially,
this
is
equivalent
to
a
user-created
com.rti.dds.publication.FlowController (p. 964) with the following
com.rti.dds.publication.FlowControllerProperty t (p. 968) settings:
- com.rti.dds.publication.FlowControllerProperty t.scheduling policy
(p. 969) = com.rti.dds.publication.FlowControllerSchedulingPolicy.FlowControllerSchedulingPolicy.EDF FLOW CONTROLLER SCHED POLICY
com.rti.dds.publication.FlowControllerProperty t.token bucket
(p. 969) max tokens = com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
188
Module Documentation
6.83.2.2
Special value of com.rti.dds.infrastructure.PublishModeQosPolicy.flow controller name (p. 1297) that refers to the built-in fixed-rate flow controller.
RTI
Connext
provides
several
builtin
(p. 352)
com.rti.dds.publication.FlowController (p. 964) for use with an asynchronous com.rti.dds.publication.DataWriter (p. 557).
The user can
choose to use the built-in flow controllers and optionally modify their
properties or can create a custom flow controller.
The built-in com.rti.dds.publication.FlowController.FIXED RATE FLOW CONTROLLER NAME (p. 188) flow controller shapes the network
traffic by allowing data to be sent only once every second. Any accumulated
samples destined for the same destination are coalesced into as few network
packets as possible.
Essentially,
this
is
equivalent
to
a
user-created
com.rti.dds.publication.FlowController (p. 964) with the following
com.rti.dds.publication.FlowControllerProperty t (p. 968) settings:
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
189
6.83.2.3
Special value of com.rti.dds.infrastructure.PublishModeQosPolicy.flow controller name (p. 1297) that refers to the built-in on-demand flow controller.
RTI
Connext
provides
several
builtin
(p. 352)
com.rti.dds.publication.FlowController (p. 964) for use with an asynchronous com.rti.dds.publication.DataWriter (p. 557).
The user can
choose to use the built-in flow controllers and optionally modify their
properties or can create a custom flow controller.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
190
Module Documentation
The built-in com.rti.dds.publication.FlowController.ON DEMAND FLOW CONTROLLER NAME (p. 189) allows data to be sent only
when the user calls com.rti.dds.publication.FlowController.trigger flow
(p. 967). With each trigger, all accumulated data since the previous trigger is sent (across all com.rti.dds.publication.Publisher (p. 1262) or
com.rti.dds.publication.DataWriter (p. 557) instances). In other words,
the network traffic shape is fully controlled by the user. Any accumulated samples destined for the same destination are coalesced into as few network packets
as possible.
This external trigger source is ideal for users who want to implement some
form of closed-loop flow control or who want to only put data on the
wire every so many samples (e.g.
with the number of samples based
on com.rti.ndds.transport.Transport.Property t.gather send buffer count max (p. 1574)).
Essentially,
this
is
equivalent
to
a
user-created
com.rti.dds.publication.FlowController (p. 964) with the following
com.rti.dds.publication.FlowControllerProperty t (p. 968) settings:
- com.rti.dds.publication.FlowControllerProperty t.scheduling policy
(p. 969) = com.rti.dds.publication.FlowControllerSchedulingPolicy.FlowControllerSchedulingPolicy.EDF
FLOW CONTROLLER SCHED POLICY
com.rti.dds.publication.FlowControllerProperty t.token bucket
(p. 969) max tokens = com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106)
com.rti.dds.publication.FlowControllerProperty t.token bucket
(p. 969)
tokens added per period
=
com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106)
com.rti.dds.publication.FlowControllerProperty t.token bucket
(p. 969)
tokens leaked per period
=
com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106)
com.rti.dds.publication.FlowControllerProperty t.token bucket
(p. 969) period = com.rti.dds.infrastructure.Duration t.INFINITE
com.rti.dds.publication.FlowControllerProperty t.token bucket
(p. 969)
bytes per token
=
com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106)
See also:
com.rti.dds.publication.Publisher.create datawriter (p. 1269)
com.rti.dds.domain.DomainParticipant.lookup flowcontroller
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
191
192
Module Documentation
6.84
Subscription Module
Contains
the
com.rti.dds.subscription.Subscriber
(p. 1476),
com.rti.dds.subscription.DataReader
(p. 487),
and
com.rti.dds.subscription.ReadCondition
(p. 1313),
com.rti.dds.subscription.QueryCondition (p. 1311) classes, as well
as the com.rti.dds.subscription.SubscriberListener (p. 1503) and
com.rti.dds.subscription.DataReaderListener (p. 518) interfaces, and
more generally, all that is needed on the subscription side.
Modules
Subscribers
com.rti.dds.subscription.Subscriber ( p. 1476) entity and associated elements
DataReaders
com.rti.dds.subscription.DataReader ( p. 487) entity and associated elements
Data Samples
com.rti.dds.subscription.SampleInfo
com.rti.dds.subscription.SampleStateKind
com.rti.dds.subscription.ViewStateKind
com.rti.dds.subscription.InstanceStateKind
ated elements
6.84.1
( p. 1061)
( p. 1398),
( p. 1426),
( p. 1703),
and associ-
Detailed Description
Contains
the
com.rti.dds.subscription.Subscriber
(p. 1476),
com.rti.dds.subscription.DataReader
(p. 487),
com.rti.dds.subscription.ReadCondition
(p. 1313),
and
com.rti.dds.subscription.QueryCondition (p. 1311) classes, as well
as the com.rti.dds.subscription.SubscriberListener (p. 1503) and
com.rti.dds.subscription.DataReaderListener (p. 518) interfaces, and
more generally, all that is needed on the subscription side.
6.84.2
Data is
erations
jects:
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
193
(p. 983),
(p. 991),
The general semantics of the read() operation is that the application only gets
access to the corresponding data (i.e. a precise instance value); the data remains
the responsibility of RTI Connext and can be read again.
The semantics of the take() operations is that the application takes full responsibility for the data; that data will no longer be available locally to RTI
Connext. Consequently, it is possible to access the same information multiple
times only if all previous accesses were read() operations, not take().
Each of these operations returns a collection of Data values and associated
com.rti.dds.subscription.SampleInfo (p. 1398) objects. Each data value
represents an atom of data information (i.e., a value for one instance). This
collection may contain samples related to the same or different instances (identified by the key). Multiple samples can refer to the same instance if the settings
of the HISTORY (p. 79) QoS allow for it.
To return the memory back to the middleware, every read() or take()
that retrieves a sequence of samples must be followed with a call to
com.rti.ndds.example.FooDataReader.return loan (p. 1008).
See also:
Interpretation of the SampleInfo (p. 1400)
6.84.2.1
of
the
desired
view
states
(any
combination
com.rti.dds.subscription.ViewStateKind (p. 1703))
of
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
194
Module Documentation
the
desired
instance
states
(any
combination
com.rti.dds.subscription.InstanceStateKind (p. 1061))
of
The read() and take() operations are non-blocking and just deliver what is
currently available that matches the specified states.
The read w condition() and take w condition() operations take a
com.rti.dds.subscription.ReadCondition (p. 1313) object as a parameter instead of sample, view or instance states.
The behaviour is
that the samples returned will only be those for which the condition is com.rti.dds.infrastructure.true.
These operations, in conjunction
with com.rti.dds.subscription.ReadCondition (p. 1313) objects and a
com.rti.dds.infrastructure.WaitSet (p. 1709), allow performing waiting
reads.
Once the data samples are available to the data readers, they can be read or
taken by the application. The basic rule is that the application may do this in
any order it wishes. This approach is very flexible and allows the application
ultimate control.
To access data coherently, or in order, the PRESENTATION (p. 90) QoS
must be set properly.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.85 Subscribers
6.85
195
Subscribers
Classes
interface Subscriber
<<interface>> (p. 279) A subscriber is the object responsible for actually
receiving data from a subscription ( p. 353).
class SubscriberAdapter
A listener adapter in the spirit of the Java AWT listener adapters. (The
Adapter provides empty implementations for the listener methods).
interface SubscriberListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for status about a subscriber.
class SubscriberQos
QoS policies supported
( p. 1476) entity.
by
com.rti.dds.subscription.Subscriber
class SubscriberSeq
Declares IDL sequence < com.rti.dds.subscription.Subscriber ( p. 1476)
>.
Variables
static final DataReaderQos DATAREADER QOS DEFAULT
Special value for creating data reader with default QoS.
static final DataReaderQos DATAREADER QOS USE TOPIC QOS = new DataReaderQos()
Special value for creating com.rti.dds.subscription.DataReader
( p. 487)
with
a
combination
of
the
default
com.rti.dds.subscription.DataReaderQos
( p. 536)
and
the
com.rti.dds.topic.TopicQos ( p. 1566).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
196
Module Documentation
6.85.1
Detailed Description
6.85.2
Variable Documentation
6.85.2.1
Initial value:
new DataReaderQos()
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.85 Subscribers
6.85.2.2
197
final DataReaderQos DATAREADER QOS USE TOPIC QOS = new DataReaderQos() [static,
inherited]
Special
value
for
creating
com.rti.dds.subscription.DataReader
(p. 487)
with
a
combination
of
the
default
and
the
com.rti.dds.subscription.DataReaderQos
(p. 536)
com.rti.dds.topic.TopicQos (p. 1566).
The use of this value is equivalent to the application obtaining the
default com.rti.dds.subscription.DataReaderQos (p. 536) and the
com.rti.dds.topic.TopicQos (p. 1566) (by means of the operation
com.rti.dds.topic.Topic.get qos (p. 1548)) and then combining these two
QoS using the operation com.rti.dds.subscription.Subscriber.copy from topic qos (p. 1499) whereby any policy that is set on the
com.rti.dds.topic.TopicQos (p. 1566) overrides the corresponding policy
on the default QoS. The resulting QoS is then applied to the creation of the
com.rti.dds.subscription.DataReader (p. 487).
This value should only be used in com.rti.dds.subscription.Subscriber.create datareader (p. 1483).
See also:
com.rti.dds.subscription.Subscriber.create datareader (p. 1483)
com.rti.dds.subscription.Subscriber.get default datareader qos
(p. 1480)
com.rti.dds.topic.Topic.get qos (p. 1548)
com.rti.dds.subscription.Subscriber.copy from topic qos (p. 1499)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
198
Module Documentation
6.86
DataReaders
Modules
Read Conditions
com.rti.dds.subscription.ReadCondition ( p. 1313) and associated elements
Query Conditions
com.rti.dds.subscription.QueryCondition ( p. 1311) and associated elements
Classes
interface DataReader
<<interface>> (p. 279) Allows the application to: (1) declare the data it
wishes to receive (i.e. make a subscription ( p. 353)) and (2) access the data
received by the attached com.rti.dds.subscription.Subscriber ( p. 1476).
class DataReaderAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
class DataReaderCacheStatus
<<eXtension>> (p. 278) The status of the readers cache.
interface DataReaderListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for reader status.
class DataReaderProtocolStatus
<<eXtension>> (p. 278) The status of a readers internal protocol related
metrics, like the number of samples received, filtered, rejected; and status of
wire protocol traffic.
class DataReaderQos
QoS policies supported by a com.rti.dds.subscription.DataReader
( p. 487) entity.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.86 DataReaders
199
class DataReaderSeq
Declares IDL sequence < com.rti.dds.subscription.DataReader ( p. 487)
>.
class LivelinessChangedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS CHANGED STATUS
class RequestedDeadlineMissedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.REQUESTED DEADLINE MISSED STATUS
class RequestedIncompatibleQosStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.REQUESTED INCOMPATIBLE QOS STATUS
class SampleLostStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE LOST STATUS STATUS
class SampleLostStatusKind
Kinds of reasons why a sample was lost.
class SampleRejectedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE REJECTED STATUS
class SampleRejectedStatusKind
Kinds of reasons for rejecting a sample.
class SubscriptionMatchedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.SUBSCRIPTION MATCHED STATUS
class FooDataReader
<<interface>> (p. 279) <<generic>> (p. 279) User data type-specific
data reader.
6.86.1
Detailed Description
200
Module Documentation
6.87
Read Conditions
Classes
interface ReadCondition
<<interface>> (p. 279) Conditions specifically dedicated to read operations
and attached to one com.rti.dds.subscription.DataReader ( p. 487).
6.87.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.88
201
Query Conditions
Classes
interface QueryCondition
<<interface>>
(p. 279)
These
are
specialised
com.rti.dds.subscription.ReadCondition ( p. 1313) objects that allow the application to also specify a filter on the locally available data.
6.88.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
202
Module Documentation
6.89
Data Samples
com.rti.dds.subscription.SampleInfo
(p. 1398),
com.rti.dds.subscription.SampleStateKind
(p. 1426),
com.rti.dds.subscription.ViewStateKind
(p. 1703),
com.rti.dds.subscription.InstanceStateKind (p. 1061) and associated
elements
Modules
Sample States
com.rti.dds.subscription.SampleStateKind ( p. 1426) and associated elements
View States
com.rti.dds.subscription.ViewStateKind ( p. 1703) and associated elements
Instance States
com.rti.dds.subscription.InstanceStateKind ( p. 1061) and associated
elements
Classes
class SampleInfo
Information that accompanies each sample that is read or taken.
class SampleInfoSeq
Declares IDL
( p. 1398) > .
6.89.1
sequence
<
com.rti.dds.subscription.SampleInfo
Detailed Description
com.rti.dds.subscription.SampleInfo
(p. 1398),
com.rti.dds.subscription.SampleStateKind
(p. 1426),
com.rti.dds.subscription.ViewStateKind
(p. 1703),
com.rti.dds.subscription.InstanceStateKind (p. 1061) and associated
elements
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.90
203
Sample States
Classes
class SampleStateKind
Indicates whether or not a sample has ever been read.
Variables
static final int ANY SAMPLE STATE = 0xffff
Any sample state com.rti.dds.subscription.SampleStateKind.SampleStateKind.READ SAMPLE STATE | com.rti.dds.subscription.SampleStateKind.SampleStateKind.NOT READ SAMPLE STATE.
6.90.1
Detailed Description
6.90.2
Variable Documentation
6.90.2.1
Any sample state com.rti.dds.subscription.SampleStateKind.SampleStateKind.READ SAMPLE STATE | com.rti.dds.subscription.SampleStateKind.SampleStateKind.NOT READ SAMPLE STATE.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
204
Module Documentation
6.91
View States
Classes
class ViewStateKind
Indicates whether or not an instance is new.
Variables
static final int ANY VIEW STATE = 0xffff
Any view state com.rti.dds.subscription.ViewStateKind.ViewStateKind.NEW VIEW STATE | com.rti.dds.subscription.ViewStateKind.ViewStateKind.NOT NEW VIEW STATE.
6.91.1
Detailed Description
6.91.2
Variable Documentation
6.91.2.1
Any view state com.rti.dds.subscription.ViewStateKind.ViewStateKind.NEW VIEW STATE | com.rti.dds.subscription.ViewStateKind.ViewStateKind.NOT NEW VIEW STATE.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.92
205
Instance States
Classes
class InstanceStateKind
Indicates
is
the
samples
are
from
com.rti.dds.publication.DataWriter ( p. 557) or not.
live
Variables
static final int ANY INSTANCE STATE = 0xffff
Any instance state ALIVE INSTANCE STATE | NOT ALIVE DISPOSED INSTANCE STATE
|
NOT ALIVE NO WRITERS INSTANCE STATE.
6.92.1
Detailed Description
6.92.2
Variable Documentation
6.92.2.1
Any instance state ALIVE INSTANCE STATE | NOT ALIVE DISPOSED INSTANCE STATE | NOT ALIVE NO WRITERS INSTANCE STATE.
6.92.2.2
Not alive instance state NOT ALIVE DISPOSED INSTANCE STATE | NOT ALIVE NO WRITERS INSTANCE STATE.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
206
Module Documentation
6.93
Infrastructure Module
Defines the abstract classes and the interfaces that are refined by the other
modules. Contains common definitions such as return codes, status values, and
QoS policies.
Modules
Conditions and WaitSets
com.rti.dds.infrastructure.Condition
( p. 464)
com.rti.dds.infrastructure.WaitSet ( p. 1709) and related items.
and
Time Support
Time and duration types and defines.
Entity Support
com.rti.dds.infrastructure.Entity
( p. 931),
com.rti.dds.infrastructure.Listener ( p. 1130) and related items.
GUID Support
<<eXtension>> (p. 278) GUID type and defines.
Object Support
<<eXtension>> (p. 278) Object related items.
QoS Policies
Quality of Service (QoS) policies.
Return Codes
Types of return codes.
Status Kinds
Kinds of communication status.
Exception Codes
<<eXtension>> (p. 278) Exception codes.
Sequence Support
The com.rti.dds.infrastructure.com.rti.dds.util.Sequence interface allows you
to work with variable-length collections of homogeneous data.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
207
Classes
class Enum
A superclass for all type-safe enumerated types.
6.93.1
Detailed Description
Defines the abstract classes and the interfaces that are refined by the other
modules. Contains common definitions such as return codes, status values, and
QoS policies.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
208
Module Documentation
6.94
Built-in Sequences
Classes
class BooleanSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
boolean >.
class ByteSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
byte >.
class CharSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
char >.
class DoubleSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
double >.
class FloatSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
float >.
class IntSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.int >.
class LongDoubleSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.LongDouble >.
class LongSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
long >.
class ShortSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
short >.
class StringSeq
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
209
class WcharSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.char >.
class WstringSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.char >.
6.94.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
210
Module Documentation
6.95
Multi-channel DataWriters
6.95.1
6.95.2
6.95.3
6.95.4
6.95.4.1
Reliable Delivery
211
Reliable
delivery
is
only
guaranteed
when
the
com.rti.dds.infrastructure.PresentationQosPolicy.access scope
(p. 1225) is set to com.rti.dds.infrastructure.PresentationQosPolicyAccessScopeKind.PresentationQosPolicyAccessSco
PRESENTATION QOS and the filters in com.rti.dds.infrastructure.MultiChannelQosPolicy
(p. 1187) are keyed-only based.
If any of the guard filters are based on non-key fields, RTI Connext only guarantees reception of the most recent data from the MultiChannel DataWriter.
6.95.4.2
212
Module Documentation
With
batching
and
MultiChannel
DataWriters,
the
size
of
the
DataWriters
send
queue
should
be
configured
using
com.rti.dds.infrastructure.ResourceLimitsQosPolicy.max samples
(p. 1351) instead of max batches com.rti.dds.infrastructure.DataWriterResourceLimitsQosPolicy
batches (p. 624) in order to take advantage of heartbeats per max samples.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.96
213
Pluggable Transports
Modules
Using Transport Plugins
Configuring transports used by RTI Connext.
6.96.1
Detailed Description
6.96.2
Overview
RTI Connext has a pluggable transports architecture. The core of RTI Connext is transport agnostic; it does not make any assumptions about the actual
transports used to send and receive messages. Instead, the RTI Connext core
uses an abstract transport API to interact with the transport plugins which
implement that API.
A transport plugin implements the abstract transport API and performs the
actual work of sending and receiving messages over a physical transport. A
collection of builtin plugins (see Built-in Transport Plugins (p. 222)) is
delivered with RTI Connext for commonly used transports. New transport
plugins can easily be created, thus enabling RTI Connext applications to run
over transports that may not even be conceived yet. This is a powerful capability
and that distinguishes RTI Connext from competing middleware approaches.
RTI Connext also provides a set of APIs for installing and configuring transport plugins to be used in an application. So that RTI Connext applications
work out of the box, a subset of the builtin transport plugins is preconfigured
by default (see com.rti.dds.infrastructure.TransportBuiltinQosPolicy
(p. 1580)). You can turn-off some or all of the builtin transport plugins. In
addition, you can configure other transport plugins for use by the application.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
214
Module Documentation
6.96.3
Transport Aliases
6.96.4
215
Transport Lifecycle
A transport plugin is owned by whoever created it. Thus, if you create and
register a transport plugin with a com.rti.dds.domain.DomainParticipant
(p. 654), you are responsible for deleting it by calling its destructor. Note that
builtin transport plugins (TRANSPORT BUILTIN (p. 119)) and transport
plugins that are loaded through the PROPERTY (p. 92) QoS policy (see
Loading Transport Plugins through Property QoS Policy of Domain
Participant (p. 219)) are automatically managed by RTI Connext.
A user-created transport plugin must not be deleted while it is still in
This
use by a com.rti.dds.domain.DomainParticipant (p. 654).
generally means that a user-created transport plugin instance can
only be deleted after the com.rti.dds.domain.DomainParticipant
(p. 654)
with
which
it
was
registered
is
deleted
(see
com.rti.dds.domain.DomainParticipantFactory.delete participant
(p. 749)). Note that a transport plugin cannot be unregistered from a
com.rti.dds.domain.DomainParticipant (p. 654).
A transport plugin instance cannot be registered with more than one
com.rti.dds.domain.DomainParticipant (p. 654) at a time. This requirement is necessary to guarantee the multi-threaded safety of the transport API.
If the same physical transport resources are to be used with more
than one com.rti.dds.domain.DomainParticipant (p. 654) in the same
address space, the transport plugin should be written in such a
way so that it can be instantiated multiple timesonce for each
com.rti.dds.domain.DomainParticipant (p. 654) in the address space.
Note that it is always possible to write the transport plugin so that multiple transport plugin instances share the same underlying resources; however the
burden (if any) of guaranteeing multi-threaded safety to access shared resource
shifts to the transport plugin developer.
6.96.5
216
Module Documentation
used to distinguish between different transport plugin implementations.
Thus, a transport plugin vendor should ensure that its transport plugin
implementation has a unique class.
Two transport plugin instances report the same class iff they have compatible implementations. Transport plugin instances with mismatching
classes are not allowed (by the RTI Connext Core) to communicate with
one another.
Multiple implementations (possibly from different vendors) for a physical
transport mechanism can co-exist in an RTI Connext application, provided
they use different transport class IDs.
The class ID can also be used to distinguish between different transport
protocols over the same physical transport network (e.g., UDP vs. TCP
over the IP routing infrastructure).
The remaining bits of an address using the 128-bit address representation will be considered as part of the network address (see Transport
Network Address (p. 381)) and thus ignored by the transport plugins
internal addressing scheme.
For unicast addresses, the transport plugin is expected to ignore the higher
(128 - com.rti.ndds.transport.Transport.Property t.address bit count (p. 1573)) bits. RTI Connext is free to manipulate those bits freely
in the addresses passed in/out to the transport plugin APIs.
Theoretically, the significant address bits count, N is related to the size of
the underlying transport network as follows:
address bits count >= ceil(log2 (total addressable transport unicast interf aces))
The equality holds when the most compact (theoretical) internal address
mapping scheme is used. A practical address mapping scheme may waste
some bits.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.96.6
217
The per instance attributes to configure the plugin instance are generally passed
in to the plugin constructor. These are defined by the transport plugin writer,
and can be used to:
- customize the behavior of an instance of a transport plugin, including the send
and the receiver buffer sizes, the maximum message size, various transport level
classes of service (CoS), and so on.
- specify the resource values, network interfaces to use, various transport level
policies, and so on.
RTI Connext requires that every transport plugin instance must specify
the
com.rti.ndds.transport.Transport.Property t.message size max
(p. 1574) and com.rti.ndds.transport.Transport.Property t.gather send buffer count max (p. 1574).
It is up to the transport plugin developer to make these available for configuration to transport plugin user.
Note that it is important that the instance attributes are compatible between
the sending side and the receiving side of communicating applications using
different instances of a transport plugin class. For example, if one side is configured to send messages larger than can be received by the other side, then
communications via the plugin may fail.
6.96.7
The address bits not used by the transport plugin for its internal addressing
constitute its network address bits.
In order for RTI Connext to properly route the messages, each unicast interface in the RTI Connext domain must have a unique address. RTI Connext
allows the user to specify the value of the network address when installing
a transport plugin via the com.rti.ndds.transport.TransportSupport.register transport() API.
The network address for a transport plugin should be chosen such that the
resulting fully qualified 128-bit address will be unique in the RTI Connext
domain. Thus, if two instances of a transport plugin are registered with a
com.rti.dds.domain.DomainParticipant (p. 654), they will be at different
network addresses in order for their unicast interfaces to have unique fully qualified 128-bit addresses. It is also possible to create multiple transports with the
same network address, as it can be useful for certain use cases; note that this
will require special entity configuration for most transports to avoid clashes in
resource use (e.g. sockets for UDPv4 transport).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
218
Module Documentation
6.96.8
The user can set up a routing table to restrict the use of a transport plugin to
send messages to selected addresses ranges.
6.96.9
By default, a transport plugin is configured to receive incoming messages destined to addresses in the network address range at which the plugin was registered.
RTI Connext allows the user to configure the routing of incoming messages via
the com.rti.ndds.transport.TransportSupport.add receive route() API, so that
a transport plugin will be used to receive messages only on certain ranges of
addresses. The method can be called multiple times for a transport plugin, with
different address ranges.
+--------------------------------------------------------------------+
|
Transport Plugin
<- Incoming Address Range 1 |
+--------------------------------------------------------------------+
|
:
<:
|
+--------------------------------------------------------------------+
|
Transport Plugin
<- Incoming Address Range M |
+--------------------------------------------------------------------+
The user can set up a routing table to restrict the use of a transport plugin
to receive messages from selected ranges. For example, the user may restrict a
transport plugin to
- receive messages from a certain multicast address range.
- receive messages only on certain unicast interfaces (when multiple unicast
interfaces are available on the transport plugin).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.97
219
Classes
class TransportSupport
<<interface>> (p. 279) The utility class used to configure RTI Connext
pluggable transports.
6.97.1
Detailed Description
6.97.2
220
Module Documentation
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
<TRANSPORT PREFIX>.library
13
Description
Required?
Comma-separated
YES
strings indicating the
prefix names of all
plugins that will be
loaded by RTI
Connext. Up to 8
plugins may be
specified. For example,
dds.transport.WAN.wan1,
dds.transport.DTLS.dtls1,
In the following
examples,
<TRANSPORT PREFIX> is used to
indicate one element of
this string that is used
as a prefix in the
property names for all
the settings that are
related to the plugin.
<TRANSPORT PREFIX> must begin
with dds.transport.
(such as
dds.transport.mytransport).
Should be set to the
YES
name of the dynamic
library (.so for
Unix/Solaris, and .dll
for Windows) that
contains the transport
plugin implementation.
This library (and all
the other dependent
dynamic libraries)
needs to be in the path
during run time for
used by RTI Connext
(in the LD LIBRARY PATH
environment variable
on UNIX/Solaris
systems, in PATH for
Windows systems).
Should be set to the
YES
name of the function
with the
of
09:02:20
2012prototype
for RTI Connext
Java API by Doxygen
com.rti.ndds.transport.NDDS Transport create plugin that can be
called by RTI Connext
to create an instance of
the plugin. The
resulting transport
plugin will then be
221
222
Module Documentation
6.98
Classes
interface ShmemTransport
Built-in transport ( p. 376) plug-in for inter-process communications using
shared memory.
interface UDPv4Transport
Built-in transport ( p. 376) plug-in using UDP/IPv4.
interface UDPv6Transport
Built-in transport ( p. 376) plug-in using UDP/IPv6.
6.98.1
Detailed Description
223
Each builtin transport contains its own set of properties. For example, the
com.rti.ndds.transport.UDPv4Transport (p. 1668) allows the application
to specify whether or not multicast is supported, the maximum size of the
message, and provides a mechanism for the application to filter out network
interfaces.
The builtin transport plugin properties can be changed by
the
method
com.rti.ndds.transport.TransportSupport.set builtin transport property()
(p. 1603)
or
by
using
the
PROPERTY
(p. 92)
QoS
policy
associated
with
the
com.rti.dds.domain.DomainParticipant (p. 654). Builtin transport plugin
properties specified in com.rti.dds.infrastructure.PropertyQosPolicy
always
overwrite
the
ones
specified
through
(p. 1236)
com.rti.ndds.transport.TransportSupport.set builtin transport property() (p. 1603). Refer to the specific builtin transport for the list of
property names that can be specified through PROPERTY (p. 92) QoS
policy.
Any changes to the builtin transport properties after the builtin transports have
been registered with will have no effect.
See also:
com.rti.ndds.transport.TransportSupport.set builtin transport property() (p. 1603) com.rti.dds.infrastructure.PropertyQosPolicy
(p. 1236)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
224
Module Documentation
6.99
Configuration Utilities
Classes
class LibraryVersion t
The version of a single library shipped as part of an RTI Connext distribution.
class LogCategory
Categories of logged messages.
class Logger
<<interface>> (p. 279) The singleton type used to configure RTI Connext
logging.
interface LoggerDevice
<<interface>> (p. 279) Logging device interface. Use for user-defined logging devices.
class LogLevel
Level category assigned to RTI Connext log messages returned to an output
device.
class LogMessage
Log message.
class LogPrintFormat
The format used to output RTI Connext diagnostic information.
class LogVerbosity
The verbosities at which RTI Connext diagnostic information is logged.
class Version
<<interface>> (p. 279) The version of an RTI Connext distribution.
6.99.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.100
225
APIs related to RTI Connext Durability and Persistence. RTI Connext offers
the following mechanisms for achieving durability and persistence:
Durable Writer History (p. 225)
Durable Reader State (p. 225)
Data Durability (p. 226)
To use any of these features, you need a relational database, which is not
included with RTI Connext. Supported databases are listed in the Release
Notes.
These three features can be used separately or in combination.
6.100.1
6.100.2
226
Module Documentation
6.100.3
Data Durability
6.100.4
Every
modification
to
the
global
dataspace
made
by
a
com.rti.dds.publication.DataWriter (p. 557) is identified by a pair
(virtual GUID, sequence number).
The virtual GUID (Global Unique Identifier) is a 16-byte character identifier associated with a com.rti.dds.publication.DataWriter (p. 557) or
com.rti.dds.subscription.DataReader (p. 487); it is used to uniquely
identify this entity in the global data space.
The sequence number is a 64-bit identifier that identifies changes published
by a specific com.rti.dds.publication.DataWriter (p. 557).
entities
Several
com.rti.dds.publication.DataWriter
(p. 557)
can be configured with the same virtual GUID. If each of these
com.rti.dds.publication.DataWriter (p. 557) entities publishes a sample with sequence number 0, the sample will only be received once by the
com.rti.dds.subscription.DataReader (p. 487) entities subscribing to the
content published by the com.rti.dds.publication.DataWriter (p. 557)
entities.
RTI Connext also uses the virtual GUID (Global Unique Identifier) to associate
a persisted state (state in permanent storage) to the corresponding DDS entity.
For example, the history of a com.rti.dds.publication.DataWriter (p. 557)
will be persisted in a database table with a name generated from the virtual GUID of the com.rti.dds.publication.DataWriter (p. 557). If the
com.rti.dds.publication.DataWriter (p. 557) is restarted, it must have associated the same virtual GUID to restore its previous history.
Likewise, the state of a com.rti.dds.subscription.DataReader (p. 487)
will be persisted in a database table whose name is generated from the
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
227
6.100.5
6.100.6
228
Module Documentation
6.100.7
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
229
Description
Must be set to dds.data writer.history.odbc plugin.builtin
to enable durable writer history in
the DataWriter. This property is
required.
The ODBC DSN (Data Source
Name) associated with the database
where the writer history must be
persisted. This property is required.
This property tells RTI Connext
which ODBC driver to load. If the
property is not specified, RTI
Connext will try to use the standard
ODBC driver manager library:
UnixOdbc (odbc32.dll) on
UNIX/Linux systems; the Windows
ODBC driver manager (libodbc.so)
on Windows systems).
Configures the username used to
connect to the database. This
property is not used if it is
unspecified. There is no default
value.
Configures the password used to
connect to the database. This
property is not used if it is
unspecified. There is no default
value.
If set to 1, RTI Connext creates a
single connection per DSN that will
be shared across DataWriters within
the same Publisher.
If set to 0 (the default), a
com.rti.dds.publication.DataWriter
(p. 557) will create its own database
connection.
Default: 0 (false)
These properties configure the
resource limits associated with the
ODBC writer history caches. To
minimize the number of accesses to
the database, RTI Connext uses two
caches, one for samples and one for
instances. The initial and maximum
sizes of these caches are configured
using these properties. The resource
for limits
RTI Connext
API by Doxygen
instances,
initial Java
max instances, initial samples,
max samples and
max samples per instance in the
com.rti.dds.infrastructure.ResourceLimitsQosPolicy
(p. 1348) are used to configure the
maximum number of samples and
instances that can be stored in the
230
Property
dds.data reader.state.odbc.dsn
Module Documentation
Description
The ODBC DSN (Data Source
Name) associated with the database where the
com.rti.dds.subscription.DataReader
(p. 487) state must be persisted.
This property is required.
dds.data reader.state.filter To enable durable reader state, this
redundant samples
property must be set to 1.
Otherwise, the reader state will not
be kept and/or persisted. When the
reader state is not maintained, RTI
Connext does not filter duplicate
samples that may be coming from
the same virtual writer. By default,
this property is set to 1.
dds.data reader.state.odbc.driver
This property is used to indicate
which ODBC driver to load. If the
property is not specified, RTI
Connext will try to use the standard
ODBC driver manager library:
UnixOdbc (odbc32.dll) on
UNIX/Linux systems; the Windows
ODBC driver manager (libodbc.so)
on Windows systems).
dds.data This property configures the
reader.state.odbc.username
username used to connect to the
database. This property is not used
if it is unspecified. There is no
default value.
dds.data reader.state.odbc.password This property configures the
password used to connect to the
database. This property is not used
if it is unspecified. There is no
default value.
dds.data reader.state.restore
This property indicates if the
persisted
com.rti.dds.subscription.DataReader
(p. 487) state must be restored or
not once the
com.rti.dds.subscription.DataReader
(p. 487) is restarted. If this property
is 0, the previous state will be
deleted from the database. If it is 1,
the
com.rti.dds.subscription.DataReader
(p. 487) will restore its previous
state
from
the database
content.
Generated on Mon Aug 13 09:02:20 2012
for RTI
Connext
Java API
by Doxygen
Default: 1
dds.data reader.state.checkpoint This property controls how often
frequency
the reader state is stored in the
database. A value of N means to
store the state once every N
samples.
A high frequency will provide better
6.101
231
System Properties
System
Properties.
RTI
Connext
uses
the
com.rti.dds.infrastructure.PropertyQosPolicy (p. 1236) of a DomainParticipant to maintain a set of properties that provide system information such
as hostname.
Unless the default com.rti.dds.domain.DomainParticipantQos (p. 773)
value is overwritten, the system properties are automatically set in the
com.rti.dds.domain.DomainParticipantQos (p. 773) obtained by calling
the
method
com.rti.dds.domain.DomainParticipantFactory.get (p. 750)
or
using
the
constant
default participant qos
com.rti.dds.domain.DomainParticipantFactory.PARTICIPANT QOS DEFAULT (p. 149).
System
properties
are
also
automatically
set
in
the
com.rti.dds.domain.DomainParticipantQos (p. 773) loaded from an
XML QoS profile unless you disable property inheritance using the attribute
inherit in the XML tag <property>.
By default, the system properties are propagated to other DomainParticipants in the system and can be accessed through
builtin.ParticipantBuiltinTopicData.property.
You can disable the propagation of individual properties by setting
the flag com.rti.dds.infrastructure.Property t.propagate (p. 1235) to
com.rti.dds.infrastructure.false or by removing the property using the
method com.rti.dds.infrastructure.PropertyQosPolicyHelper.remove property (p. 1242).
The
number
of
system
properties
set
on
the
com.rti.dds.domain.DomainParticipantQos (p. 773) is platform specific.
6.101.1
6.101.2
Description
Hostname
Process ID
System
properties
are
affected
by
the
resource
limits
com.rti.dds.infrastructure.DomainParticipantResourceLimitsQosPolicy.participant Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
232
Module Documentation
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.102
233
6.102.1
234
Module Documentation
com.rti.dds.domain.DomainParticipantFactory.get datareader qos from profile (p. 761)
com.rti.dds.domain.DomainParticipantFactory.get datareader qos from profile w topic name (p. 761)
com.rti.dds.domain.DomainParticipantFactory.get qos profile libraries (p. 763)
com.rti.dds.domain.DomainParticipantFactory.get qos profiles
(p. 764)
com.rti.dds.domain.DomainParticipantFactory.load profiles
(p. 754)
The QoS profiles are reloaded replacing previously loaded profiles when the
following operations are called:
com.rti.dds.domain.DomainParticipantFactory.set qos (p. 754)
com.rti.dds.domain.DomainParticipantFactory.reload profiles
(p. 755)
The com.rti.dds.domain.DomainParticipantFactory.unload profiles()
(p. 755) operation will free the resources associated with the XML QoS profiles.
There are five ways to configure the XML resources (listed by load order):
The file NDDS QOS PROFILES.xml in NDDSHOME/resource/qos profiles 5.0.0/xml
is
loaded
if
it
exists
and
com.rti.dds.infrastructure.ProfileQosPolicy.ignore resource profile (p. 1233) in com.rti.dds.infrastructure.ProfileQosPolicy
(p. 1231) is set to com.rti.dds.infrastructure.false (first to be loaded). An
example file, NDDS QOS PROFILES.example.xml, is available for reference.
The URL groups separated by semicolons referenced by the enviroment variable NDDS QOS PROFILES are loaded if they exist
and
com.rti.dds.infrastructure.ProfileQosPolicy.ignore environment profile (p. 1232) in com.rti.dds.infrastructure.ProfileQosPolicy
(p. 1231) is set to com.rti.dds.infrastructure.false.
The
file
USER QOS PROFILES.xml
in
the
working
directory
will
be
loaded
if
it
exists
and
com.rti.dds.infrastructure.ProfileQosPolicy.ignore user profile
(p. 1232) in com.rti.dds.infrastructure.ProfileQosPolicy (p. 1231) is
set to com.rti.dds.infrastructure.false.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
235
by
6.102.2
URL
The location of the XML resources (only files and strings are supported) is
specified using a URL (Uniform Resource Locator) format. For example:
File Specification: file:///usr/local/default dds.xml
String Specification:
library></dds>
str://<dds><qos library> .
lt;/qos -
If the URL schema name is omitted, RTI Connext will assume a file name. For
example:
File Specification: /usr/local/default dds.xml
6.102.2.1
URL groups
To provide redundancy and fault tolerance, you can specify multiple locations
for a single XML document via URL groups. The syntax of a URL group is as
follows:
[URL1 | URL2 | URL2 | . . .| URLn]
For example:
[file:///usr/local/default dds.xml | file:///usr/local/alternative default dds.xml]
Only one of the elements in the group will be loaded by RTI Connext, starting
from the left.
Brackets are not required for groups with a single URL.
6.102.2.2
236
Module Documentation
The URL groups referenced by the environment variable are loaded if they exist
and com.rti.dds.infrastructure.ProfileQosPolicy.ignore environment profile (p. 1232) is set to com.rti.dds.infrastructure.false
For more information on XML Configuration, refer to the Users Manual.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.103
Publication Example
6.103.1
Prep
Create user data types using rtiddsgen (p. 298)
Set up
Get the factory (p. 239)
Set up participant (p. 239)
Set up publisher (p. 247)
Register user data type(s) (p. 241)
Set up topic(s) (p. 241)
Set up data writer(s) (p. 248)
Adjust the desired quality of service (QoS)
Adjust QoS on entities as necessary (p. 257)
Send data
Send data (p. 249)
Tear down
Tear down data writer(s) (p. 249)
Tear down topic(s) (p. 241)
Tear down publisher (p. 247)
Tear down participant (p. 240)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
237
238
Module Documentation
6.104
Subscription Example
6.104.1
Prep
Create user data types using rtiddsgen (p. 298)
Set up
Get the factory (p. 239)
Set up participant (p. 239)
Set up subscriber (p. 250)
Register user data type(s) (p. 241)
Set up topic(s) (p. 241)
Set up data reader(s) (p. 253)
Set up data reader (p. 254) OR Set up subscriber (p. 250) to receive
data
Adjust the desired quality of service (QoS)
Adjust QoS on entities as necessary (p. 257)
Receive data
Access received data either via a reader (p. 254) OR via a subscriber
(p. 251) (possibly in a ordered or coherent (p. 252) manner)
Tear down
Tear down data reader(s) (p. 256)
Tear down topic(s) (p. 241)
Tear down subscriber (p. 252)
Tear down participant (p. 240)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.105
239
6.105.1
6.105.2
6.105.3
Setting up a participant
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
240
Module Documentation
/* Set the peer hosts. These list all the computers the application
may communicate with along with the maximum maximum participant
index of the participants that can concurrently run on that
computer. This list only needs to be a superset of the actual list
of computers and participants that will be running at any time.
*/
/* To run this example across multiple nodes, modify the following
IP addresses to match your network configuration.
*/
final String[] NDDS_DISCOVERY_INITIAL_PEERS = {
"1@udpv4://10.10.1.192",
"1@udpv4://10.10.1.190",
"1@udpv4://10.10.1.152"
};
participant_qos.discovery.initial_peers.
ensureCapacity(NDDS_DISCOVERY_INITIAL_PEERS.length);
for (int i = 0; i < NDDS_DISCOVERY_INITIAL_PEERS.length; ++i) {
participant_qos.discovery.initial_peers.add(
NDDS_DISCOVERY_INITIAL_PEERS[i]);
}
// Initialize listener if desired
DomainParticipantListener participant_listener = null;
6.105.4
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.106
241
6.106.1
6.106.2
Setting up a topic
6.106.3
Delete Topic:
try {
participant.delete_topic(topic);
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
242
Module Documentation
} catch (RETCODE_ERROR err) {
// handle exception
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.107
243
6.107.1
6.107.2
244
Module Documentation
6.107.3
245
lishing thread.
The thread accumulates samples from different
com.rti.dds.publication.DataWriter (p. 557) instances (across any
com.rti.dds.publication.Publisher (p. 1262)) and sends all data since
the previous trigger.
The properties of the built-in com.rti.dds.publication.FlowController
(p. 964) instances can be adjusted.
Set up participant (p. 239)
Lookup built-in flow controller
FlowController controller = null;
try {
controller = participant.lookup_flowcontroller(
FlowController.DEFAULT_FLOW_CONTROLLER_NAME);
} catch (RETCODE_ERROR err) {
// This should never happen, built-in flow controllers are always created
// handle exception
}
6.107.4
246
Module Documentation
Configure com.rti.dds.publication.DataWriter (p. 557) instances to
only use a single transport
Associate all data writers using the same transport to the corresponding flow controller (p. 243)
For each transport, the corresponding flow controller limits the network
traffic based on the token bucket properties
6.107.5
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.108
247
6.108.1
Setting up a publisher
6.108.2
Delete DDSPublisher:
try {
participant.delete_publisher(publisher);
} catch (RETCODE_ERROR err) {
// respond to exception
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
248
Module Documentation
6.109
6.109.1
6.109.2
Managing instances
// user data
try {
writer.get_key_value(data, instance_handle);
} catch (RETCODE_ERROR err) {
// ... check for cause of failure
}
249
try {
writer.unregister_instance(data, instance_handle);
} catch (RETCODE_ERROR err) {
// ... check for cause of failure
}
6.109.3
Sending data
// user data
InstanceHandle_t instance_handle
= InstanceHandle_t.HANDLE_NIL; // or a valid registered handle
try {
writer.write(data, instance_handle);
} catch (RETCODE_ERR err) {
// ... check for cause of failure
}
6.109.4
Delete DataWriter:
try {
publisher.delete_datawriter(writer);
} catch (RETCODE_ERR err) {
// ... check for cause of failure
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
250
Module Documentation
6.110
6.110.1
Setting up a subscriber
6.110.2
251
The processing to handle the status change is done when the subscribers attached status condition is triggered (p. 261) and the
DATA ON READERS STATUS status on the subscriber is changed.
Typical processing will access the received data (p. 251), either in
an arbitrary order or in a coherent and ordered manner (p. 252).
6.110.3
Upon successfully getting the list of readers with data, process the data
readers to either:
Read the data in each reader (p. 255), OR
Take the data in each reader (p. 254)
If the intent is to access the data coherently or in order (p. 252), the
list of data readers must be processed in the order returned:
for (int i = 0; i < reader_seq.size(); ++i) {
FooDataReader reader = (FooDataReader) reader_seq.get(i);
// Take the data from reader,
//
OR
// Read the data from reader
}
Alternatively, call com.rti.dds.subscription.Subscriber.notify datareaders (p. 1491) to invoke the DataReaderListener for each of the
data readers.
subscriber.notify_datareaders();
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
252
Module Documentation
6.110.4
Access received data via the subscriber, making sure that the
data readers are processed in the order returned. (p. 251)
Indicate that the data access via the subscriber is done:
subscriber.end_access();
6.110.5
Delete Subscriber:
try {
participant.delete_subscriber(subscriber);
} catch (RETCODE_ERROR err) {
// handle exception
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.111
253
6.111.1
6.111.2
Managing instances
254
Module Documentation
6.111.3
6.111.4
6.111.5
Taking data
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
255
instance_state_mask = InstanceStateMask.ANY_INSTANCE_STATE;
try {
reader.take(data_seq, info_seq,
max_samples,
sample_state_mask,
view_state_mask,
instance_state_mask);
} catch (RETCODE_ERROR) {
// ... check for cause of failure
}
Return the data samples and the information buffers back to the middleware. IMPORTANT : Once this call returns, you must not retain any
pointers to any part of any sample or sample info object.
reader.return_loan(data_seq, info_seq);
6.111.6
Reading data
try {
reader.read(data_seq, info_seq,
max_samples,
sample_state_mask,
view_state_mask,
instance_state_mask);
} catch (RETCODE_ERROR) {
// ... check for cause of failure
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
256
Module Documentation
Use the received data
// Use the received data samples data_seq and associated
// information info_seq
for (int i = 0; i < data_seq.size(); ++i) {
// use... data_seq.get(i) ...
// use... info_seq.get(i) ...
}
Return the data samples and the information buffers back to the middleware
reader.return_loan(data_seq, info_seq);
6.111.7
Delete DDSDataReader:
try {
subscriber.delete_datareader(reader);
} catch (RETCODE_ERROR err) {
// ... check for cause of failure
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.112
257
6.112.1
Enabling an entity
6.112.2
Check if status kind was changed since the last time it was cleared.
A plain communication status change is cleared when the status is read
using the entitys get <plain communication status>() method. A
read communication status change is cleared when the data is taken from
the middleware via a TDataReader take() call [see Changes in Status
(p. 111) for details].
if ((status_changes_list & status_kind) != 0) {
return true; /* ... YES, status_kind changed ... */
} else {
return false; /* ... NO, status_kind did NOT change ... */
}
6.112.3
The QoS for an entity can be specified at the entity creation time. Once an
entity has been created, its QoS can be manipulated as follows.
Get an entitys QoS settings using get qos (abstract) (p. 933)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
258
Module Documentation
try {
entity.get_qos(qos);
} catch (RETCODE_ERROR err) {
System.out.println("***Error: failed to get qos\n");
}
6.112.4
The listener for an entity can be specified at the entity creation time. By default
the listener is enabled for all the statuses supported by the entity.
Once an entity has been created, its listener and/or the statuses for which it is
enabled can be manipulated as follows.
User defines entity listener methods
/* ... methods defined by EntityListener ... */
public class MyEntityListener implements Listener {
// ... methods defined by EntityListener ...
}
259
enabled_status_list |= status_kind;
Set an entitys listener to entity listener using set listener (abstract) (p. 934). Only enable the listener for the statuses specified by
the enabled status list.
try {
entity.set_listener(entity_listener, enabled_status_list);
} catch (RETCODE_ERROR err) {
// respond to failure
}
6.112.5
Upon entity creation, by default, all the statuses are enabled for the DDS StatusCondition associated with the entity.
Once an entity has been created, the list of statuses for which the DDS StatusCondition is triggered can be manipulated as follows.
Given an entity, a status kind, and the associated status condition:
statuscondition = entity.get_statuscondition();
Check if the given status kind is enabled for the status condition
if ((enabled_status_list & status_kind) > 0) {
/*... YES, status_kind is enabled ... */
} else {
/* ... NO, status_kind is NOT enabled ... */
}
260
Module Documentation
Disable status kind for the status condition
try {
statuscondition.set_enabled_statuses(enabled_status_list & ~status_kind);
} catch (RETCODE_ERROR err) {
// ... check for cause of failure
}
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.113
261
6.113.1
Setting up a wait-set
Create a wait-set
WaitSet waitset = new WaitSet();
Attach conditions
Condition cond1 = ...;
Condition cond2 = entity.get_statuscondition();
Condition cond3 = reader.create_readcondition(
SampleStateKind.NOT_READ_SAMPLE_STATE,
ViewStateKind.ANY_VIEW_STATE,
InstanceStateKind.ANY_INSTANCE_STATE);
Condition cond4 = new GuardCondition();
Condition cond5 = ...;
waitset.attach_condition(cond1);
waitset.attach_condition(cond2);
waitset.attach_condition(cond3);
waitset.attach_condition(cond4);
waitset.attach_condition(cond5);
6.113.2
262
Module Documentation
System.out.println("Cond2 was triggered!");
is_cond2_triggered = true;
}
}
if (is_cond1_triggered) {
// ... do something because "cond1" was triggered ...
}
if (is_cond2_triggered) {
// ... do something because "cond2" was triggered ...
}
} catch (RETCODE_TIMEOUT timed_out) {
// timeout!
System.out.println(
"Wait timed out!! None of the conditions was triggered.");
} catch (RETCODE_ERROR ex) {
// ... check for cause of failure
throw ex;
}
6.113.3
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.114
263
6.114.1
6.114.2
say
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
264
Module Documentation
Change the property fields as desired. Note that the properties should be
changed carefully, as inappropriate values may prevent communications.
For example, the com.rti.ndds.transport.UDPv4Transport (p. 1668)
properties can be changed to support large messages (assuming the underlying operating systems UDPv4 stack supports the large message size).
Note: if message size max is increased from the default for any of the
built-in transports, then the DDS ReceiverPoolQosPolicy.buffer size on
the DomainParticipant should also be changed.
/* Increase the UDPv4 maximum message size to 64K (large messages). */
property.message_size_max
= 65535;
property.recv_socket_buffer_size = 65535;
property.send_socket_buffer_size = 65535;
say
TransportSupport.set_builtin_transport_property(participant, property);
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.115
265
6.115.1
Introduction
Overview of ContentFilteredTopic
Each
com.rti.dds.topic.ContentFilteredTopic
(p. 471)
is
created
based
on
an
existing
com.rti.dds.topic.Topic
(p. 1545).
The com.rti.dds.topic.Topic (p. 1545) specifies the field names
and field types of the data contained within the topic.
The
com.rti.dds.topic.ContentFilteredTopic (p. 471), by means of its filter expression and expression parameters, futher specifies the values of the
data which the com.rti.dds.subscription.DataReader (p. 487) wishes to
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
266
Module Documentation
receive.
Custom filters may also be constructed and utilized as described in the Creating Custom Content Filters (p. 271) module.
Once the com.rti.dds.topic.ContentFilteredTopic (p. 471) has been created, a com.rti.dds.subscription.DataReader (p. 487) can be created
using the filtered topic.
The filters characteristics are exchanged between the com.rti.dds.subscription.DataReader (p. 487) and any matching
com.rti.dds.publication.DataWriter (p. 557) during the discovery processs.
If the com.rti.dds.publication.DataWriter (p. 557) allows (by
com.rti.dds.infrastructure.DataWriterResourceLimitsQosPolicy.max (p. 623))
and
the
number
of
filtered
remote reader filters
com.rti.dds.subscription.DataReader (p. 487) is less than or equal
to 32, and the com.rti.dds.subscription.DataReader (p. 487) s
com.rti.dds.infrastructure.TransportMulticastQosPolicy
(p. 1590)
is empty, then the com.rti.dds.publication.DataWriter (p. 557) will performing filtering and send to the com.rti.dds.subscription.DataReader
(p. 487) only those samples that meet the filtering criteria.
If disallowed by the com.rti.dds.publication.DataWriter (p. 557), or
if more than 32 com.rti.dds.subscription.DataReader (p. 487) require
filtering, or the com.rti.dds.subscription.DataReader (p. 487) has set
the com.rti.dds.infrastructure.TransportMulticastQosPolicy (p. 1590),
then the com.rti.dds.publication.DataWriter (p. 557) sends all samples to the com.rti.dds.subscription.DataReader (p. 487), and the
com.rti.dds.subscription.DataReader (p. 487) discards any samples that
do not meet the filtering criteria.
Although the filter expression cannot be changed once the
com.rti.dds.topic.ContentFilteredTopic
(p. 471)
has
been
created,
the
expression parameters
can
be
modified
using
com.rti.dds.topic.ContentFilteredTopic.set expression parameters (p. 473).
Any changes made to the filtering criteria
by
means
of
com.rti.dds.topic.ContentFilteredTopic.set expression parameters (p. 473), will be conveyed to any conNew samples
nected com.rti.dds.publication.DataWriter (p. 557).
will be subject to the modified filtering criteria, but samples that
have already been accepted or rejected are unaffected.
However, if
the com.rti.dds.subscription.DataReader (p. 487) connects to a
com.rti.dds.publication.DataWriter (p. 557) that re-sends its data,
the re-sent samples will be subjected to the new filtering criteria.
6.115.1.2
Overview of QueryCondition
com.rti.dds.subscription.QueryCondition
(p. 1311)
combine
aspects
of
the
content
filtering
capabilities
of
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
267
com.rti.dds.topic.ContentFilteredTopic (p. 471) with state filtering capabilities of com.rti.dds.subscription.ReadCondition (p. 1313)
to create a reconfigurable means of filtering or searching data in the
com.rti.dds.subscription.DataReader (p. 487) queue.
com.rti.dds.subscription.QueryCondition (p. 1311) may be created on
a disabled com.rti.dds.subscription.DataReader (p. 487), or after the
com.rti.dds.subscription.DataReader (p. 487) has been enabled. If the
com.rti.dds.subscription.DataReader (p. 487) is enabled, and has already
recevied and stored samples in its queue, then all data samples in the are filtered against the com.rti.dds.subscription.QueryCondition (p. 1311) filter criteria at the time that the com.rti.dds.subscription.QueryCondition
(Note that an exclusive lock is held on the
(p. 1311) is created.
com.rti.dds.subscription.DataReader (p. 487) sample queue for the duration of the com.rti.dds.subscription.QueryCondition (p. 1311) creation).
Once
created,
incoming
samples
are
filtered
against
com.rti.dds.subscription.QueryCondition
(p. 1311)
filter
teria at the time of their arrival and storage into
com.rti.dds.subscription.DataReader (p. 487) queue.
all
crithe
6.115.2
268
Module Documentation
FooDataReader reader = (FooDataReader)
subscriber.create_datareader(
cft,
datareader_qos, // or Subscriber.DATAREADER_QOS_DEFAULT //
listener, // or null //
StatusKind.STATUS_MASK_ALL);
if (reader == null) {
System.err.println("create_datareader error\n");
return;
}
Once
setup,
reading
samples
with
a
com.rti.dds.topic.ContentFilteredTopic (p. 471) is exactly the
same as normal reads or takes, as decribed in DataReader Use Cases
(p. 253).
Changing filter crieria using set expression parameters:
cft_parameters.set(0, "5");
cft_parameters.set(1, "9");
cft.set_expression_parameters(cft_parameters);
6.115.3
Creating a QueryCondition
QueryCondition queryCondition = null;
String qc_param_list[] = {"1", "100"};
StringSeq qc_parameters = new StringSeq(java.util.Arrays.asList(cft_param_list));
queryCondition = reader.create_querycondition(SampleStateKind.NOT_READ_SAMPLE_STATE,
ViewStateKind.ANY_VIEW_STATE,
InstanceStateKind.ANY_INSTANCE_STATE,
"value > %0 AND value < %1",
qc_parameters);
if (queryCondition == null) {
System.err.println("create_querycondition error\n");
return;
}
269
to
Any
com.rti.dds.subscription.QueryCondition
(p. 1311)
that
have
been
created
must
be
deleted
before
the
com.rti.dds.subscription.DataReader (p. 487) can be deleted. This
can be done using com.rti.dds.subscription.DataReader.delete contained entities (p. 504) or manually as in:
retcode = reader.delete_readcondition(queryCondition);
6.115.4
Filtering Performance
270
Module Documentation
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.116
271
6.116.1
Introduction
By default, RTI Connext creates content filters with the DDS SQL FILTER,
which implements a superset of the DDS-specified SQL WHERE clause. However, in many cases this filter may not be what you want. Some examples are:
The default filter can only filter based on the content of a sample, not on a
computation on the content of a sample. You can use a custom filter that
is customized for a specific type and can filter based on a computation of
the type members.
You want to use a different filter language then SQL
This HOWTO explains how to write your own custom filter and is divided into
the following sections:
The Custom Content Filter API (p. 271)
Example Using C format strings (p. 272)
6.116.2
A
custom
content
filter
is
created
by
calling
the
com.rti.dds.domain.DomainParticipant.register contentfilter
(p. 728) function with a com.rti.dds.topic.ContentFilter (p. 467) that
contains a compile, an evaluate function and a finalize function.
com.rti.dds.topic.ContentFilteredTopic (p. 471) can be created with
com.rti.dds.domain.DomainParticipant.create contentfilteredtopic with filter (p. 702) to use this filter.
A custom content filter is used by RTI Connext at the following times during the
life-time of a com.rti.dds.topic.ContentFilteredTopic (p. 471) (the function
called is shown in parenthesis).
When a com.rti.dds.topic.ContentFilteredTopic (p. 471) is created
(compile (p. 272))
When
the
filter
parameters
are
changed
on
the
com.rti.dds.topic.ContentFilteredTopic (p. 471) (compile (p. 272))
with
com.rti.dds.topic.ContentFilteredTopic.set expression parameters (p. 473)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
272
Module Documentation
When a sample is filtered (evaluate (p. 272)). This function is called by
the RTI Connext core with a de-serialized sample
When a com.rti.dds.topic.ContentFilteredTopic (p. 471) is deleted
(finalize (p. 272))
6.116.2.1
The compile (p. 272) function is used to compile a filter expression and expression parameters. Please note that the term compile is intentionally loosely
defined. It is up to the user to decide what this function should do and return.
See com.rti.dds.topic.ContentFilter.compile (p. 468) for details.
6.116.2.2
The evaluate (p. 273) function is called each time a sample is received to determine if a sample should be filtered out and discarded.
See com.rti.dds.topic.ContentFilter.evaluate (p. 469) for details.
6.116.2.3
The finalize (p. 273) function is called when an instance of the custom content
filter is no longer needed. When this function is called, it is safe to free all
resources used by this particular instance of the custom content filter.
See com.rti.dds.topic.ContentFilter.finalize (p. 470) for details.
6.116.3
The first thing to note is that we can ignore the filter expression, since we
already know what the expression is. The second is that x is a parameter that
can be changed. By using this information, the compile function is very easy to
implement. Simply return the parameter string. This string will then be passed
to the evaluate function every time a sample of this type is filtered.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
273
6.116.3.2
The next step is to implement the evaluate function. The evaluate function
receives the parameter string with the actual value to test against. Thus the
evaluate function must read the actual value from the parameter string before
evaluating the expression. Below is the entire evaluate (p. 272) function.
public boolean evaluate(
Object compile_data, Object sample, FilterSampleInfo meta_data) {
String parameter = (String)compile_data;
int x;
Foo foo_sample = (Foo)sample;
x = Integer.parseInt(parameter);
return (foo_sample.x > x ? false : true);
}
6.116.3.3
The last function to write is the finalize function. It is safe to free all resources
used by this particular instance of the custom content filter that is allocated in
compile. Below is the entire finalize (p. 272) function.
public void finalize(
Object compile_data) {
/* nothing to do since no resource are allocated */
}
6.116.3.4
Before the custom filter can be used, it must be registered with RTI Connext:
ContentFilter myCustomFilter = new MyContentFilter();
participant.register_contentfilter("MyCustomFilter", myCustomFilter);
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
274
Module Documentation
6.116.3.5
When the filter is no longer needed, it can be unregistered from RTI Connext:
participant.unregister_contentfilter("MyCustomFilter");
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.117
275
6.117.1
Introduction
RTI Connext supports data types whose size exceeds the maximum message
size of the underlying transports. A com.rti.dds.publication.DataWriter
(p. 557) will fragment data samples when required. Fragments are automatically
reassembled at the receiving end.
Once all fragments of a sample have been received, the new sample is passed
to the com.rti.dds.subscription.DataReader (p. 487) which can then make
it available to the user. Note that the new sample is treated as a regular
sample at that point and its availability depends on standard QoS settings such
as com.rti.dds.infrastructure.ResourceLimitsQosPolicy.max samples
(p. 1351) and com.rti.dds.infrastructure.HistoryQosPolicyKind.HistoryQosPolicyKind.KEEP LAST HISTORY QOS.
The large data feature is fully supported by all DDS APIs, so its use is mostly
transparent. Some additional considerations apply as explained below.
6.117.2
In
order
to
use
the
large
data
feature
with
the
com.rti.dds.infrastructure.ReliabilityQosPolicyKind.ReliabilityQosPolicyKind.RELIABLE RELIABILITY QOS setting, the com.rti.dds.publication.DataWriter
(p. 557)
must
be
configured
as
an
asynchronous
writer
(com.rti.dds.infrastructure.PublishModeQosPolicyKind.PublishModeQosPolicyKind.ASYNCHRONOUS PUBLISH MODE QOS) with associated com.rti.dds.publication.FlowController
(p. 964).
While
the
use
of
an
asynchronous
writer
and
flow
controller
is
optional
when
using
the
com.rti.dds.infrastructure.ReliabilityQosPolicyKind.ReliabilityQosPolicyKind.BEST EFFORT RELIABILITY QOS setting, most large data use cases will benefit
from the use of a flow controller to prevent flooding the network when fragments
are being sent.
Set up writer (p. 248)
Add flow control (p. 243)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
276
Module Documentation
6.117.3
Large data is supported by default and in most cases, no further changes are
required.
The com.rti.dds.infrastructure.DataReaderResourceLimitsQosPolicy
allows
tuning
the
resources
available
to
the
(p. 542)
com.rti.dds.subscription.DataReader (p. 487) for reassembling fragmented large data.
Set up reader (p. 253)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.118
277
Documentation Roadmap
This section contains a roadmap for the new user with pointers on what to read
first.
If you are new to RTI Connext, we recommend starting in the following order:
See the Getting Started Guide. This document provides download and
installation instructions. It also lays out the core value and concepts
behind the product and takes you step-by-step through the creation of a
simple example application.
The Users Manual describes the features of the product and how to use
them. It is organized around the structure of the DDS APIs and certain
common high-level tasks.
The documentation in the DDS API Reference (p. 280) provides an
overview of API classes and modules for the DDS data-centric publishsubscribe (DCPS) package from a programmers perspective. Start by
reading the documentation on the main page.
After reading the high level module documentation, look at the Publication Example (p. 237) and Subscription Example (p. 238) for stepby-step examples of creating a publication and subscription. These are
hyperlinked code snippets to the full API documentation, and provide a
good place to begin learning the APIs.
Next, work through your own application using the example code files
generated by rtiddsgen (p. 298).
To integrate similar code into your own application and build system, you
will likely need to refer to the Platform Notes.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
278
Module Documentation
6.119
Conventions
6.119.1
Unsupported Features
[Not supported (optional)] This note means that the optional feature from
the DDS specification is not supported in the current release.
6.119.2
6.119.3
Stereotypes
Extensions
<<eXtension>> ( p. 278)
An RTI Connext product extension to the DDS standard specification.
The extension APIs complement the standard APIs specified by the
OMG DDS specification. They are provided to improve product
usability and enable access to product-specific features such as pluggable transports.
6.119.3.2
Experimental
<<experimental>> ( p. 278)
RTI Connext experimental features are used to evaluate new features
and get user feedback.
These features are not guaranteed to be fully supported and might be
implemented only of some of the programming languages supported
bt RTI Connext
The functional APIs corresponding to experimental features can be
distinguished from other APIs by the suffix exp.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.119 Conventions
279
Types
<<interface>> ( p. 279)
Pure interface type with no state.
Languages such as Java natively support the concept of an interface type, which is a collection of method signatures devoid of any
dynamic state.
In C++, this is achieved via a class with all pure virtual methods
and devoid of any instance variables (ie no dynamic state).
Interfaces are generally organized into a type hierarchy. Static typecasting along the interface type hierarchy is safe for valid objects.
<<generic>> ( p. 279)
A generic type is a skeleton class written in terms of generic parameters. Type-specific instantiations of such types are conventionally referred to in this documentation in terms of the hypothetical
type Foo; for example: FooSeq, FooDataType, FooDataWriter,
and FooDataReader.
<<singleton>> ( p. 279)
Singleton class. There is a single instance of the class.
Generally acccessed via a get instance() static method.
6.119.3.4
Method Parameters
<<in>> ( p. 279)
An input parameter.
<<out>> ( p. 279)
An output parameter.
<<inout>> ( p. 279)
An input and output parameter.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
280
Module Documentation
6.120
Modules
Domain Module
Contains the com.rti.dds.domain.DomainParticipant ( p. 654) class that
acts as an entrypoint of RTI Connext and acts as a factory for many of the
classes. The com.rti.dds.domain.DomainParticipant ( p. 654) also acts
as a container for the other objects that make up RTI Connext.
Topic Module
Contains
the
com.rti.dds.topic.Topic
( p. 1545),
com.rti.dds.topic.ContentFilteredTopic
( p. 471),
and
com.rti.dds.topic.MultiTopic
( p. 1190)
classes,
the
com.rti.dds.topic.TopicListener ( p. 1564) interface, and more generally,
all that is needed by an application to define com.rti.dds.topic.Topic
( p. 1545) objects and attach QoS policies to them.
Publication Module
Contains
the
com.rti.dds.publication.FlowController
( p. 964),
com.rti.dds.publication.Publisher
( p. 1262),
and
com.rti.dds.publication.DataWriter ( p. 557) classes as well as
the
com.rti.dds.publication.PublisherListener
( p. 1289)
and
com.rti.dds.publication.DataWriterListener
( p. 586)
interfaces,
and more generally, all that is needed on the publication side.
Subscription Module
Contains
the
com.rti.dds.subscription.Subscriber
( p. 1476),
com.rti.dds.subscription.DataReader
( p. 487),
and
com.rti.dds.subscription.ReadCondition
( p. 1313),
com.rti.dds.subscription.QueryCondition ( p. 1311) classes, as well
as the com.rti.dds.subscription.SubscriberListener ( p. 1503) and
com.rti.dds.subscription.DataReaderListener ( p. 518) interfaces, and
more generally, all that is needed on the subscription side.
Infrastructure Module
Defines the abstract classes and the interfaces that are refined by the other
modules. Contains common definitions such as return codes, status values,
and QoS policies.
6.120.1
281
Detailed Description
6.120.2
Overview
Information
flows
with
the
aid
of
the
following
constructs:
com.rti.dds.publication.Publisher
(p. 1262)
and
on
the
sendcom.rti.dds.publication.DataWriter
(p. 557)
ing
side,
com.rti.dds.subscription.Subscriber
(p. 1476)
and
com.rti.dds.subscription.DataReader (p. 487) on the receiving side.
A com.rti.dds.publication.Publisher (p. 1262) is an object responsible for data distribution.
It may publish data of different data types.
A TDataWriter acts as a typed (i.e.
each
com.rti.dds.publication.DataWriter (p. 557) object is dedicated
to one application data type) accessor to a publisher.
A
com.rti.dds.publication.DataWriter (p. 557) is the object the application must use to communicate to a publisher the existence and value of
data objects of a given type. When data object values have been communicated to the publisher through the appropriate data-writer, it is the
publishers responsibility to perform the distribution (the publisher will do
this according to its own QoS, or the QoS attached to the corresponding
data-writer). A publication is defined by the association of a data-writer
to a publisher. This association expresses the intent of the application to
publish the data described by the data-writer in the context provided by
the publisher.
A com.rti.dds.subscription.Subscriber (p. 1476) is an object responsible for receiving published data and making it available (according to
the Subscribers QoS) to the receiving application. It may receive and
dispatch data of different specified types. To access the received data, the
application must use a typed TDataReader attached to the subscriber.
Thus, a subscription is defined by the association of a data-reader with
a subscriber. This association expresses the intent of the application to
subscribe to the data described by the data-reader in the context provided
by the subscriber.
com.rti.dds.topic.Topic (p. 1545) objects conceptually fit between publications and subscriptions. Publications must be known in such a way that
subscriptions can refer to them unambiguously. A com.rti.dds.topic.Topic
(p. 1545) is meant to fulfill that purpose: it associates a name (unique in the
domain i.e. the set of applications that are communicating with each other),
a data type, and QoS related to the data itself. In addition to the topic
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
282
Module Documentation
QoS, the QoS of the com.rti.dds.publication.DataWriter (p. 557) associated with that Topic and the QoS of the com.rti.dds.publication.Publisher
(p. 1262) associated to the com.rti.dds.publication.DataWriter (p. 557)
control the behavior on the publishers side, while the corresponding
com.rti.dds.topic.Topic (p. 1545), com.rti.dds.subscription.DataReader
(p. 487) and com.rti.dds.subscription.Subscriber (p. 1476) QoS control the
behavior on the subscribers side.
When an application wishes to publish data of a given type, it
must create a com.rti.dds.publication.Publisher (p. 1262) (or reuse
an already created one) and a com.rti.dds.publication.DataWriter
Sim(p. 557) with all the characteristics of the desired publication.
ilarly, when an application wishes to receive data, it must create a
com.rti.dds.subscription.Subscriber (p. 1476) (or reuse an already created
one) and a com.rti.dds.subscription.DataReader (p. 487) to define the subscription.
6.120.3
Conceptual Model
283
jects for the com.rti.dds.subscription.DataReader (p. 487)); conditions (in conjunction with com.rti.dds.infrastructure.WaitSet
(p. 1709) objects) provide support for an alternate communication style
between the middleware and the application (i.e., wait-based rather than
notification-based).
All DCPS entities are attached to a com.rti.dds.domain.DomainParticipant
(p. 654). A domain participant represents the local membership of the application in a domain. A domain is a distributed concept that links all the
applications able to communicate with each other. It represents a communication plane: only the publishers and the subscribers attached to the same
domain may interact.
com.rti.dds.infrastructure.DomainEntity (p. 653) is an intermediate object whose only purpose is to state that a DomainParticipant cannot contain
other domain participants.
At the DCPS level, data types represent information that is sent atomically.
For performance reasons, only plain data structures are handled by this level.
By default, each data modification is propagated individually, independently, and uncorrelated with other modifications. However, an application may request that several modifications be sent as a whole and interpreted as such at the recipient side. This functionality is offered on a Publisher/Subscriber basis. That is, these relationships can only be specified
among com.rti.dds.publication.DataWriter (p. 557) objects attached to
the same com.rti.dds.publication.Publisher (p. 1262) and retrieved among
com.rti.dds.subscription.DataReader (p. 487) objects attached to the same
com.rti.dds.subscription.Subscriber (p. 1476).
By definition, a com.rti.dds.topic.Topic (p. 1545) corresponds to a single data
type. However, several topics may refer to the same data type. Therefore, a
com.rti.dds.topic.Topic (p. 1545) identifies data of a single type, ranging from
one single instance to a whole collection of instances of that given type. This is
shown below for the hypothetical data type Foo.
In case a set of instances is gathered under the same topic, different instances
must be distinguishable. This is achieved by means of the values of some data
fields that form the key to that data set. The key description (i.e., the list of
data fields whose value forms the key) has to be indicated to the middleware.
The rule is simple: different data samples with the same key value represent
successive values for the same instance, while different data samples with different key values represent different instances. If no key is provided, the data set
associated with the com.rti.dds.topic.Topic (p. 1545) is restricted to a single
instance.
Topics need to be known by the middleware and potentially propagated. Topic objects are created using the create operations provided by
com.rti.dds.domain.DomainParticipant (p. 654).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
284
Module Documentation
The interaction style is straightforward on the publishers side: when the application decides that it wants to make data available for publication, it calls the
appropriate operation on the related com.rti.dds.publication.DataWriter
(p. 557) (this, in turn, will trigger its com.rti.dds.publication.Publisher
(p. 1262)).
On the subscribers side however, there are more choices: relevant information may arrive when the application is busy doing something else or when
the application is just waiting for that information. Therefore, depending
on the way the application is designed, asynchronous notifications or synchronous access may be more appropriate. Both interaction modes are allowed,
a com.rti.dds.infrastructure.Listener (p. 1130) is used to provide a callback
for synchronous access and a com.rti.dds.infrastructure.WaitSet (p. 1709)
associated with one or several com.rti.dds.infrastructure.Condition
(p. 464) objects provides asynchronous data access.
The same synchronous and asynchronous interaction modes can also be used
to access changes that affect the middleware communication status (see Status Kinds (p. 110)). For instance, this may occur when the middleware asynchronously detects an inconsistency. In addition, other middleware information
that may be relevant to the application (such as the list of the existing topics)
is made available by means of built-in topics (p. 157) that the application can
access as plain application data, using built-in data-readers.
6.120.4
Modules
285
Publication
module
(p. 180)
contains
the
and
com.rti.dds.publication.Publisher
(p. 1262)
com.rti.dds.publication.DataWriter (p. 557) classes as well as
the com.rti.dds.publication.PublisherListener (p. 1289) and
com.rti.dds.publication.DataWriterListener (p. 586) interfaces, and
more generally, all that is needed on the publication side.
Subscription
module
(p. 192)
contains
the
com.rti.dds.subscription.Subscriber
(p. 1476),
com.rti.dds.subscription.DataReader
(p. 487),
com.rti.dds.subscription.ReadCondition
(p. 1313),
and
com.rti.dds.subscription.QueryCondition (p. 1311) classes, as
well as the com.rti.dds.subscription.SubscriberListener (p. 1503)
and com.rti.dds.subscription.DataReaderListener (p. 518) interfaces, and more generally, all that is needed on the subscription
side.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
286
Module Documentation
6.121
6.121.1
6.121.2
FIELD-
Selection
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
287
MATCH
288
Module Documentation
.
Note INNER JOIN, INNER NATURAL JOIN, NATURAL JOIN, and NATURAL INNER JOIN are all aliases, in the sense that they have the same semantics. They are all supported because they all are part of the SQL standard.
6.121.3
Token expression
The syntax and meaning of the tokens used in the SQL grammar is described
as follows:
IDENTIFIER - An identifier for a FIELDNAME, and is defined as any
series of characters a, ..., z, A, ..., Z, 0, ..., 9, but may not start
with a digit.
Formal notation:
IDENTIFIER: LETTER ( PART LETTER )*
where LETTER : [ "A"-"Z"," ","a"-"z" ]
PART LETTER : [ "A"-"Z"," ","a"-"z","0"-"9" ]
289
IDL Type
boolean
octet, (unsigned) short, (unsigned)
long, (unsigned) long long
float, double
char, wchar
string, wstring
enum
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
290
Module Documentation
STRING - Any series of characters encapsulated in single quotes, except
the single quote itself.
Formal notation:
STRING : "" (~[""])* ""
6.121.4
String Parameters
Strings used as parameter values must contain the enclosing quotation marks
() within the parameter value, and not place the quotation marks within the
expression statement. For example, the following expression is legal:
" symbol MATCH %0 " with parameter 0 = " IBM "
6.121.5
291
Only certain combination of type comparisons are valid in Predicate. The following table marked all the compatible pairs with YES:
INTEENUBOOLEANFLOAT- CHAR- STRING MERGERVALUE
VALUE
VALUE VALUE
ATEDVALUE
YES
BOOLEAN
INTEYES
YES
GERVALUE
YES
YES
FLOATVALUE
YES
YES
YES
CHARVALUE
YES
YES
STRING
YES(1)
ENUYES
MERYES(2) YES(2) YES(3)
ATEDVALUE
(1) See SQL Extension: Regular Expression Matching (p. 291)
(2) Because the formal notation of the Enumeration values, they are
compatible with string and char literals, but they are not compatible with
string or char variables, i.e., MyEnum=EnumValue would be correct,
but MyEnum=MyString is not allowed.
(3) Only for same type Enums.
6.121.6
The relational operator MATCH may only be used with string fields. The righthand operator is a string pattern. A string pattern specifies a template that
the left-hand field value must match. The characters ,/?[]- !% have special
meanings.
MATCH is case-sensitive.
The pattern allows limited wild card matching under the following rules:
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
292
Module Documentation
Character
,
[charlist]
[s-e]
%
[!charlist] or [ charlist]
[!s-e] or [ s-e]
\
Meaning
, separates a list of alternate
patterns. The field string is
matched if it matches one or more
of the patterns.
/ in the pattern string matches a
/ in the field string. This character
is used to separate a sequence of
mandatory substrings.
? in the pattern string matches
any single non-special characters in
the field string.
in the pattern string matches 0
or more non-special characters in
field string.
Matches any one of the characters
from the list of characters in
charlist.
Matches any character any
character from s to e, inclusive.
% is used to designate filter
expressions parameters.
Matches any characters not in
charlist (not supported).
Matches any characters not in the
interval [s-e] (not supported).
Escape character for special
characters (not supported)
The syntax is similar to the POSIX fnmatch syntax (1003.2-1992 section B.6).
The MATCH syntax is also similar to the subject strings of TIBCO Rendezvous.
6.121.7
Examples
Examples
of
filter expression
using
MATCH
(for
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
293
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
294
Module Documentation
6.122
Modules
Clock Selection
APIs related to clock selection.
Multi-channel DataWriters
APIs related to Multi-channel DataWriters.
Pluggable Transports
APIs related to RTI Connext pluggable transports.
Configuration Utilities
Utility APIs independent of the DDS standard.
System Properties
System Properties.
6.122.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.123
295
Programming How-Tos
These How Tos illustrate how to apply RTI Connext APIs to common use
cases.
Modules
Publication Example
A data publication example.
Subscription Example
A data subscription example.
296
Module Documentation
6.123.1
Detailed Description
These How Tos illustrate how to apply RTI Connext APIs to common use
cases.
These are a good starting point to familiarize yourself with DDS. You can use
these code fragments as templates for writing your own code.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.124
297
Programming Tools
Modules
rtiddsgen
Generates source code from data types declared in IDL, XML, XSD, or
WSDL files.
rtiddsping
Sends or receives simple messages using RTI Connext.
rtiddsspy
Debugging tool which receives all RTI Connext communication.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
298
Module Documentation
6.125
rtiddsgen
Generates source code from data types declared in IDL, XML, XSD, or WSDL
files. Generates code necessary to allocate, send, receive, and print user-defined
data types.
6.125.1
Usage
6.125 rtiddsgen
299
-d Specifies where to put the generated files. If omitted, the input files directory
is used.
-language Generates output for only the language specified. The default is
C++.
Use of generated Ada 2005 code requires installation of RTI Ada 2005 Language
Support. Please contact [email protected] for more information.
-namespace Specifies the use of C++ namespaces (for C++ only).
-package Specifies a packagePrefix to use as the root package (for Java only).
-example Generates example programs and makefiles (for UNIX-based systems) or workspace and project files (for Windows systems) based on the input
types description file.
The <arch> parameter specifies the architecture for the example makefiles.
For -language C/C++, valid options for <arch> are:
sparcSol2.9gcc3.2,
sparc64Sol2.10gcc3.4.2,
x64Sol2.10gcc3.4.3,
sparcSol2.9cc5.4,
i86Sol2.9gcc3.3.2,
sparcSol2.10gcc3.4.2,
i86Sol2.10gcc3.4.4,
i86Linux2.6gcc3.4.3,
x64Linux2.6gcc3.4.5,
x64Linux2.6gcc4.1.1,
i86Linux2.6gcc4.1.2,
i86Linux2.6gcc4.2.1,
i86Linux2.6gcc4.4.3,
x64Linux2.6gcc4.3.4,
i86Linux2.6gcc4.4.5,
i86Linux2.6gcc3.4.6,
i86RedHawk5.1gcc4.1.2,
x64Linux2.6gcc4.4.4,
x64Linux2.6gcc4.5.1,
x64Suse10.1gcc4.1.0,
cell64Linux2.6gcc4.5.1,
i86WRLinux2.6gcc4.3.2, x64WRLinux2.6gcc4.4.1,
i86Linux2.6gcc4.1.1,
x64Linux2.6gcc4.1.2,
x64Linux2.6gcc4.4.3,
x64Linux2.6gcc4.4.5,
i86RedHawk5.4gcc4.2.1,
i86Suse10.1gcc4.1.0,
armv7leLinux2.6gcc4.4.1,
x64Darwin10gcc4.2.1,
ppc4xxFPLinux2.6gcc4.3.3,
ppc7400Linux2.6gcc3.3.3,
ppc85xxLinux2.6gcc4.3.2, ppc85xxWRLinux2.6gcc4.3.2,
i86Win32VS2005, x64Win64VS2005,
i86Win32VS2010, x64Win64VS2010,
ppc85xxInty5.0.11.xes-p2020,
mInty10.0.0.pcx86,
i86Win32VS2008,
x64Win64VS2008,
mpc8349Inty5.0.11.mds8349,
pentiu-
ppc7400Lynx4.0.0gcc3.2.2,
ppc7400Lynx4.2.0gcc3.2.2,
ppc750Lynx4.0.0gcc3.2.2, ppc7400Lynx5.0.0gcc3.4.3, i86Lynx4.0.0gcc3.2.2,
ppc604Vx5.5gcc, ppc603Vx5.5gcc, ppc604Vx6.3gcc3.4.4, ppc604Vx6.3gcc3.4.4 rtp, ppc604Vx6.5gcc3.4.4, ppc604Vx6.5gcc3.4.4 rtp, pentiumVx6.6gcc4.1.2,
pentiumVx6.6gcc4.1.2 rtp,
ppc405Vx6.6gcc4.1.2,
ppc405Vx6.6gcc4.1.2 rtp,
ppc604Vx6.6gcc4.1.2,
ppc604Vx6.6gcc4.1.2 rtp,
pentiumVx6.7gcc4.1.2,
pentiumVx6.7gcc4.1.2 rtp,
ppc604Vx6.7gcc4.1.2,
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
300
Module Documentation
x64Win64dotnet2.0,
i86Win32dotnet4.0,
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.125 rtiddsgen
301
CORBA support requires the RTI CORBA Compatibility Kit, an addon product that provides a different version of rtiddsgen. Please contact
[email protected] for more information.
-optimization Sets the optimization level. (Only applies to C/C++)
0 (default): No optimization.
1: Compiler generates extra code for typedefs but optimizes its use. If the
type that is used is a typedef that can be resolved either to a primitive type
or to another type defined in the same file, the generated code will invoke
the code of the most basic type to which the typedef can be resolved,
unless the most basic type is an array or a sequence. This level can be
used if the generated code is not expected to be modified.
2: Maximum optimization. Functionally the same as level 1, but extra
code for typedef is not generated. This level can be used if the typedefs
are only referred by types within the same file.
-typeSequenceSuffix Assigns a suffix to the name of the implicit sequence
defined for IDL types. (Only applies to CORBA)
By default, the suffix is Seq. For example, given the type Foo the name of
the implicit sequence will be FooSeq.
-dataReaderSuffix Assigns a suffix to the name of the DataReader interface.
(Only applies to CORBA)
By default, the suffix is DataReader. For example, given the type Foo the
name of the DataReader interface will be FooDataReader.
-dataWriterSuffix Assigns a suffix to the name of the DataWriter interface.
(Only applies to CORBA)
By default, the suffix is DataWriter. For example, given the type Foo the
name of the DataWriter interface will be FooDataWriter.
-stringSize Sets the size for unbounded strings. Default: 255 bytes.
-sequenceSize Sets the size for unbounded sequences. Default: 100 elements.
-notypecode: Disables the generation of type code information.
-ppDisable: Disables the preprocessor.
-ppPath <preprocessor executable>: Specifies the preprocessor path. If you
only specify the name of an executable (not a complete path to that executable),
the executable must be found in your Path.
The default value is cpp for non-Windows architectures, cl.exe for Windows
architectures.
If the default preprocessor is not found in your Path and you use -ppPath
to provide its full path and filename, you must also use -ppOption (described
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
302
Module Documentation
6.125 rtiddsgen
303
6.125.2
Description
304
Module Documentation
6.125.3
C++ Example
XML notation
<?xml version="1.0" encoding="UTF-8"?>
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="rti dds topic types.xsd">
<struct name="myDataType">
<member name="value" type="long"/>
</struct>
</types>
XSD notation
WSDL notation
6.125 rtiddsgen
305
</xsd:schema>
</types>
</definitions>
Assuming the name of the idl file is myFileName.(idl|xml|xsd|wsdl) then all you
need to do is type:
rtiddsgen myFileName.(idl|xml|xsd|wsdl)
This generates myFileName.cxx, myFileName.h, myFileNamePlugin.cxx, myFileNamePlugin.h, myFileNameSupport.cxx and myFileNameSupport.h. By
default, rtiddsgen will not overwrite these files. You must use the -replace
argument to do that.
6.125.4
IDL Language
In the IDL language, data types are described in a fashion almost identical to
structures in C. The complete description of the language can be found at the
OMG website.
rtiddsgen does not support the full IDL language.
For detailed information about the IDL support in RTI Connext see Chapter 3
in the Users Manual.
The supported IDL types are:
char
wchar
octet
short
unsigned short
long
unsigned long
long long
unsigned long long
float
double
long double
boolean
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
306
Module Documentation
bounded string
unbounded string
bounded wstring
unbounded wstring
enum
typedef
struct
valuetypes (limited support)
union
sequences
unbounded sequences
arrays
array of sequences
constant
6.125 rtiddsgen
307
You can specify multiple types in a single IDL file. This can simplify management of files in your distributed program.
Use of Directives in an IDL File
The following directives can be used in your IDL file: Note: Do not put a space
between the slashes and the @ sign. Note: Directives are case-sensitive (for
example: use key, not Key).
//@key Specifies that the field declared just before this directive in the
enclosing structure is part of the key. Any number of a structures fields
may be declared part of the key.
//@copy Copies a line of text (verbatim) into the generated code (for all
languages). The text is copied into all the type-specific files generated by
rtiddsgen except the examples.
//@copy-declaration Like //@copy, but only copies the text into the file
where the type is declared (<type>.h for C++/C, or <type>.java for
Java).
//@copy-c Like //@copy, but for C++/C-only code.
//@copy-c-declaration Like //@copy-declaration, but for C++/C-only
code.
//@copy-java Like //@copy, but for Java-only code.
//@copy-java-begin Copies a line of text at the beginning of all the Java
files generated for a type. The directive only applies to the first type that
is immediately below in the IDL file.
//@copy-java-declaration Like //@copy-declaration, but for Java-only
code.
//@copy-java-declaration-begin Like //@copy-java-begin but only copies
the text into the file where the type is declared.
//@copy-ada Like //@copy, but for Ada-only code.
//@copy-ada-begin Like //@copy-java-begin, but for Ada-only code.
//@copy-ada-declaration Like //@copy-declaration, but for Ada-only
code.
//@copy-ada-declaration-begin Like //@copy-java-declaration, but for
Ada-only code.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
308
Module Documentation
//@resolve-name [true|false] Specifies whether or not rtiddsgen should resolve the scope of a type. If this directive is not present or is set to true,
rtiddsgen resolves the scope. Otherwise rtiddsgen delegates the resolution
of a type to the user.
//@top-level [true|false] Specifies whether or not rtiddsgen should generate
type-support code for a particular struct or union. The default is true.
6.125.5
XML Language
can
be
under
The
XSD
definition
of
the
XML
elements
found
in
../../../resource/xsd/rti dds topic types.xsd
<NDDSHOME>/resource/rtiddsgen/schema.
can
be
under
The XML validation performed by rtiddsgen always uses the DTD definition.
If the <!DOCTYPE> tag is not present in the XML file, rtiddsgen will look for
the DTD document under <NDDSHOME>/resource/rtiddsgen/schema. Otherwise, it will use the location specified in <!DOCTYPE>.
For detailed information about the mapping between IDL and XML, see Chapter
3 in the Users Manual.
6.125.6
XSD Language
The data types can be described using XML schemas (XSD files). The XSD
specification is based on the standard IDL to WSDL mapping described in the
OMG document CORBA to WSDL/SOAP Interworking Specification
For detailed information about the mapping between IDL and XML see Chapter
3 in the Users Manual.
6.125.7
WSDL Language
The data types can be described using XML schemas contained in WSDL
files. The XSD specification is based on the standard IDL to WSDL mapping described in the OMG document CORBA to WSDL/SOAP Interworking
Specification
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.125 rtiddsgen
309
For detailed information about the mapping between IDL and XML see Chapter
3 in the Users Manual.
6.125.8
You can use the generated type-specific source and header files without linking
the RTI Connext libraries or even including the RTI Connext header files. That
is, the generated files for your data types can be used standalone.
The directory <NDDSHOME>/resource/rtiddsgen/standalone contains the
helper files required to work in standalone mode:
include: header and templates files for C/C++.
src: source files for C/C++.
class: Java jar file.
Using Standalone Types in C
The generated files that can be used standalone are:
<idl file name>.c : Types source file
<idl file name>.h : Types header file
You cannot use the type plug-in (<idl file>Plugin.c <idl file>Plugin.h) or the
type support (<idl file>Support.c <idl file>Support.h) code standalone.
To use the rtiddsgen-generated types in a standalone manner:
Include the directory <NDDSHOME>/resource/rtiddsgen/standalone/include
in the list of directories to be searched for header files.
Add the source files ndds standalone type.c and <idl file name>.c to your
project.
Include the file <idl file name>.h in the source files that will use the
generated types in a standalone way.
Compile the project using the two following preprocessor definitions:
NDDS STANDALONE TYPE
The definition for your platform: RTI VXWORKS, RTI QNX, RTI WIN32, RTI INTY, RTI LYNX or RTI UNIX
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
310
Module Documentation
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.126 rtiddsping
6.126
311
rtiddsping
Sends or receives simple messages using RTI Connext. The rtiddsping utility
uses RTI Connext to send and receive preconfigured Ping messages to other
rtiddsping applications which can be running in the same or different computers.
The rtiddsping utility can used to test the network and/or computer configuration and the environment settings that affect the operation of RTI Connext.
Usage
rtiddsping [-help] [-version]
[-domainId <domainId>]
... defaults to 0
[-index <NN>]
... defaults to -1 (auto)
[-appId <ID>]
... defaults to a middleware-selected value
[-Verbosity <NN>]
... can be 0..5
[-peer <PEER>]
... PEER format is NN@TRANSPORT://ADDRESS
[-discoveryTTL <NN>]
... can be 0..255
[-transport <MASK>]
... defaults to DDS TRANSPORTBUILTIN MASK DEFAULT
[-msgMaxSize <SIZE>]
... defaults to -1 (transport default)
[-shmRcvSize <SIZE>]
... defaults to -1 (transport default)
[-deadline
<SS>]
... defaults to -1 (no deadline)
[-durability <TYPE>]
... TYPE can be VOLATILE or TRANSIENT LOCAL
[-multicast <ADDRESS>]
... defaults to no multicast
[-numSamples <NN>]
... defaults to infinite
[-publisher]
... this is the default
[-queueSize <NN>]
... defaults to 1
[-reliable]
... defaults to best-efforts
[-sendPeriod <SS>]
... SS is in seconds, defaults to 1
[-subscriber]
[-timeFilter <SS>]
... defaults to 0 (no filter)
[-timeout
<SS>]
... SS is in seconds, defaults to infinite
[-topicName <NAME>]
... defaults to PingTopic
[-typeName
<NAME>]
... defaults to PingType
[-useKeys
<NN>]
... defaults to PingType
[-qosFile <file>]
[-qosProfile <lib.prof>]
Example: rtiddsping -domainId 3 -publisher -numSamples 100
VxWorks Usage
rtiddsping "[<options>]"
The options use the same syntax as above.
Example rtiddsping "-domainId 3 -publisher -numSamples 100"
If the stack of the shell is not large enough to run rtiddsping, use "taskSpawn":
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
312
Module Documentation
Options:
-help Prints a help message and exits.
-version Prints the version and exits.
-Verbosity <NN> Sets the verbosity level. The range is 0 to 5.
0 has minimal output and does not echo the fact that data is being sent or
received.
1 prints the most relevant statuses, including the sending and receiving of data.
This is the default.
2 prints a summary of the parameters that are in use and echoes more detailed
status messages.
3-5 Mostly affects the verbosity used by the internal RTI Connext modules that
implement rtiddsping. The output is not always readable; its main purpose is
to provide information that may be useful to RTIs support team.
Example: rtiddsping -Verbosity 2
-domainId <NN>
Sets the domain ID. The valid range is 0 to 100.
Example: rtiddsping -domainId 31
-appId <ID>
Sets the application ID. If unspecified, the system will pick one automatically.
This option is rarely used.
Example: rtiddsping -appId 34556
-index <NN>
Sets the participantIndex. If participantIndex is not -1 (auto), it must be different than the one used by all other applications in the same computer and
domainId. If this is not respected, rtiddsping (or the application that starts
last) will get an initialization error.
Example: rtiddsping -index 2
-peer <PEER>
Specifies a PEER to be used for discovery. Like any RTI Connext application, it
defaults to the setting of the environment variable NDDS DISCOVERY PEERS
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.126 rtiddsping
313
314
Module Documentation
-deadline <SS>
This option only applies if the -subscriber option is also specified.
Sets the DEADLINE QoS for the subscriptions made by rtiddsping.
Note that this may cause the subscription QoS to be incompatible with the
publisher if the publisher did not specify a sendPeriod greater than the deadline.
If the QoS is incompatible, rtiddsping will not receive updates.
Each time a deadline is detected, rtiddsping will print a message indicating the
number of deadlines received so far.
Example: rtiddsping -deadline 3.5
-durability <TYPE>
Sets the DURABILITY QoS used for publishing or subscribing. Valid settings
are: VOLATILE and TRANSIENT LOCAL (default). The effect of this setting
can only be observed when it is used in in conjunction with reliability and a
queueSize larger than 1. If all these conditions are met, a late-joining subscriber
will be able to see up to queueSize samples that were previously written by the
publisher.
Example: rtiddsping -durability VOLATILE
-multicast <ADDRESS>
This option only applies if the -subscriber option is also specified.
Configures ping to receive messages over multicast. The <ADDRESS> parameter indicates the address to use. ADDRESS must be in the valid range for multicast addresses. For IP version 4 the valid range is 224.0.0.1 to 239.255.255.255
Example: rtiddsping -multicast 225.1.1.1
-numSamples <NN>
Sets the number of samples that will be sent by rtiddsping. After those samples
are sent, rtiddsping will exit. messages.
Example: rtiddsping -numSamples 10
-publisher
Causes rtiddsping to send ping messages. This is the default.
Example: rtiddsping -publisher
-queueSize <NN>
Specifies the maximal number of samples to hold in the queue. In the case of the
publisher, it affects the samples that are available for a late-joining subscriber.
Example: rtiddsping -queueSize 100
-reliable
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.126 rtiddsping
315
316
Module Documentation
The value of NN only affects the publishing behavior. However NN still needs
to be specified when the -useKeys option is used with the -subscriber option.
For communication to occur, both the publisher and subscriber must agree on
whether the topic that they publish/subscribe contains a key. Consequently, if
you specify the -useKeys parameter for the publisher, you must do the same
with the subscriber. Otherwise communication will not be stablished.
Example: rtiddsping -useKeys 20
-qosFile <file>
Allow you to specify additional QoS XML settings using url profile. For more
information on the syntax, see Chapter 15 in the RTI Connext Users Manual.
Example: rtiddsping -qosFile /home/user/QoSProfileFile.xml
-qosProfile <lib.prof>
This option specifies the library name and profile name that the tool should use.
QoS settings
rtiddsping is configured internally using a special set of QoS settings in a profile called InternalPingLibrary.InternalPingProfile. This is the default profile
unless a profile called DefaultPingLibrary.DefaultPingProfile is found. You can
use the command-line option -qosProfile to tell rtiddsping to use a different
lib.profile instead of DefaultPingLibrary.DefaultPingProfile. Like all the other
RTI Connext applications, rtiddsping loads all the profiles specified using the
environment variable NDDS QOS PROFILES or the file named USER QOS PROFILES found in the current working directory.
The QoS settings used internally are available in the file RTIDDSSPING QOS PROFILES.example.xml.
Description
The usage depends on the operating system from which rtiddsping is executed.
Examples for UNIX, Linux, and Windows Systems
On UNIX, Linux, Windows and other operating systems that have a shell, the
syntax matches the one of the regular commands available in the shell. In the
examples below, the string shell prompt> represents the prompt that the shell
prints and are not part of the command that must be typed.
shell prompt>
shell prompt>
shell prompt>
VxWorks examples:
On VxWorks systems, the libraries libnddscore.so, libnddsc.so and libnddscpp.so
must first be loaded. The rtiddsping command must be typed to the VxWorks
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.126 rtiddsping
317
shell (either an rlogin shell, a target-server shell, or the serial line prompt). The
arguments are passed embedded into a single string, but otherwise have the
same syntax as for Unix/Windows. In the Unix, Linux, Windows and other
operating systems that have a shell, the syntax matches the one of the regular
commands available in the shell. In the examples below, the string vxworks
prompt> represents the prompt that the shell prints and are not part of the
command that must be typed.
vxworks prompt>
vxworks prompt>
vxworks prompt>
vxworks prompt> taskSpawn "rtiddsping", 100, 0x8, 50000, rtiddsping, "-domainId 3 -publisher -numSamples 100
vxworks prompt> taskSpawn "rtiddsping", 100, 0x8, 50000, rtiddsping, "-domainId 5 -subscriber -timeout 20"
vxworks prompt> taskSpawn "rtiddsping", 100, 0x8, 50000, rtiddsping, "-help"
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
318
Module Documentation
6.127
rtiddsspy
Debugging tool which receives all RTI Connext communication. The rtiddsspy
utility allows the user to monitor groups of publications available on any RTI
Connext domain.
Note: If you have more than one DataWriter for the same Topic, and these
DataWriters have different settings for the Ownership QoS, then rtiddsspy will
only receive (and thus report on) the samples from the first DataWriter.
To run rtiddsspy, like any RTI Connext application, you must have the NDDS DISCOVERY PEERS environment variable that defines your RTI Connext domain; otherwise you must specify the peers as command line parameters.
Usage
rtiddsspy [-help] [-version]
[-domainId <domainId>]
[-index <NN>]
[-appId <ID>]
[-Verbosity <NN>]
[-peer <PEER>]
[-discoveryTTL <NN>]
[-transport <MASK>]
[-msgMaxSize <SIZE>]
[-shmRcvSize <SIZE>]
[-tcMaxSize <SIZE>]
[-hOutput]
[-deadline
<SS>]
[-history
<DEPTH>]
[-timeFilter <SS>]
[-useFirstPublicationQos]
[-showHandle]
[-typeRegex <REGEX>]
[-topicRegex <REGEX>]
[-typeWidth <WIDTH>]
[-topicWidth <WIDTH>]
[-truncate]
[-printSample]
[-qosFile <file>]
[-qosProfile <lib.prof>]
...
...
...
...
...
...
...
...
...
...
defaults to 0
defaults to -1 (auto)
defaults to a middleware-selected value
can be 0..5
PEER format is NN@TRANSPORT://ADDRESS
can be 0..255
defaults to DDS TRANSPORTBUILTIN MASK DEFAULT
defaults to -1 (transport default)
defaults to -1 (transport default)
defaults to 4096
...
...
...
...
defaults to "*"
defaults to "*"
can be 1..255
can be 1..255
VxWorks Usage
rtiddsspy "[<options>]"
The options use the same syntax as above.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
6.127 rtiddsspy
319
rtiddsspy requires about 25 kB of stack. If the stack size of the shell from which it is invoked is not la
taskSpawn <name>, <priority>, <taskspawn options>, <stack size in bytes>, rtiddsspy, "[\<options\>]"
The options use the same syntax as above.
Example taskSpawn "rtiddsspy", 100, 0x8, 50000, rtiddsspy, "-domainId 3 -topicRegex Alarm*"
Options:
-help Prints a help message and exits.
-version Prints the version and exits.
-Verbosity <NN> Sets the verbosity level. The range is 0 to 5.
0 has minimal output and does not echo the fact that data is being sent or
received.
1 prints the most relevant statuses, including the sending and receiving of data.
This is the default.
2 prints a summary of the parameters being used and echoes more detailed
status messages.
3-5 Mostly affect the verbosity used by the internal RTI Connext modules that
implement rtiddsspy. The output is not always readable; its main purpose is to
provide information that may be useful to RTIs support team.
Example: rtiddsspy -Verbosity 2
-domainId <NN>
Sets the domain ID. The valid range is 0 to 100.
Example: rtiddsspy -domainId 31
-appId <ID>
Sets the application ID. If unspecified, the system will pick one automatically.
This option is rarely used.
Example: rtiddsspy -appId 34556
-index <NN>
Sets the participantIndex. If participantIndex is not -1 (auto), it must be different than the one used by all other applications in the same computer and
domainId. If this is not respected, rtiddsspy (or the application that starts last)
will get an initialization error.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
320
Module Documentation
6.127 rtiddsspy
321
-shmRcvSize <SIZE>
Increases the shared memory receive-buffer size. This is needed if you are using rtiddsspy to communicate with an application that has set these transport
parameters to larger than default values.
-tcMaxSize <SIZE>
Configures the maximum size, in bytes, of a received type code.
-hOutput
Prints information on the output format used by rtiddsspy.
This option prints an explanation of the output and then exits.
Example: rtiddsspy -hOutput
-deadline <SS>
Sets the requested DEADLINE QoS for the subscriptions made by rtiddsspy.
Note that this may cause the subscription QoS to be incompatible with the
publisher if the publisher did not specify an offered deadline that is greater or
equal to the one requested by rtiddsspy. If the QoS is incompatible rtiddsspy
will not receive updates from that writer.
Each time a deadline is detected rtiddsspy will print a message that indicates
the number of deadlines received so far.
Example: rtiddsspy -deadline 3.5
-timeFilter <SS>
Sets the TIME BASED FILTER QoS for the subscriptions made by rtiddsspy.
This QoS causes RTI Connext to filter-out messages that are published at a rate
faster than what the filter duration permits. For example if the filter duration
is 10 seconds, messages will be printed no faster than once each 10 seconds.
Example: rtiddsspy -timeFilter 10.0
-history <DEPTH>
Sets the HISTORY depth QoS for the subscriptions made by rtiddsspy.
This may be relevant if the publisher has batching turned on, or if the useFirstPublicationQos option is used that is causing a reliable or durable subscription to be created.
Example: rtiddsspy -history 1
-useFirstPublicationQos
Sets the RELIABILITY and DURABILITY QoS of the subscription based on
the first discovered publication of that topic.
See also -history option.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
322
Module Documentation
6.127 rtiddsspy
323
rtiddsspy -domainId 3
rtiddsspy -domainId 5 -topicRegex "Alarm*"
rtiddsspy -help
324
Module Documentation
operating systems that have a shell, the syntax matches the one of the regular
comamnds available in the shell. In the examples below, the string vxworks
prompt> represents the prompt that the shell prints and are not part of the
command that must be typed.
vxworks prompt>
vxworks prompt>
vxworks prompt>
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 7
Namespace Documentation
7.1
Package com.rti
RTI.
Packages
package dds
DDS.
package ndds
DDS extensions.
7.1.1
RTI.
Detailed Description
326
Namespace Documentation
7.2
Package com.rti.dds
DDS.
Packages
package domain
Contains the com.rti.dds.domain.DomainParticipant ( p. 654) class that
acts as an entrypoint of RTI Connext and acts as a factory for many of the
classes. The com.rti.dds.domain.DomainParticipant ( p. 654) also acts
as a container for the other objects that make up RTI Connext.
package dynamicdata
<<eXtension>> (p. 278) The Dynamic Data API provides a way to interact with arbitrarily complex data types at runtime without the need for code
generation.
package infrastructure
Defines the abstract classes and the interfaces that are refined by the other
modules. Contains common definitions such as return codes, status values,
and QoS policies.
package publication
Contains
the
com.rti.dds.publication.FlowController
( p. 964),
com.rti.dds.publication.Publisher
( p. 1262),
and
com.rti.dds.publication.DataWriter ( p. 557) classes as well as
and
the
com.rti.dds.publication.PublisherListener
( p. 1289)
com.rti.dds.publication.DataWriterListener
( p. 586)
interfaces,
and more generally, all that is needed on the publication ( p. 349) side.
package subscription
Contains
the
com.rti.dds.subscription.Subscriber
( p. 1476),
com.rti.dds.subscription.DataReader
( p. 487),
com.rti.dds.subscription.ReadCondition
( p. 1313),
and
com.rti.dds.subscription.QueryCondition ( p. 1311) classes, as well
as the com.rti.dds.subscription.SubscriberListener ( p. 1503) and
com.rti.dds.subscription.DataReaderListener ( p. 518) interfaces, and
more generally, all that is needed on the subscription ( p. 353) side.
package topic
Contains
the
com.rti.dds.topic.Topic
( p. 1545),
com.rti.dds.topic.ContentFilteredTopic
( p. 471),
and
com.rti.dds.topic.MultiTopic
( p. 1190)
classes,
the
com.rti.dds.topic.TopicListener ( p. 1564) interface, and more generally,
all that is needed by an application to define com.rti.dds.topic.Topic
( p. 1545) objects and attach QoS policies to them.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
327
package typecode
<<eXtension>> (p. 278) A com.rti.dds.typecode.TypeCode (p. 1611)
is a mechanism for representing a type at runtime. RTI Connext can use type
codes to send type definitions on the network. You will need to understand
this API in order to use the Dynamic Data ( p. 175) capability or to inspect
the type information you receive from remote readers and writers.
package util
Utility types that support the DDS API.
7.2.1
Detailed Description
DDS.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
328
Namespace Documentation
7.3
Package com.rti.dds.domain
Classes
interface DomainParticipant
<<interface>>
(p. 279)
Container
for
com.rti.dds.infrastructure.DomainEntity ( p. 653) objects.
all
class DomainParticipantAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
class DomainParticipantFactory
<<singleton>> (p. 279) <<interface>> (p. 279) Allows creation and destruction of com.rti.dds.domain.DomainParticipant ( p. 654) objects.
class DomainParticipantFactoryQos
QoS policies supported by a com.rti.dds.domain.DomainParticipantFactory
( p. 742).
interface DomainParticipantListener
<<interface>> (p. 279) Listener for participant status.
class DomainParticipantQos
QoS policies supported by a com.rti.dds.domain.DomainParticipant
( p. 654) entity.
Packages
package builtin
Builtin topic ( p. 359) for accessing information about the DomainParticipants discovered by RTI Connext.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.3.1
329
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
330
Namespace Documentation
7.4
Package com.rti.dds.domain.builtin
Builtin topic (p. 359) for accessing information about the DomainParticipants
discovered by RTI Connext.
Classes
class ParticipantBuiltinTopicData
Entry created when a DomainParticipant ( p. 654) object is discovered.
class ParticipantBuiltinTopicDataDataReader
Instantiates
DataReader
( p. 1211) > .
<
builtin.ParticipantBuiltinTopicData
class ParticipantBuiltinTopicDataSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
builtin.ParticipantBuiltinTopicData ( p. 1211) > .
class ParticipantBuiltinTopicDataTypeSupport
Instantiates TypeSupport
( p. 1211) > .
7.4.1
<
builtin.ParticipantBuiltinTopicData
Detailed Description
Builtin topic (p. 359) for accessing information about the DomainParticipants
discovered by RTI Connext.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.5
331
Package com.rti.dds.dynamicdata
<<eXtension>> ( p. 278) The Dynamic Data API provides a way to interact with arbitrarily complex data types at runtime without the need for code
generation.
Classes
class DynamicData
A sample of any complex data type, which can be inspected and manipulated
reflectively.
class DynamicDataInfo
A descriptor for a com.rti.dds.dynamicdata.DynamicData ( p. 817) object.
class DynamicDataMemberInfo
A descriptor for a single member (i.e. field) of dynamically defined data type.
class DynamicDataProperty t
A
collection
of
attributes
used
to
com.rti.dds.dynamicdata.DynamicData ( p. 817) objects.
configure
class DynamicDataReader
Reads
(subscribes
to)
objects
com.rti.dds.dynamicdata.DynamicData ( p. 817).
of
type
class DynamicDataSeq
An ordered collection
( p. 817) elements.
of
com.rti.dds.dynamicdata.DynamicData
class DynamicDataTypeProperty t
A
collection
of
attributes
used
to
com.rti.dds.dynamicdata.DynamicData ( p. 817) objects.
configure
class DynamicDataTypeSerializationProperty t
Properties that govern how data of a certain type will be serialized on the
network.
class DynamicDataTypeSupport
A factory for registering a dynamically defined type and creating
com.rti.dds.dynamicdata.DynamicData ( p. 817) objects.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
332
Namespace Documentation
class DynamicDataWriter
Writes (publishes) objects of type com.rti.dds.dynamicdata.DynamicData
( p. 817).
7.5.1
Detailed Description
<<eXtension>> ( p. 278) The Dynamic Data API provides a way to interact with arbitrarily complex data types at runtime without the need for code
generation.
This API allows you to define new data types, modify existing data types, and
interact reflectively with samples. To use it, you will take the following steps:
1. Obtain a com.rti.dds.typecode.TypeCode (p. 1611) (see Type Code
Support (p. 165)) that defines the type definition you want to use.
A com.rti.dds.typecode.TypeCode (p. 1611) includes a types kind
(com.rti.dds.typecode.TCKind (p. 1525)), name, and members (that
is, fields). You can create your own com.rti.dds.typecode.TypeCode
(p. 1611) using the com.rti.dds.typecode.TypeCodeFactory (p. 1647) class
see, for example, the com.rti.dds.typecode.TypeCodeFactory.create Alternatively, you can use a remote
struct tc (p. 1651) method.
com.rti.dds.typecode.TypeCode (p. 1611) that you discovered on the network (see Built-in Topics (p. 157)) or one generated by rtiddsgen (p. 298).
2.
Wrap the com.rti.dds.typecode.TypeCode (p. 1611) in a
com.rti.dds.dynamicdata.DynamicDataTypeSupport (p. 901) object.
from
the
Use the name under which you registered your data type see
com.rti.dds.domain.DomainParticipant.create topic (p. 697).
This
com.rti.dds.topic.Topic (p. 1545) is what you will use to produce and consume data.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
333
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
334
Namespace Documentation
7.6
Package com.rti.dds.infrastructure
Defines the abstract classes and the interfaces that are refined by the other
modules. Contains common definitions such as return codes, status values, and
QoS policies.
Classes
class AckResponseData t
Data payload of an application-level acknowledgment.
class AllocationSettings t
Resource allocation settings.
class AsynchronousPublisherQosPolicy
Configures the mechanism that sends user data in an external middleware
thread.
class AvailabilityQosPolicy
Configures the availability of data.
class BadKind
The exception BadKind ( p. 409) is thrown when an inappropriate operation
is invoked on a TypeCode object.
class BadMemberId
The specified com.rti.dds.typecode.TypeCode ( p. 1611) member ID is invalid.
class BadMemberName
The specified com.rti.dds.typecode.TypeCode ( p. 1611) member name is
invalid.
class BatchQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
335
class BooleanSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
boolean >.
class Bounds
A user exception thrown when a parameter is not within the legal bounds.
class BuiltinTopicReaderResourceLimits t
Built-in topic ( p. 359) readers resource limits.
class ByteSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
byte >.
class ChannelSettings t
Type used to configure the properties of a channel.
class ChannelSettingsSeq
Declares IDL sequence< com.rti.dds.infrastructure.ChannelSettings t
( p. 454) >.
class CharSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
char >.
interface Condition
<<interface>> (p. 279) Root class for all the conditions that may be attached to a com.rti.dds.infrastructure.WaitSet ( p. 1709).
class ConditionSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.Condition ( p. 464) >.
class ContentFilterProperty t
<<eXtension>> (p. 278) Type used to provide all the required information
to enable content filtering.
class Cookie t
<<eXtension>> (p. 278) Sequence of bytes identifying a written data sample, used when writing with parameters.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
336
Namespace Documentation
class CookieSeq
interface Copyable
<<eXtension>> (p. 278) <<interface>> (p. 279) Interface for all the
user-defined data type classes that support copy.
class DatabaseQosPolicy
Various threads and resource limits settings used by RTI Connext to control
its internal database.
class DataReaderProtocolQosPolicy
Along
with
com.rti.dds.infrastructure.WireProtocolQosPolicy
( p. 1723) and com.rti.dds.infrastructure.DataWriterProtocolQosPolicy
( p. 592), this QoS policy configures the DDS on-the-network protocol
(RTPS).
class DataReaderResourceLimitsQosPolicy
Various
settings
that
com.rti.dds.subscription.DataReader
physical memory for internal resources.
configure
how
( p. 487) allocates and
a
uses
class DataWriterProtocolQosPolicy
Protocol that applies only to com.rti.dds.publication.DataWriter ( p. 557)
instances.
class DataWriterResourceLimitsInstanceReplacementKind
Sets the kinds of instances that can be replaced when instance resource limits
are reached.
class DataWriterResourceLimitsQosPolicy
Various
settings
that
configure
how
a
com.rti.dds.publication.DataWriter ( p. 557) allocates and uses physical
memory for internal resources.
class DeadlineQosPolicy
Expresses the maximum duration (deadline) within which an instance is expected to be updated.
class DestinationOrderQosPolicy
Controls how the middleware will deal with data sent by multiple
com.rti.dds.publication.DataWriter ( p. 557) entities for the same instance of data (i.e., same com.rti.dds.topic.Topic ( p. 1545) and key).
class DestinationOrderQosPolicyKind
Kinds of destination order.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
337
class DiscoveryBuiltinReaderFragmentationResourceLimits t
class DiscoveryConfigBuiltinPluginKind
Built-in discovery plugins that can be used.
class DiscoveryConfigQosPolicy
Settings for discovery configuration.
class DiscoveryPluginPromiscuityKind
<<eXtension>> (p. 278) Type used to indicate promiscuity mode of the
discovery plugin.
class DiscoveryQosPolicy
Configures the mechanism used by the middleware to automatically discover
and connect with new remote applications.
interface DomainEntity
<<interface>> (p. 279) Abstract base class for all DDS entities except for
the com.rti.dds.domain.DomainParticipant ( p. 654).
class DomainParticipantResourceLimitsQosPolicy
Various
settings
that
configure
how
a
com.rti.dds.domain.DomainParticipant ( p. 654) allocates and uses
physical memory for internal resources, including the maximum sizes of
various properties.
class DoubleSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
double >.
class DurabilityQosPolicy
This QoS policy specifies whether or not RTI Connext will
store and deliver previously published data samples to new
com.rti.dds.subscription.DataReader ( p. 487) entities that join the
network later.
class DurabilityQosPolicyKind
Kinds of durability.
class DurabilityServiceQosPolicy
Various
settings
to
configure
the
external
RTI
Persistence Service used by RTI Connext for DataWriters with a
com.rti.dds.infrastructure.DurabilityQosPolicy ( p. 802) setting of
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT DURABILITY QOS.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
338
Namespace Documentation
class Duration t
Type for duration representation.
class EndpointGroup t
Specifies a group of endpoints that can be collectively identified by a name
and satisfied by a quorum.
class EndpointGroupSeq
A sequence of com.rti.dds.infrastructure.EndpointGroup t ( p. 928).
interface Entity
<<interface>> (p. 279) Abstract base class for all the DDS objects that
support QoS policies, a listener, and a status condition.
class EntityFactoryQosPolicy
A
QoS
policy
for
all
com.rti.dds.infrastructure.Entity
( p. 931) types that can act as factories for one or more other
com.rti.dds.infrastructure.Entity ( p. 931) types.
class EntityNameQosPolicy
Assigns
a
name
and
a
role
name
to
a
com.rti.dds.domain.DomainParticipant
( p. 654),
com.rti.dds.publication.DataWriter
( p. 557)
or
These names will
com.rti.dds.subscription.DataReader ( p. 487).
be visible during the discovery process and in RTI tools to help you visualize
and debug your system.
class EventQosPolicy
Settings for event.
class ExclusiveAreaQosPolicy
Configures multi-thread concurrency and deadlock prevention capabilities.
class FloatSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
float >.
class GroupDataQosPolicy
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
class GuardCondition
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
339
class GUID t
Type for GUID (Global Unique Identifier) representation.
class HistoryQosPolicy
Specifies the behavior of RTI Connext in the case where the value of a sample
changes (one or more times) before it can be successfully communicated to
one or more existing subscribers.
class HistoryQosPolicyKind
Kinds of history.
class InetAddressSeq
Declares IDL sequence< com.rti.dds.infrastructure.java.net.InetAddress >.
class InstanceHandle t
Type definition for an instance handle.
class InstanceHandleSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.InstanceHandle t ( p. 1055) > .
class IntSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.int >.
class LatencyBudgetQosPolicy
Provides a hint as to the maximum acceptable delay from the time the data
is written to the time it is received by the subscribing applications.
class LifespanQosPolicy
Specifies
how
long
the
data
written
by
com.rti.dds.publication.DataWriter ( p. 557) is considered valid.
the
interface Listener
<<interface>> (p. 279) Abstract base class for all Listener ( p. 1130) interfaces.
class LivelinessQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
340
Namespace Documentation
Specifies
and
configures
the
mechanism
that
allows
com.rti.dds.subscription.DataReader ( p. 487) entities to detect
when com.rti.dds.publication.DataWriter ( p. 557) entities become
disconnected or dead..
class LivelinessQosPolicyKind
Kinds of liveliness.
class Locator t
<<eXtension>> (p. 278) Type used to represent the addressing information
needed to send a message to an RTPS Endpoint using one of the supported
transports.
class LocatorFilter t
Specifies the configuration of an individual channel within a MultiChannel
DataWriter.
class LocatorFilterQosPolicy
The QoS policy used to report the configuration of a MultiChannel
DataWriter as part of builtin.PublicationBuiltinTopicData.
class LocatorFilterSeq
Declares IDL sequence< com.rti.dds.infrastructure.LocatorFilter t ( p. 1154) >.
class LocatorSeq
Declares IDL sequence < com.rti.dds.infrastructure.Locator t ( p. 1150)
>.
class LoggingQosPolicy
Configures the RTI Connext logging facility.
class LongDoubleSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.LongDouble >.
class LongSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
long >.
class MultiChannelQosPolicy
Configures the ability of a DataWriter to send data on different multicast
groups (addresses) based on the value of the data.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
341
class ObjectHolder
<<eXtension>> (p. 278) Holder of object instance
class OwnershipQosPolicy
Specifies
whether
it
is
allowed
for
multiple
com.rti.dds.publication.DataWriter ( p. 557) (s) to write the same
instance of the data and if so, how these modifications should be arbitrated.
class OwnershipQosPolicyKind
Kinds of ownership.
class OwnershipStrengthQosPolicy
Specifies the value of the strength used to arbitrate among multiple com.rti.dds.publication.DataWriter ( p. 557) objects that attempt to modify the same instance of a data type (identified by
com.rti.dds.topic.Topic ( p. 1545) + key).
class PartitionQosPolicy
Set of strings that introduces a logical partition among the topics visible by a com.rti.dds.publication.Publisher ( p. 1262) and a
com.rti.dds.subscription.Subscriber ( p. 1476).
class PresentationQosPolicy
Specifies how the samples representing changes to data instances are presented to a subscribing application.
class PresentationQosPolicyAccessScopeKind
Kinds of presentation access scope.
class ProductVersion t
<<eXtension>> (p. 278) Type used to represent the current version of RTI
Connext.
class ProfileQosPolicy
Configures the way that XML documents containing QoS profiles are loaded
by RTI Connext.
class Property t
Properties are name/value pairs objects.
class PropertyQosPolicy
Stores name/value(string) pairs that can be used to configure certain parameters of RTI Connext that are not exposed through formal QoS policies. Can
also be used to store and propagate application-specific name/value pairs that
can be retrieved by user code during discovery.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
342
Namespace Documentation
class PropertyQosPolicyHelper
Policy Helpers which facilitate management of the properties in the input
policy.
class PropertySeq
Declares IDL
( p. 1234) >.
sequence
<
com.rti.dds.infrastructure.Property t
class ProtocolVersion t
<<eXtension>> (p. 278) Type used to represent the version of the RTPS
protocol.
class PublishModeQosPolicy
Specifies how RTI Connext sends application data on the network. This QoS
policy can be used to tell RTI Connext to use its own thread to send data,
instead of the user thread.
class PublishModeQosPolicyKind
Kinds of publishing mode.
class Qos
An abstract base class for all QoS types.
class QosPolicy
The base class for all QoS policies.
class QosPolicyCount
Type to hold a counter for a com.rti.dds.infrastructure.QosPolicyId t
( p. 1305).
class QosPolicyCountSeq
Declares IDL sequence < com.rti.dds.infrastructure.QosPolicyCount
( p. 1302) >.
class QosPolicyId t
Type to identify QosPolicies.
class ReaderDataLifecycleQosPolicy
Controls how a DataReader manages the lifecycle of the data that it has
received.
class ReceiverPoolQosPolicy
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
343
Configures threads used by RTI Connext to receive and process data from
transports (for example, UDP sockets).
class RefilterQosPolicyKind
<<eXtension>> (p. 278) Kinds of Refiltering
class ReliabilityQosPolicy
Indicates the level of reliability offered/requested by RTI Connext.
class ReliabilityQosPolicyAcknowledgmentModeKind
Kinds of acknowledgment.
class ReliabilityQosPolicyKind
Kinds of reliability.
class RemoteParticipantPurgeKind
Available behaviors for halting communication with remote participants (and
their contained entities) with which discovery communication has been lost.
class ResourceLimitsQosPolicy
Controls the amount of physical memory allocated for DDS entities, if dynamic allocations are allowed, and how they occur. Also controls memory
usage among different instance values for keyed topics.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
344
Namespace Documentation
class RETCODE NO DATA
Indicates a transient situation where the operation did not return any data
but there is no inherent error.
class RtpsReliableReaderProtocol t
Qos ( p. 1300) related to reliable reader protocol defined in RTPS.
class RtpsReliableWriterProtocol t
QoS related to the reliable writer protocol defined in RTPS.
class RtpsReservedPortKind
RTPS reserved port kind, used to identify the types of ports that can be reserved on domain ( p. 328) participant enable.
class RtpsWellKnownPorts t
RTPS well-known port mapping configuration.
class SampleIdentity t
Type definition for an Sample Identity.
class SequenceNumber t
Type for sequence number representation.
class ShortSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
short >.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
345
interface StatusCondition
<<interface>> (p. 279) A specific com.rti.dds.infrastructure.Condition
( p. 464) that is associated with each com.rti.dds.infrastructure.Entity
( p. 931).
class StatusKind
Type for status kinds.
class StringSeq
Declares IDL sequence < com.rti.dds.infrastructure.String > .
class SystemException
System exception.
class SystemResourceLimitsQosPolicy
Configures
com.rti.dds.domain.DomainParticipant
( p. 654)independent resources used by RTI Connext. Mainly used to change
the maximum number of com.rti.dds.domain.DomainParticipant
( p. 654) entities that can be created within a single process (address space).
class ThreadSettings t
The properties of a thread of execution.
class ThreadSettingsCpuRotationKind
Determines how com.rti.dds.infrastructure.ThreadSettings t.cpu list
( p. 1531) affects processor affinity for thread-related QoS policies that apply to multiple threads.
class ThreadSettingsKind
A collection of flags used to configure threads of execution.
class Time t
Type for time representation.
class TimeBasedFilterQosPolicy
Filter that allows a com.rti.dds.subscription.DataReader ( p. 487) to
specify that it is interested only in (potentially) a subset of the values of
the data.
class TopicDataQosPolicy
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
346
Namespace Documentation
class TransportBuiltinKind
Built-in transport kind.
class TransportBuiltinQosPolicy
Specifies which built-in transports are used.
class TransportMulticastMapping t
Type representing a list of multicast mapping elements.
class TransportMulticastMappingFunction t
Type representing an external mapping function.
class TransportMulticastMappingQosPolicy
Specifies
the
multicast
address
on
which
a
com.rti.dds.subscription.DataReader ( p. 487) wants to receive its
data. It can also specify a port number as well as a subset of the available (at the com.rti.dds.domain.DomainParticipant ( p. 654) level)
transports with which to receive the multicast data.
class TransportMulticastMappingSeq
Declares IDL sequence< com.rti.dds.infrastructure.TransportMulticastSettings t ( p. 1594) >.
class TransportMulticastQosPolicy
Specifies
the
multicast
address
on
which
a
com.rti.dds.subscription.DataReader ( p. 487) wants to receive its
data. It can also specify a port number as well as a subset of the available (at the com.rti.dds.domain.DomainParticipant ( p. 654) level)
transports with which to receive the multicast data.
class TransportMulticastQosPolicyKind
Transport Multicast Policy Kind.
class TransportMulticastSettings t
Type representing a list of multicast locators.
class TransportMulticastSettingsSeq
Declares IDL sequence< com.rti.dds.infrastructure.TransportMulticastSettings t ( p. 1594) >.
class TransportPriorityQosPolicy
This QoS policy allows the application to take advantage of transports that
are capable of sending messages with different priorities.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
347
class TransportSelectionQosPolicy
Specifies the physical transports a com.rti.dds.publication.DataWriter
( p. 557) or com.rti.dds.subscription.DataReader ( p. 487) may use to
send or receive data.
class TransportUnicastQosPolicy
Specifies a subset of transports and a port number that can be used by an
Entity ( p. 931) to receive data.
class TransportUnicastSettings t
Type representing a list of unicast locators.
class TransportUnicastSettingsSeq
Declares IDL sequence< com.rti.dds.infrastructure.TransportUnicastSettings t ( p. 1608) >.
class TypeConsistencyEnforcementQosPolicy
Defines the rules for determining whether the type used to publish a given
topic ( p. 359) is consistent with that used to subscribe to it.
class TypeConsistencyKind
Kinds of type consistency.
class TypeSupportQosPolicy
Allows you to attach application-specific values to a DataWriter or
DataReader that are passed to the serialization or deserialization routine
of the associated data type.
class UserDataQosPolicy
Attaches a buffer of opaque data that is distributed by means of Built-in
Topics ( p. 157) during discovery.
class UserException
User exception.
class VendorId t
<<eXtension>> (p. 278) Type used to represent the vendor of the service
implementing the RTPS protocol.
class WaitSet
<<interface>> (p. 279) Allows an application to wait until one or more
of the attached com.rti.dds.infrastructure.Condition ( p. 464) objects has
a trigger value of com.rti.dds.infrastructure.true or else until the timeout
expires.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
348
Namespace Documentation
class WaitSetProperty t
<<eXtension>>
(p. 278)
Specifies
the
com.rti.dds.infrastructure.WaitSet ( p. 1709) behavior for multiple
trigger events.
class WcharSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.char >.
class WireProtocolQosPolicy
Specifies
the
wire-protocol-related
attributes
com.rti.dds.domain.DomainParticipant ( p. 654).
for
the
class WireProtocolQosPolicyAutoKind
Kind of auto mechanism used to calculate the GUID prefix.
class WriteParams t
<<eXtension>>
(p. 278) Input parameters for writing with
( p. 1026),
com.rti.ndds.example.FooDataWriter.write w params
com.rti.ndds.example.FooDataWriter.dispose w params
( p. 1031),
com.rti.ndds.example.FooDataWriter.register instance w params
( p. 1016),
com.rti.ndds.example.FooDataWriter.unregister instance w params ( p. 1021)
class WriterDataLifecycleQosPolicy
Controls how a com.rti.dds.publication.DataWriter ( p. 557) handles the
lifecycle of the instances (keys) that it is registered to manage.
class WstringSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.infrastructure.char >.
7.6.1
Detailed Description
Defines the abstract classes and the interfaces that are refined by the other
modules. Contains common definitions such as return codes, status values, and
QoS policies.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.7
349
Package com.rti.dds.publication
Contains
the
com.rti.dds.publication.FlowController
com.rti.dds.publication.Publisher
(p. 1262),
and
(p. 964),
com.rti.dds.publication.DataWriter (p. 557) classes as well as
the
com.rti.dds.publication.PublisherListener
(p. 1289)
and
com.rti.dds.publication.DataWriterListener (p. 586) interfaces, and
more generally, all that is needed on the publication (p. 349) side.
Classes
class AcknowledgmentInfo
Information about an application-level acknowledged sample.
interface DataWriter
<<interface>> (p. 279) Allows an application to set the value of the data
to be published under a given com.rti.dds.topic.Topic ( p. 1545).
class DataWriterAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods or functions.)
class DataWriterCacheStatus
<<eXtension>> (p. 278) The status of the writers cache.
interface DataWriterListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for writer status.
class DataWriterProtocolStatus
<<eXtension>> (p. 278) The status of a writers internal protocol related
metrics, like the number of samples pushed, pulled, filtered; and status of
wire protocol traffic.
class DataWriterQos
QoS policies supported by a com.rti.dds.publication.DataWriter ( p. 557)
entity.
interface FlowController
<<interface>> (p. 279) A flow controller is the object responsible for
shaping the network traffic by determining when attached asynchronous
com.rti.dds.publication.DataWriter ( p. 557) instances are allowed to
write data.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
350
Namespace Documentation
class FlowControllerProperty t
Determines
the
flow
control
characteristics
com.rti.dds.publication.FlowController ( p. 964).
of
the
class FlowControllerSchedulingPolicy
Kinds of flow controller scheduling policy.
class FlowControllerTokenBucketProperty t
com.rti.dds.publication.FlowController ( p. 964) uses the popular token
bucket approach for open loop network flow control. The flow control characteristics are determined by the token bucket properties.
class LivelinessLostStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS LOST STATUS
class OfferedDeadlineMissedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED DEADLINE MISSED STATUS
class OfferedIncompatibleQosStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED INCOMPATIBLE QOS STATUS
class PublicationMatchedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.PUBLICATION MATCHED STATUS
interface Publisher
<<interface>> (p. 279) A publisher is the object responsible for the actual
dissemination of publications.
class PublisherAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
interface PublisherListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for com.rti.dds.publication.Publisher ( p. 1262) status.
class PublisherQos
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
351
class PublisherSeq
Declares IDL sequence < com.rti.dds.publication.Publisher ( p. 1262) >
.
class ReliableReaderActivityChangedStatus
<<eXtension>> (p. 278) Describes the activity (i.e. are acknowledgements
forthcoming) of reliable readers matched to a reliable writer.
class ReliableWriterCacheChangedStatus
<<eXtension>> (p. 278) A summary of the state of a data writers cache
of unacknowledged samples written.
class ReliableWriterCacheEventCount
<<eXtension>> (p. 278) The number of times the number of unacknowledged samples in the cache of a reliable writer hit a certain well-defined
threshold.
Packages
package builtin
Builtin topic ( p. 359) for accessing information about the Publications discovered by RTI Connext.
7.7.1
Detailed Description
Contains
the
com.rti.dds.publication.FlowController
(p. 964),
com.rti.dds.publication.Publisher
(p. 1262),
and
com.rti.dds.publication.DataWriter (p. 557) classes as well as
the
com.rti.dds.publication.PublisherListener
(p. 1289)
and
com.rti.dds.publication.DataWriterListener (p. 586) interfaces, and
more generally, all that is needed on the publication (p. 349) side.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
352
Namespace Documentation
7.8
Package com.rti.dds.publication.builtin
Builtin topic (p. 359) for accessing information about the Publications discovered by RTI Connext.
Classes
class PublicationBuiltinTopicData
Entry created when a com.rti.dds.publication.DataWriter ( p. 557) is discovered in association with its Publisher ( p. 1262).
class PublicationBuiltinTopicDataDataReader
Instantiates
DataReader
( p. 1249) > .
<
builtin.PublicationBuiltinTopicData
class PublicationBuiltinTopicDataSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
builtin.PublicationBuiltinTopicData ( p. 1249) > .
class PublicationBuiltinTopicDataTypeSupport
Instantiates TypeSupport
( p. 1249) > .
7.8.1
<
builtin.PublicationBuiltinTopicData
Detailed Description
Builtin topic (p. 359) for accessing information about the Publications discovered by RTI Connext.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.9
353
Package com.rti.dds.subscription
Contains
the
com.rti.dds.subscription.Subscriber
(p. 1476),
com.rti.dds.subscription.DataReader
(p. 487),
and
com.rti.dds.subscription.ReadCondition
(p. 1313),
com.rti.dds.subscription.QueryCondition (p. 1311) classes, as well
as the com.rti.dds.subscription.SubscriberListener (p. 1503) and
com.rti.dds.subscription.DataReaderListener (p. 518) interfaces, and
more generally, all that is needed on the subscription (p. 353) side.
Classes
interface DataReader
<<interface>> (p. 279) Allows the application to: (1) declare the data it
wishes to receive (i.e. make a subscription ( p. 353)) and (2) access the data
received by the attached com.rti.dds.subscription.Subscriber ( p. 1476).
class DataReaderAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
class DataReaderCacheStatus
<<eXtension>> (p. 278) The status of the readers cache.
interface DataReaderListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for reader status.
class DataReaderProtocolStatus
<<eXtension>> (p. 278) The status of a readers internal protocol related
metrics, like the number of samples received, filtered, rejected; and status of
wire protocol traffic.
class DataReaderQos
QoS policies supported by a com.rti.dds.subscription.DataReader
( p. 487) entity.
class DataReaderSeq
Declares IDL sequence < com.rti.dds.subscription.DataReader ( p. 487)
>.
class InstanceStateKind
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
354
Namespace Documentation
Indicates
is
the
samples
are
from
com.rti.dds.publication.DataWriter ( p. 557) or not.
live
class LivelinessChangedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS CHANGED STATUS
interface QueryCondition
<<interface>>
(p. 279)
These
are
specialised
com.rti.dds.subscription.ReadCondition ( p. 1313) objects that allow the application to also specify a filter on the locally available data.
interface ReadCondition
<<interface>> (p. 279) Conditions specifically dedicated to read operations
and attached to one com.rti.dds.subscription.DataReader ( p. 487).
class RequestedDeadlineMissedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.REQUESTED DEADLINE MISSED STATUS
class RequestedIncompatibleQosStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.REQUESTED INCOMPATIBLE QOS STATUS
class SampleInfo
Information that accompanies each sample that is read or taken.
class SampleInfoSeq
Declares IDL
( p. 1398) > .
sequence
<
com.rti.dds.subscription.SampleInfo
class SampleLostStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE LOST STATUS STATUS
class SampleLostStatusKind
Kinds of reasons why a sample was lost.
class SampleRejectedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE REJECTED STATUS
class SampleRejectedStatusKind
Kinds of reasons for rejecting a sample.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
355
class SampleStateKind
Indicates whether or not a sample has ever been read.
interface Subscriber
<<interface>> (p. 279) A subscriber is the object responsible for actually
receiving data from a subscription ( p. 353).
class SubscriberAdapter
A listener adapter in the spirit of the Java AWT listener adapters. (The
Adapter provides empty implementations for the listener methods).
interface SubscriberListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for status about a subscriber.
class SubscriberQos
QoS policies supported
( p. 1476) entity.
by
com.rti.dds.subscription.Subscriber
class SubscriberSeq
Declares IDL sequence < com.rti.dds.subscription.Subscriber ( p. 1476)
>.
class SubscriptionMatchedStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.SUBSCRIPTION MATCHED STATUS
class ViewStateKind
Indicates whether or not an instance is new.
Packages
package builtin
Builtin topic ( p. 359) for accessing information about the Subscriptions discovered by RTI Connext.
7.9.1
Contains
(p. 1476),
Detailed Description
the
com.rti.dds.subscription.Subscriber
com.rti.dds.subscription.DataReader
(p. 487),
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
356
Namespace Documentation
com.rti.dds.subscription.ReadCondition
(p. 1313),
com.rti.dds.subscription.QueryCondition (p. 1311) classes, as
as the com.rti.dds.subscription.SubscriberListener (p. 1503)
com.rti.dds.subscription.DataReaderListener (p. 518) interfaces,
more generally, all that is needed on the subscription (p. 353) side.
7.9.2
and
well
and
and
7.9.2.1
357
The way RTI Connext builds the collection depends on QoS policies set on the com.rti.dds.subscription.DataReader (p. 487) and
com.rti.dds.subscription.Subscriber (p. 1476), as well as the source timestamp of the samples, and the parameters passed to the read() / take()
operations, namely:
the
desired
sample
states
(any
combination
com.rti.dds.subscription.SampleStateKind (p. 1426))
of
the
desired
view
states
(any
combination
com.rti.dds.subscription.ViewStateKind (p. 1703))
of
the
desired
instance
states
(any
combination
com.rti.dds.subscription.InstanceStateKind (p. 1061))
of
The read() and take() operations are non-blocking and just deliver what is
currently available that matches the specified states.
The read w condition() and take w condition() operations take a
com.rti.dds.subscription.ReadCondition (p. 1313) object as a parameter instead of sample, view or instance states.
The behaviour is
that the samples returned will only be those for which the condition is com.rti.dds.infrastructure.true.
These operations, in conjunction
with com.rti.dds.subscription.ReadCondition (p. 1313) objects and a
com.rti.dds.infrastructure.WaitSet (p. 1709), allow performing waiting
reads.
Once the data samples are available to the data readers, they can be read or
taken by the application. The basic rule is that the application may do this in
any order it wishes. This approach is very flexible and allows the application
ultimate control.
To access data coherently, or in order, the PRESENTATION (p. 90) QoS
must be set properly.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
358
Namespace Documentation
7.10
Package com.rti.dds.subscription.builtin
Builtin topic (p. 359) for accessing information about the Subscriptions discovered by RTI Connext.
Classes
class SubscriptionBuiltinTopicData
Entry created when a com.rti.dds.subscription.DataReader ( p. 487) is
discovered in association with its Subscriber ( p. 1476).
class SubscriptionBuiltinTopicDataDataReader
Instantiates DataReader (p. 487) < builtin.SubscriptionBuiltinTopicData
( p. 1509) > .
class SubscriptionBuiltinTopicDataSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
builtin.SubscriptionBuiltinTopicData ( p. 1509) > .
class SubscriptionBuiltinTopicDataTypeSupport
Instantiates TypeSupport
( p. 1509) > .
7.10.1
<
builtin.SubscriptionBuiltinTopicData
Detailed Description
Builtin topic (p. 359) for accessing information about the Subscriptions discovered by RTI Connext.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.11
359
Package com.rti.dds.topic
Contains
the
com.rti.dds.topic.Topic
(p. 1545),
com.rti.dds.topic.ContentFilteredTopic
(p. 471),
and
com.rti.dds.topic.MultiTopic
(p. 1190)
classes,
the
com.rti.dds.topic.TopicListener (p. 1564) interface, and more generally, all that is needed by an application to define com.rti.dds.topic.Topic
(p. 1545) objects and attach QoS policies to them.
Classes
class BuiltinTopicKey t
The key type of the built-in topic ( p. 359) types.
interface ContentFilter
<<interface>> (p. 279) Interface to be used by a custom filter of a
com.rti.dds.topic.ContentFilteredTopic ( p. 471)
interface ContentFilteredTopic
<<interface>>
(p. 279)
Specialization
of
com.rti.dds.topic.TopicDescription ( p. 1561) that allows for contentbased subscriptions.
class ExpressionProperty
class FilterSampleInfo
class InconsistentTopicStatus
com.rti.dds.infrastructure.StatusKind.StatusKind.INCONSISTENT TOPIC STATUS
interface MultiTopic
[Not supported (optional)] <<interface>> (p. 279) A specialization
of com.rti.dds.topic.TopicDescription ( p. 1561) that allows subscriptions
that combine/filter/rearrange data coming from several topics.
interface Topic
<<interface>> (p. 279) The most basic description of the data to be published and subscribed.
class TopicAdapter
<<eXtension>> (p. 278) A listener adapter in the spirit of the Java AWT
listener adapters. (The Adapter provides empty implementations for the listener methods)
interface TopicDescription
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
360
Namespace Documentation
com.rti.dds.topic.Topic ( p. 1545) entity and associated elements
interface TopicListener
<<interface>> (p. 279) com.rti.dds.infrastructure.Listener ( p. 1130)
for com.rti.dds.topic.Topic ( p. 1545) entities.
class TopicQos
QoS policies supported by a com.rti.dds.topic.Topic ( p. 1545) entity.
interface TypeSupport
<<interface>> (p. 279) An abstract marker interface that has to be specialized for each concrete user data type that will be used by the application.
interface WriterContentFilter
Packages
package builtin
Builtin topic ( p. 359) for accessing information about the Topics discovered
by RTI Connext.
7.11.1
Detailed Description
Contains
the
com.rti.dds.topic.Topic
(p. 1545),
com.rti.dds.topic.ContentFilteredTopic
(p. 471),
and
com.rti.dds.topic.MultiTopic
(p. 1190)
classes,
the
com.rti.dds.topic.TopicListener (p. 1564) interface, and more generally, all that is needed by an application to define com.rti.dds.topic.Topic
(p. 1545) objects and attach QoS policies to them.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.12
361
Package com.rti.dds.topic.builtin
Builtin topic (p. 359) for accessing information about the Topics discovered by
RTI Connext.
Classes
class AbstractBuiltinTopicDataTypeSupport
class TopicBuiltinTopicData
Entry created when a Topic ( p. 1545) object discovered.
class TopicBuiltinTopicDataDataReader
Instantiates DataReader < builtin.TopicBuiltinTopicData ( p. 1552) > .
class TopicBuiltinTopicDataSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
builtin.TopicBuiltinTopicData ( p. 1552) > .
class TopicBuiltinTopicDataTypeSupport
Instantiates TypeSupport (p. 1665) < builtin.TopicBuiltinTopicData
( p. 1552) > .
7.12.1
Detailed Description
Builtin topic (p. 359) for accessing information about the Topics discovered by
RTI Connext.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
362
Namespace Documentation
7.13
Package com.rti.dds.type.builtin
Classes
class Bytes
Built-in type consisting of a variable-length array of opaque bytes.
class BytesDataReader
<<interface>>
(p. 279)
Instantiates
DataReader
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes >.
<
class BytesDataWriter
<<interface>>
(p. 279)
Instantiates
DataWriter
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes >.
<
class BytesSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes > .
class BytesTypeSupport
<<interface>> (p. 279) com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes
type support.
class KeyedBytes
Built-in type consisting of a variable-length array of opaque bytes and a string
that is the key.
class KeyedBytesDataReader
<<interface>>
(p. 279)
Instantiates
DataReader
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes >.
<
class KeyedBytesDataWriter
<<interface>>
(p. 279)
Instantiates
DataWriter
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes >.
<
class KeyedBytesSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes >.
class KeyedBytesTypeSupport
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
363
class KeyedString
Keyed string built-in type.
class KeyedStringDataReader
<<interface>>
(p. 279)
Instantiates
DataReader
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString >.
<
class KeyedStringDataWriter
<<interface>>
(p. 279)
Instantiates
DataWriter
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString >.
<
class KeyedStringSeq
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence <
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString > .
class KeyedStringTypeSupport
<<interface>> (p. 279) Keyed string type support.
class StringDataReader
<<interface>>
(p. 279)
com.rti.dds.infrastructure.String >.
Instantiates
DataReader
<
Instantiates
DataWriter
<
class StringDataWriter
<<interface>>
(p. 279)
com.rti.dds.infrastructure.String >.
class StringTypeSupport
<<interface>> (p. 279) String type support.
7.13.1
Detailed Description
364
Namespace Documentation
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedString: A payload
consisting of a single string of characters and a second string, the key,
that identifies the instance to which the sample belongs.
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes: A payload consisting of an opaque variable-length array of bytes. This type has no
key.
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytes: A payload
consisting of an opaque variable-length array of bytes and a string, the
key, that identifies the instance to which the sample belongs.
7.13.2
When a sample is written, the DataWriter serializes it and stores the result in
a buffer obtained from a pool of preallocated buffers. In the same way, when
a sample is received, the DataReader deserializes it and stores the result in a
sample coming from a pool of preallocated samples.
For builtin (p. 362) types, the maximum size of the buffers/samples and depends on the nature of the application using the builtin (p. 362) type.
You can configure the maximum size of the builtin (p. 362)
types on a per-DataWriter and per-DataReader basis using the
com.rti.dds.infrastructure.PropertyQosPolicy (p. 1236) in DataWriters,
DataReaders or Participants.
The following table lists the supported builtin (p. 362) type properties to configure memory allocation. When the properties are defined in the DomainParticipant, they are applicable to all DataWriters and DataReaders belonging
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
365
The previous properties must be set consistently with respect to the corresponding .max size properties that set the maximum size of the builtin (p. 362) types
in the typecode (p. 368).
7.13.3
The typecodes associated with the builtin (p. 362) types are generated from
the following IDL type definitions:
module DDS {
struct String {
string value;
};
struct KeyedString {
string key;
string value;
};
struct Octets {
sequence<octet> value;
};
struct KeyedOctets {
string key;
sequence<octet> value;
};
};
The maximum size of the strings and sequences that will be included in the type
code definitions can be configured on a per-DomainParticipant-basis by using
the properties in following table.
For more information about the built-in types, including how to control memory usage and maximum lengths, please see chapter 3, Data Types and Data
Samples, in the Users Manual.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
366
Property
dds.builtin type.string.alloc size
Namespace Documentation
Description
Maximum size of the strings
published by the
com.rti.dds.type.builtin.StringDataWriter
(p. 1465) or received the
com.rti.dds.type.builtin.StringDataReader
(p. 1462) (includes the
NULL-terminated character).
Default:
dds.builtin type.string.max size if
defined. Otherwise, 1024.
dds.builtin type.keyed string.alloc Maximum size of the keys used by
key size
the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDa
or
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDa
(includes the NULL-terminated
character).
Default: dds.builtin type.keyed string.max key size if defined.
Otherwise, 1024.
dds.builtin type.keyed string.alloc Maximum size of the strings
size
published by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDa
or received by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedStringDa
(includes the NULL-terminated
character).
Default: dds.builtin type.keyed string.max size if defined.
Otherwise, 1024.
dds.builtin type.octets.alloc size
Maximum size of the octet
sequences published the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWrit
or received by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataRead
Default:
dds.builtin type.octets.max size if
defined. Otherwise, 2048.
dds.builtin type.keyed octets.alloc Maxkey size
imum size of the key published by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDa
or received by the
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDa
(includes the NULL-terminated
character).
Default: dds.builtin type.keyed octets.max
key size
if API
defined.
Generated on Mon Aug 13 09:02:20 2012
for RTI Connext
Java
by Doxygen
Otherwise, 1024.
dds.builtin type.keyed octets.alloc Maximum size of the octets
size
sequences published by a
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDa
or received by a
com.rti.dds.type.builtin.com.rti.dds.type.builtin.KeyedBytesDa
Default: dds.builtin type.keyed -
367
Description
Maximum size of the strings
published by the StringDataWriters
and received by the
StringDataReaders belonging to a
DomainParticipant (includes the
NULL-terminated character).
Default: 1024.
Maximum size of the keys used by
the KeyedStringDataWriters and
KeyedStringDataReaders belonging
to a DomainParticipant (includes
the NULL-terminated character).
Default: 1024.
Maximum size of the strings
published by the
KeyedStringDataWriters and
received by the
KeyedStringDataReaders belonging
to a DomainParticipant using the
builtin (p. 362) type (includes the
NULL-terminated character).
Default: 1024
Maximum size of the octet
sequences published by the
OctetsDataWriters and received by
the OctetsDataReader belonging to
a DomainParticipant.
Default: 2048
Maximum size of the keys used by
the KeyedOctetsStringDataWriters
and KeyedOctetsStringDataReaders
belonging to a DomainParticipant
(includes the NULL-terminated
character).
Default: 1024.
Maximum size of the octet
sequences published by the
KeyedOctetsDataWriters and
received by the
KeyedOctetsDataReaders belonging
to a DomainParticipant.
Default: 2048
Table 7.2: Properties for Allocating Size of Builtin Types, per DomainParticipant
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
368
Namespace Documentation
7.14
Package com.rti.dds.typecode
Classes
class EnumMember
A description of a member of an enumeration.
class ExtensibilityKind
Type to indicate the extensibility of a type.
class StructMember
A description of a member of a struct.
class TCKind
Enumeration type for com.rti.dds.typecode.TypeCode ( p. 1611) kinds.
class TypeCode
The definition of a particular data type, which you can use to inspect the
name, members, and other properties of types generated with rtiddsgen
( p. 298) or to modify types you define yourself at runtime.
class TypeCodeFactory
A singleton factory for creating, copying, and deleting data type definitions
dynamically.
class UnionMember
A description of a member of a union.
class ValueMember
A description of a member of a value type.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
369
class VM ABSTRACT
Constant used to indicate that a value type has the abstract modifier.
class VM CUSTOM
Constant used to indicate that a value type has the custom modifier.
class VM NONE
Constant used to indicate that a value type has no modifiers.
class VM TRUNCATABLE
Constant used to indicate that a value type has the truncatable modifier.
7.14.1
Detailed Description
7.14.2
When generating types with rtiddsgen (p. 298), type codes are enabled
by default. (The -notypecode option can be used to disable generation of
com.rti.dds.typecode.TypeCode (p. 1611) information.) For these types,
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
370
Namespace Documentation
7.14.3
371
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
372
Namespace Documentation
7.15
Package com.rti.dds.util
Classes
class AbstractPrimitiveSequence
class AbstractSequence
Abstract sequence.
class Enum
A superclass for all type-safe enumerated types.
class LoanableSequence
A sequence capable of storing its elements directly or taking out a loan on
them from an internal middleware store.
interface Sequence
<<interface>> (p. 279) <<generic>> (p. 279) A type-safe, ordered collection of elements. The type of these elements is referred to in this documentation as com.rti.ndds.example.Foo (p. 977).
class Union
7.15.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.16
Package com.rti.ndds
DDS extensions.
Packages
package config
Utility APIs independent of the DDS standard.
package transport
APIs related to RTI Connext pluggable transports.
package example
Programming HowTos: Code templates for common use cases.
7.16.1
Detailed Description
DDS extensions.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
373
374
Namespace Documentation
7.17
Package com.rti.ndds.config
Classes
class LibraryVersion t
The version of a single library shipped as part of an RTI Connext distribution.
class LogCategory
Categories of logged messages.
class Logger
<<interface>> (p. 279) The singleton type used to configure RTI Connext
logging.
interface LoggerDevice
<<interface>> (p. 279) Logging device interface. Use for user-defined logging devices.
class LogLevel
Level category assigned to RTI Connext log messages returned to an output
device.
class LogMessage
Log message.
class LogPrintFormat
The format used to output RTI Connext diagnostic information.
class LogVerbosity
The verbosities at which RTI Connext diagnostic information is logged.
class Version
<<interface>> (p. 279) The version of an RTI Connext distribution.
7.17.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.18
375
Package com.rti.ndds.example
Classes
class Foo
A representative user-defined data type.
class FooDataReader
<<interface>> (p. 279) <<generic>> (p. 279) User data type-specific
data reader.
class FooDataWriter
<<interface>> (p. 279) <<generic>> (p. 279) User data type specific
data writer.
class FooSeq
<<interface>> (p. 279) <<generic>> (p. 279) A type-safe, ordered collection of elements. The type of these elements is referred to in this documentation as com.rti.ndds.example.Foo (p. 977).
class FooTypeSupport
<<interface>> (p. 279) <<generic>> (p. 279) User data type specific interface.
7.18.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
376
Namespace Documentation
7.19
Package com.rti.ndds.transport
Classes
interface ShmemTransport
Built-in transport ( p. 376) plug-in for inter-process communications using
shared memory.
interface Transport
RTI Connexts abstract pluggable transport ( p. 376) interface.
class TransportSupport
<<interface>> (p. 279) The utility class used to configure RTI Connext
pluggable transports.
interface UDPv4Transport
Built-in transport ( p. 376) plug-in using UDP/IPv4.
interface UDPv6Transport
Built-in transport ( p. 376) plug-in using UDP/IPv6.
7.19.1
Detailed Description
7.19.2
Overview
RTI Connext has a pluggable transports architecture. The core of RTI Connext
is transport (p. 376) agnostic; it does not make any assumptions about the
actual transports used to send and receive messages. Instead, the RTI Connext
core uses an abstract transport API to interact with the transport (p. 376)
plugins which implement that API.
A transport (p. 376) plugin implements the abstract transport (p. 376) API
and performs the actual work of sending and receiving messages over a physical
transport (p. 376). A collection of builtin plugins (see Built-in Transport
Plugins (p. 222)) is delivered with RTI Connext for commonly used transports.
New transport (p. 376) plugins can easily be created, thus enabling RTI Connext applications to run over transports that may not even be conceived yet.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
377
This is a powerful capability and that distinguishes RTI Connext from competing middleware approaches.
RTI Connext also provides a set of APIs for installing and configSo
uring transport (p. 376) plugins to be used in an application.
that RTI Connext applications work out of the box, a subset of
the builtin transport (p. 376) plugins is preconfigured by default (see
com.rti.dds.infrastructure.TransportBuiltinQosPolicy (p. 1580)). You
can turn-off some or all of the builtin transport (p. 376) plugins. In addition,
you can configure other transport (p. 376) plugins for use by the application.
7.19.3
Transport Aliases
In order to use a transport (p. 376) plugin instance in an RTI Connext application, it must be registered with a com.rti.dds.domain.DomainParticipant
(p. 654). When you register a transport (p. 376), you specify a sequence of
alias strings to symbolically refer to the transport (p. 376) plugin. The same
alias strings can be used to register more than one transport (p. 376) plugin.
You can register multiple transport (p. 376) plugins with a
An alias symbolicom.rti.dds.domain.DomainParticipant (p. 654).
cally refers to one or more transport (p. 376) plugins registered with the
com.rti.dds.domain.DomainParticipant (p. 654).
Builtin transport
(p. 376) plugin instances can be referred to using preconfigured aliases (see
TRANSPORT BUILTIN (p. 119)).
A transport (p. 376) plugins class name is automatically used as an implicit
alias. It can be used to refer to all the transport (p. 376) plugin instances of
that class.
You can use aliases to refer to transport (p. 376) plugins, in order to specify:
- the transport (p. 376) plugins to use for discovery (see
com.rti.dds.infrastructure.DiscoveryQosPolicy.enabled transports
(p. 650)),
and
for
com.rti.dds.publication.DataWriter
(p. 557)
and
com.rti.dds.subscription.DataReader
(p. 487)
entities
(see
com.rti.dds.infrastructure.TransportSelectionQosPolicy (p. 1600)).
- the multicast addresses on which to receive discovery messages (see
com.rti.dds.infrastructure.DiscoveryQosPolicy.multicast receive addresses (p. 650)), and the multicast addresses and ports on which to receive
user data (see com.rti.dds.subscription.DataReaderQos.multicast
(p. 541)).
the
unicast
ports
used
for
user
data
(see
com.rti.dds.infrastructure.TransportUnicastQosPolicy
(p. 1605))
on
both
com.rti.dds.publication.DataWriter
(p. 557)
and
com.rti.dds.subscription.DataReader (p. 487) entities.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
378
Namespace Documentation
- the transport (p. 376) plugins used to parse an address string in a locator
(Locator Format (p. 58) and NDDS DISCOVERY PEERS (p. 57)).
A
com.rti.dds.domain.DomainParticipant
(p. 654)
(and
contained its entities) start using a transport (p. 376) plugin after the
com.rti.dds.domain.DomainParticipant (p. 654) is enabled (see
com.rti.dds.infrastructure.Entity.enable (p. 935)). An entity will use
all the transport (p. 376) plugins that match the specified transport (p. 376)
QoS policy. All transport (p. 376) plugins are treated uniformly, regardless
of how they were created or registered; there is no notion of some transports
being more special that others.
7.19.4
Transport Lifecycle
Thus,
A transport (p. 376) plugin is owned by whoever created it.
if you create and register a transport (p. 376) plugin with a
com.rti.dds.domain.DomainParticipant (p. 654), you are responsible
for deleting it by calling its destructor. Note that builtin transport (p. 376)
plugins (TRANSPORT BUILTIN (p. 119)) and transport (p. 376) plugins
that are loaded through the PROPERTY (p. 92) QoS policy (see Loading Transport Plugins through Property QoS Policy of Domain
Participant (p. 219)) are automatically managed by RTI Connext.
A user-created transport (p. 376) plugin must not be deleted while it is
still in use by a com.rti.dds.domain.DomainParticipant (p. 654). This
generally means that a user-created transport (p. 376) plugin instance
can only be deleted after the com.rti.dds.domain.DomainParticipant
(p. 654)
with
which
it
was
registered
is
deleted
(see
com.rti.dds.domain.DomainParticipantFactory.delete participant
(p. 749)). Note that a transport (p. 376) plugin cannot be unregistered
from a com.rti.dds.domain.DomainParticipant (p. 654).
A transport (p. 376) plugin instance cannot be registered with more than
one com.rti.dds.domain.DomainParticipant (p. 654) at a time. This requirement is necessary to guarantee the multi-threaded safety of the transport
(p. 376) API.
If the same physical transport (p. 376) resources are to be used with
more than one com.rti.dds.domain.DomainParticipant (p. 654) in the
same address space, the transport (p. 376) plugin should be written in
such a way so that it can be instantiated multiple timesonce for each
com.rti.dds.domain.DomainParticipant (p. 654) in the address space.
Note that it is always possible to write the transport (p. 376) plugin so that
multiple transport (p. 376) plugin instances share the same underlying resources; however the burden (if any) of guaranteeing multi-threaded safety to
access shared resource shifts to the transport (p. 376) plugin developer.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.19.5
379
A transport (p. 376) plugin instance is associated with two kinds of attributes:
- the class attributes that are decided by the plugin writer; these are invariant
across all instances of the transport (p. 376) plugin class, and
- the instance attributes that can be set on a per instance basis by the transport
(p. 376) plugin user.
Every transport (p. 376) plugin must specify the following class attributes.
transport (p. 376) class id (see com.rti.ndds.transport.Transport.Property t.classid (p. 1573))
Identifies a transport (p. 376) plugin implementation class. It denotes a
unique class to which the transport (p. 376) plugin instance belongs.
The class is used to distinguish between different transport (p. 376)
plugin implementations. Thus, a transport (p. 376) plugin vendor
should ensure that its transport (p. 376) plugin implementation has a
unique class.
Two transport (p. 376) plugin instances report the same class iff they
have compatible implementations. Transport (p. 1569) plugin instances
with mismatching classes are not allowed (by the RTI Connext Core) to
communicate with one another.
Multiple implementations (possibly from different vendors) for a physical
transport (p. 376) mechanism can co-exist in an RTI Connext application, provided they use different transport (p. 376) class IDs.
The class ID can also be used to distinguish between different transport
(p. 376) protocols over the same physical transport (p. 376) network (e.g.,
UDP vs. TCP over the IP routing infrastructure).
transport (p. 376) significant address bit count (see com.rti.ndds.transport.Transport.Property t.add
RTI Connexts addressing is modeled after the IPv6 and uses 128-bit
addresses ( java.net.InetAddress ) to route messages.
A transport (p. 376) plugin is expected to map the transports internal addressing scheme to 128-bit addresses. In general, this mapping is
likely to use only N least significant bits (LSB); these are specified by this
attribute.
>-------------- netmask ----------------<
+---------------------------------------+----------------------------+
|
Network Address
|
Transport Local Address |
+---------------------------------------+----------------------------+
>------------ N ------------<
address_bits_count
Only these bits are used
by the transport plugin.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
380
Namespace Documentation
The remaining bits of an address using the 128-bit address representation will be considered as part of the network address (see Transport
Network Address (p. 381)) and thus ignored by the transport (p. 376)
plugins internal addressing scheme.
For unicast addresses, the transport (p. 376) plugin is expected to ignore the higher (128 - com.rti.ndds.transport.Transport.Property t.address bit count (p. 1573)) bits. RTI Connext is free to manipulate
those bits freely in the addresses passed in/out to the transport (p. 376)
plugin APIs.
Theoretically, the significant address bits count, N is related to the size of
the underlying transport (p. 376) network as follows:
address bits count >= ceil(log2 (total addressable transport unicast interf aces))
The equality holds when the most compact (theoretical) internal address
mapping scheme is used. A practical address mapping scheme may waste
some bits.
7.19.6
The per instance attributes to configure the plugin instance are generally passed
in to the plugin constructor. These are defined by the transport (p. 376) plugin
writer, and can be used to:
- customize the behavior of an instance of a transport (p. 376) plugin, including the send and the receiver buffer sizes, the maximum message size, various
transport (p. 376) level classes of service (CoS), and so on.
- specify the resource values, network interfaces to use, various transport
(p. 376) level policies, and so on.
RTI Connext requires that every transport (p. 376) plugin instance must
specify the com.rti.ndds.transport.Transport.Property t.message size max (p. 1574) and com.rti.ndds.transport.Transport.Property t.gather send buffer count max (p. 1574).
It is up to the transport (p. 376) plugin developer to make these available for
configuration to transport (p. 376) plugin user.
Note that it is important that the instance attributes are compatible between
the sending side and the receiving side of communicating applications using
different instances of a transport (p. 376) plugin class. For example (p. 375),
if one side is configured to send messages larger than can be received by the
other side, then communications via the plugin may fail.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
7.19.7
381
The address bits not used by the transport (p. 376) plugin for its internal
addressing constitute its network address bits.
In order for RTI Connext to properly route the messages, each unicast interface
in the RTI Connext domain must have a unique address. RTI Connext allows
the user to specify the value of the network address when installing a transport (p. 376) plugin via the com.rti.ndds.transport.TransportSupport.register transport() API.
The network address for a transport (p. 376) plugin should be chosen such that
the resulting fully qualified 128-bit address will be unique in the RTI Connext
domain. Thus, if two instances of a transport (p. 376) plugin are registered
with a com.rti.dds.domain.DomainParticipant (p. 654), they will be at different network addresses in order for their unicast interfaces to have unique fully
qualified 128-bit addresses. It is also possible to create multiple transports with
the same network address, as it can be useful for certain use cases; note that
this will require special entity configuration for most transports to avoid clashes
in resource use (e.g. sockets for UDPv4 transport (p. 376)).
7.19.8
+--------------------------------------------------------------------+
|
Outgoing Address Range 1
->
Transport Plugin
|
+--------------------------------------------------------------------+
|
:
->
:
|
+--------------------------------------------------------------------+
|
Outgoing Address Range K
->
Transport Plugin
|
+--------------------------------------------------------------------+
The user can set up a routing table to restrict the use of a transport (p. 376)
plugin to send messages to selected addresses ranges.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
382
Namespace Documentation
7.19.9
By default, a transport (p. 376) plugin is configured to receive incoming messages destined to addresses in the network address range at which the plugin
was registered.
RTI Connext allows the user to configure the routing of incoming messages via
the com.rti.ndds.transport.TransportSupport.add receive route() API, so that
a transport (p. 376) plugin will be used to receive messages only on certain
ranges of addresses. The method can be called multiple times for a transport
(p. 376) plugin, with different address ranges.
+--------------------------------------------------------------------+
|
Transport Plugin
<- Incoming Address Range 1 |
+--------------------------------------------------------------------+
|
:
<:
|
+--------------------------------------------------------------------+
|
Transport Plugin
<- Incoming Address Range M |
+--------------------------------------------------------------------+
The user can set up a routing table to restrict the use of a transport (p. 376)
plugin to receive messages from selected ranges. For example (p. 375), the user
may restrict a transport (p. 376) plugin to
- receive messages from a certain multicast address range.
- receive messages only on certain unicast interfaces (when multiple unicast
interfaces are available on the transport (p. 376) plugin).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
Chapter 8
Class Documentation
8.1
AbstractBuiltinTopicDataTypeSupport
Class Reference
8.1.1
Detailed Description
Revision
1.17
Date
2009/11/01 18:04:49
384
Class Documentation
8.1.2
8.1.2.1
Subclasses should call this method immediately after chaining to the super constructor.
Exceptions:
NullPointerException if the delegate is null
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.2
385
void unloan ()
Return the loaned buffer in the sequence and set the maximum to 0.
final
final
final
final
8.2.1
void clear ()
void setSize (int newSize)
int size ()
Object copy from (Object src)
Detailed Description
A base class for sequences whose elements are of primitive types. Such sequences
do not support null values.
8.2.2
8.2.2.1
Returns:
the primitive type of this sequence, not the wrapper type.
See also:
com.rti.dds.util.Sequence.getElementType() (p. 1430)
Reimplemented from AbstractSequence (p. 391).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
386
Class Documentation
8.2.2.2
387
Postcondition:
The sequence will store its elements in the buffer provided.
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.AbstractPrimitiveSequence.hasOwnership
== com.rti.dds.infrastructure.false
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.size()
==
new length
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.getMaximum
== new max
Parameters:
buffer The new buffer that the sequence will use. Must point to enough
memory to hold new max elements of type Foo. It may be NULL if
new max == 0.
new length The desired new length for the sequence.
Returns:
com.rti.dds.infrastructure.true if buffer is successfully loaned to this sequence or com.rti.dds.infrastructure.false otherwise. Failure only occurs
due to failing to meet the pre-conditions. Upon failure the sequence remains unmodified.
See also:
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.unloan,
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.loan discontiguous
8.2.2.4
void unloan ()
Return the loaned buffer in the sequence and set the maximum to 0.
This method affects only the state of this sequence; it does not change the
contents of the buffer in any way.
Only the user who originally loaned a buffer should return that loan, as the
user may have dependencies on that memory known only to them. Unloaning
someone elses buffer may cause unspecified problems. For example, suppose a
sequence is loaning memory from a custom memory pool. A user of the sequence
likely has no way to release the memory back into the pool, so unloaning the
sequence buffer would result in a resource leak. If the user were to then re-loan
a different buffer, the original creator of the sequence would have no way to
discover, when freeing the sequence, that the loan no longer referred to its own
memory and would thus not free the users memory properly, exacerbating the
situation and leading to undefined behavior.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
388
Class Documentation
Precondition:
owned == com.rti.dds.infrastructure.false
Postcondition:
owned == com.rti.dds.infrastructure.true
maximum == 0
Returns:
com.rti.dds.infrastructure.true if the preconditions were met. Otherwise
com.rti.dds.infrastructure.false. The function only fails if the pre-conditions
are not met, in which case it leaves the sequence unmodified.
See also:
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.AbstractPrimitiveSequence.loan(Object,
int),
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.loan discontiguous, com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.setMaximum
8.2.2.5
8.2.2.6
Set the logical size of this sequence to zero. This method does not generate any
garbage for collection.
See also:
java.util.Collection.clear()
8.2.2.7
389
Exceptions:
IndexOutOfBoundsException if the new size is less than zero or greater
than the allocated length of the array.
See also:
AbstractSequence.getMaximum() (p. 1429)
8.2.2.8
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
390
Class Documentation
8.3
Abstract sequence.
Inheritance diagram for AbstractSequence::
Class getElementType ()
void add (int index, Object element)
Inserts the specified element at the specified position in this sequence.
8.3.1
Detailed Description
Abstract sequence.
8.3.2
8.3.2.1
391
Parameters:
new max Must be >= 0.
Returns:
com.rti.dds.infrastructure.true on success, com.rti.dds.infrastructure.false if
the preconditions are not met. In that case the sequence is not modified.
Implements Sequence (p. 1429).
Reimplemented in LoanableSequence (p. 1148).
8.3.2.2
Class getElementType ()
Returns:
a common supertype for all elements in this sequence.
Implements Sequence (p. 1430).
Reimplemented in AbstractPrimitiveSequence (p. 385).
8.3.2.3
8.3.2.4
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
392
Class Documentation
8.3.2.5
Remove the element at the given index by shifting all subsequent elements left
by one.
See also:
java.util.List.remove(int)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.4
393
8.4.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
394
Class Documentation
8.5
Public Attributes
final ByteSeq value
a sequence of octets
8.5.1
Detailed Description
8.5.2
8.5.2.1
a sequence of octets
[default] empty (zero-length)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.6
395
Public Attributes
int initial count
The initial count of resources.
8.6.1
Detailed Description
8.6.2
8.6.2.1
396
Class Documentation
8.6.3
8.6.3.1
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.7
AsynchronousPublisherQosPolicy
Reference
397
Class
Public Attributes
boolean disable asynchronous write
Disable asynchronous publishing.
8.7.1
Detailed Description
398
Class Documentation
Entity:
com.rti.dds.publication.Publisher (p. 1262)
Properties:
RxO (p. 101) = N/A
Changeable (p. 102) = NO (p. 102)
8.7.2
Usage
You can use this QoS policy to reduce the amount of time your application
thread spends sending data.
You can also use it, along with com.rti.dds.infrastructure.PublishModeQosPolicy
(p. 1295) and a com.rti.dds.publication.FlowController (p. 964), to send
large data reliably. Large in this context means that the data that cannot
be sent as a single packet by a network transport. For example, to send data
larger than 63K reliably using UDP/IP, you must configure RTI Connext to
fragment the data and send it asynchronously.
The
asynchronous
publisher
thread
is
shared
by
all
com.rti.dds.infrastructure.PublishModeQosPolicyKind.PublishModeQosPolicyKind.ASYNCHRONOUS
PUBLISH MODE QOS
com.rti.dds.publication.DataWriter
(p. 557)
instances that belong to this publisher and handles their data transmission
chores.
The
asynchronous
batch
flushing
thread
is
shared
by
all
com.rti.dds.publication.DataWriter (p. 557) instances with batching
enabled that belong to this publisher.
This QoS policy also allows you to adjust the settings of the asynchronous publishing and the asynchronous batch flushing threads. To use different threads for
two different com.rti.dds.publication.DataWriter (p. 557) entities, the instances must belong to different com.rti.dds.publication.Publisher (p. 1262)
instances.
A com.rti.dds.publication.Publisher (p. 1262) must have asynchronous
publishing enabled for its com.rti.dds.publication.DataWriter (p. 557) instances to write asynchronously.
A com.rti.dds.publication.Publisher (p. 1262) must have asynchronous batch flushing enabled in order to flush the batches of its
com.rti.dds.publication.DataWriter (p. 557) instances asynchronously.
However, no asynchronous batch flushing thread will be started until the
first com.rti.dds.publication.DataWriter (p. 557) instance with batching
enabled is created from this com.rti.dds.publication.Publisher (p. 1262).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.7.3
8.7.3.1
399
8.7.3.2
thread
per
400
Class Documentation
8.7.3.3
8.7.3.4
flushing
thread
per
401
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
402
Class Documentation
8.8
Public Attributes
boolean enable required subscriptions
Enables
support
for
required
subscriptions
com.rti.dds.publication.DataWriter ( p. 557).
in
8.8.1
Detailed Description
(p. 487),
Properties:
RxO (p. 101) = NO
Changeable
(p. 102)
=
YES
(p. 102)
(only
on
a
com.rti.dds.publication.DataWriter (p. 557) except for the member
com.rti.dds.infrastructure.AvailabilityQosPolicy.enable required subscriptions (p. 404))
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.8.2
403
Usage
Ordered
delivery
of
samples
with
RTI
Persistence
Service:
When a late-joining DataReader configured with
com.rti.dds.infrastructure.DurabilityQosPolicy (p. 802) set to
com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT DURABILITY QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSI
DURABILITY QOS joins a DDS domain (p. 328), it will start receiving
historical samples from multiple DataWriters. For example, if the original
DataWriter is still alive, the newly created DataReader will receive
samples from the original DataWriter and one or more RTI Persistence
Service DataWriters (PRSTDataWriters). This policy can be used to
configure the sample ordering process on the DataReader.
404
Class Documentation
(VGUIDn, VSNm-1) has already been delivered to the application.
All the known DataWriters publishing VGUIDn have announced that they
do not have (VGUIDn, VSNm-1).
None of the known DataWriters publishing GUIDn have announced potential availability of (VGUIDn, VSNm-1) and both timeouts in this QoS
policy have expired.
8.8.3
8.8.3.1
Enables
support
for
required
subscriptions
com.rti.dds.publication.DataWriter (p. 557).
in
[default] com.rti.dds.infrastructure.false
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
405
Defines how much time to wait before delivering a sample to the application
without having received some of the previous samples.
Collaborative DataWriters
A sample identified by (VGUIDn, VSNm) will be delivered to the application if
this timeout expires for the sample and the following two conditions are satisfied:
None of the known DataWriters publishing VGUIDn have announced potential availability of (VGUIDn, VSNm-1).
The DataWriters for all the endpoint groups specified in required matched endpoint groups (p. 406) have been discovered or max endpoint availability waiting time (p. 405) has expired.
Required Subscriptions
This field is not applicable to Required Subscriptions.
[default]
com.rti.dds.infrastructure.Duration t.AUTO
(com.rti.dds.infrastructure.Duration t.INFINITE
for
com.rti.dds.infrastructure.PresentationQosPolicyAccessScopeKind.PresentationQosPolicyAccessScopeKind.GROUP
PRESENTATION QOS. Otherwise, 0 seconds)
[range]
[0,
com.rti.dds.infrastructure.Duration t.INFINITE],
com.rti.dds.infrastructure.Duration t.AUTO
8.8.3.3
Defines how much time to wait to discover DataWriters providing samples for
the same data source (virtual GUID).
Collaborative DataWriters
The set of endpoint groups that are required to provide samples for a data source
can be configured using required matched endpoint groups (p. 406).
A non-consecutive sample identified by (VGUIDn, VSNm) cannot be delivered
to the application unless DataWriters for all the endpoint groups in required matched endpoint groups (p. 406) are discovered or this timeout expires.
Required Subscriptions
This field is not applicable to Required Subscriptions.
[default]
com.rti.dds.infrastructure.Duration t.AUTO
(com.rti.dds.infrastructure.Duration t.INFINITE
for
com.rti.dds.infrastructure.PresentationQosPolicyAccessScopeKind.PresentationQosPolicyAccessScopeKind.GROUP
PRESENTATION QOS. Otherwise, 0 seconds)
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
406
Class Documentation
[range]
[0,
com.rti.dds.infrastructure.Duration t.INFINITE],
com.rti.dds.infrastructure.Duration t.AUTO
8.8.3.4
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.9
407
8.9.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
408
Class Documentation
8.10
8.10.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.11
409
8.11.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
410
Class Documentation
8.12
8.12.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.13
411
8.13.1
Detailed Description
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
412
Class Documentation
8.14
Public Attributes
boolean enable
Specifies whether or not batching is enabled.
8.14.1
Detailed Description
413
Entity:
com.rti.dds.publication.DataWriter (p. 557)
Properties:
RxO (p. 101) = NO
Changeable (p. 102) = UNTIL ENABLE (p. 102)
8.14.2
8.14.2.1
boolean enable
8.14.2.2
8.14.3
Consistency
The
setting
of
com.rti.dds.infrastructure.BatchQosPolicy.max data bytes
(p. 413)
must
be
consistent
with
com.rti.dds.infrastructure.BatchQosPolicy.max samples
(p. 414).
For these two values to be consistent, they cannot be both
com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106).
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
414
Class Documentation
8.14.3.1
8.14.4
Consistency
The
setting
of
com.rti.dds.infrastructure.BatchQosPolicy.max samples
(p. 414)
must
be
consistent
with
com.rti.dds.infrastructure.BatchQosPolicy.max data bytes
(p. 413).
For these two values to be consistent, they cannot be both
com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH UNLIMITED (p. 106).
8.14.4.1
8.14.5
Consistency
The
setting
of
com.rti.dds.infrastructure.BatchQosPolicy.max flush delay
(p. 414)
must
be
consistent
with
com.rti.dds.infrastructure.AsynchronousPublisherQosPolicy.disable asynchronous batch (p. 400) and com.rti.dds.infrastructure.BatchQosPolicy.thread safe write
(p. 415).
If
the
delay
is
different
than
com.rti.dds.infrastructure.Duration t.INFINITE,
com.rti.dds.infrastructure.AsynchronousPublisherQosPolicy.disable asynchronous batch (p. 400) must be set to com.rti.dds.infrastructure.false
and
com.rti.dds.infrastructure.BatchQosPolicy.thread safe write
(p. 415) must be set to com.rti.dds.infrastructure.true.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
415
8.14.6
Consistency
8.14.6.1
416
Class Documentation
8.14.7
Consistency
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.15
417
418
Class Documentation
Return an array containing copy of the contents of this sequence.
int getMaximum ()
Get the current maximum number of elements that can be stored in this
sequence.
8.15.1
Detailed Description
8.15.2
8.15.2.1
BooleanSeq ()
419
Parameters:
booleans the initial contents of this sequence
Exceptions:
NullPointerException if the input array is null
8.15.3
8.15.3.1
Append length elements from the given array to this sequence, starting at index
offset in that array.
Exceptions:
NullPointerException if the given array is null.
8.15.3.2
Exceptions:
NullPointerException if the given array is null
8.15.3.3
Shift all elements in the sequence starting from the given index and add the
element to the given index.
8.15.3.5
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
420
Class Documentation
8.15.3.6
Set the new boolean at the given index and return the old boolean.
Exceptions:
IndexOutOfBoundsException if the index is out of bounds.
8.15.3.7
8.15.3.8
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
421
int getMaximum ()
Get the current maximum number of elements that can be stored in this sequence.
The maximum of the sequence represents the maximum number of elements that
the underlying buffer can hold. It does not represent the current number of
elements.
The maximum is a non-negative number. It is initialized when the sequence is
first created.
The maximum can be changed implicitly by adding an element
or explicitly by calling
to the sequence with add() (p. 422),
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.setMaximum.
Returns:
the current maximum of the sequence.
See also:
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.size()
Implements Sequence (p. 1429).
8.15.3.10
422
Class Documentation
8.15.3.12
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
8.16
A user exception thrown when a parameter is not within the legal bounds.
Inheritance diagram for Bounds::
8.16.1
Detailed Description
A user exception thrown when a parameter is not within the legal bounds.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
423
424
Class Documentation
8.17
Public Attributes
final int[ ] value
An array of four integers that uniquely
com.rti.dds.infrastructure.Entity ( p. 931).
8.17.1
represents
remote
Detailed Description
8.17.2
8.17.2.1
Exceptions:
NullPointerException if other is null.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
425
8.17.3
8.17.3.1
represents
remote
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
426
Class Documentation
8.18
BuiltinTopicReaderResourceLimits t
Class Reference
Public Attributes
int initial samples
Initial number of samples.
8.18.1
427
Detailed Description
8.18.2
8.18.2.1
BuiltinTopicReaderResourceLimits t ()
BuiltinTopicReaderResourceLimits t (int
initial samples, int max samples, int initial infos,
int max infos, int initial outstanding reads, int
max outstanding reads, int max samples per read,
boolean disable fragmentation support, int
max fragmented samples, int initial fragmented samples,
int max fragmented samples per remote writer,
int max fragments per sample, boolean
dynamically allocate fragmented samples)
8.18.3
8.18.3.1
428
Class Documentation
[default] 64
[range] [1, 1 million], <= max samples
8.18.3.2
429
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen
430
Class Documentation
8.19
Public Attributes
int length
Number of bytes to serialize.
int offset
Offset from which to start serializing bytes .
byte[ ] value
com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes array value.
8.19.1
Detailed Description
8.19.2
8.19.2.1
Bytes ()
431
Default Constructor.
The default constructor initializes the newly created object with null value, zero
length, and zero offset.
8.19.2.2
Copy constructor.
Parameters:
src <<in>> ( p. 279) Object to copy from.
Exceptions:
NullPointerException if src is null.
8.19.2.3
8.19.2.4
Create a new Bytes (p. 430) object to wrap the given array.
The value field will point to the given array. The offset will be set to 0. The
length will be set to the length of the array unless the array is null, in which
case the length will be set to 0 also.
Generated on Mon Aug 13 09:02:20 2012 for RTI Connext Java API by Doxygen