public interface DDSLayer
DDSLayer
permits a (almost) uniform access to different DDS vendors.Modifier and Type | Method and Description |
---|---|
boolean |
close()
Deletes all DDS entities
|
java.lang.Object |
createContentFilteredTopic(java.lang.String topicName,
java.lang.Object topic,
java.lang.String logicExpression,
java.util.List<java.lang.String> parameters)
Creates a ContentFilteredTopic
|
boolean |
createDataReader(java.lang.Object topicDescription,
java.lang.Object dataReaderQoS,
UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
Creates a DataReader with a specific QoS
|
boolean |
createDataReader(java.lang.Object topicDescription,
UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
Creates a DataReader
|
boolean |
createDataWriter(java.lang.Object topic)
Creates a DataWriter
|
boolean |
createDataWriter(java.lang.Object topic,
java.lang.Object dataWriterQoS)
Creates a DataWriter with a specific QoS
|
void |
createParticipant(long domainID)
Creates a participant
|
void |
createParticipant(long domainID,
java.lang.String license)
Create a participant on Android Device
|
void |
createParticipant(java.lang.String domainID)
Creates a participant
|
void |
createParticipant(java.lang.String domainID,
java.lang.String license)
Creates a participant on Android Device
|
void |
createPublisher()
Creates a Publisher
|
void |
createSubscriber()
Creates a subscriber
|
java.lang.Object |
createTopic(java.lang.String typeName,
java.lang.String topicName)
Creates a Generic Topic
|
boolean |
deleteParticipant()
Deletes the participant
|
boolean |
deletePublisher()
Deletes the publisher
|
boolean |
deleteSubscriber()
Deletes the subscriber
|
boolean |
deleteTopic(java.lang.Object topic)
Deletes a topic
|
boolean |
writeTopic(java.lang.String topicName,
java.lang.Object topic)
Sends a Topic over the DDS Domain
|
void createParticipant(long domainID)
domainID
- void createParticipant(java.lang.String domainID)
domainID
- void createParticipant(long domainID, java.lang.String license)
domainID
- license
- DDS Vendor String licensevoid createParticipant(java.lang.String domainID, java.lang.String license)
domainID
- license
- DDS Vendor String licensevoid createSubscriber()
void createPublisher()
java.lang.Object createTopic(java.lang.String typeName, java.lang.String topicName)
typeName
- The Class Name. E.g. "String
"topicName
- A name for the topic. E.g. "HelloWorldTopic"java.lang.Object createContentFilteredTopic(java.lang.String topicName, java.lang.Object topic, java.lang.String logicExpression, java.util.List<java.lang.String> parameters)
topicName
- The Class Name. E.g. "Integer
"topic
- A name for the topic. E.g. "HelloWorldFilteredTopic"logicExpression
- SQL Expressionparameters
- Parameters in the SQL Expressionboolean createDataReader(java.lang.Object topicDescription, UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
topicDescription
- The Topic to associate to DataReaderapplicationDataReaderListener
- DataReaderīs Listenerboolean createDataReader(java.lang.Object topicDescription, java.lang.Object dataReaderQoS, UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
topicDescription
- The Topic to associate to DataReaderdataReaderQoS
- applicationDataReaderListener
- DataReaderīs Listenerboolean createDataWriter(java.lang.Object topic)
topic
- The Topic to associate to DataReaderboolean createDataWriter(java.lang.Object topic, java.lang.Object dataWriterQoS)
topic
- The Topic to associate to DataReaderdataWriterQoS
- boolean writeTopic(java.lang.String topicName, java.lang.Object topic)
topicName
- The name for the topic. E.g. "HelloWorldTopic"topic
- The object that represents the topic sampleboolean deleteParticipant()
boolean deletePublisher()
boolean deleteSubscriber()
boolean deleteTopic(java.lang.Object topic)
topic
- boolean close()