public class CoreDXLayer extends java.lang.Object implements SddlLayer
CoreDXLayer
is the classConstructor and Description |
---|
CoreDXLayer() |
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 |
createDataReader(UDIDataReaderListener<ApplicationObject> applicationDataReaderListener,
java.lang.Object topicDescription)
Creates a DataReader
|
boolean |
createDataReader(UDIDataReaderListener<ApplicationObject> applicationDataReaderListener,
java.lang.Object topicDescription,
java.lang.Object dataReaderQoS)
Creates a DataReader with a specific QoS
|
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.Class<? extends ApplicationObject> applicationObjectClass,
java.lang.String topicName)
Creates a Generic Topic
|
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
|
java.lang.String |
getBooleanRepresentation(boolean value) |
boolean |
writeTopic(java.lang.String topicName,
ApplicationObject applicationObject)
Sends a Topic over the DDS Domain
|
boolean |
writeTopic(java.lang.String topicName,
java.lang.Object topic)
Sends a Topic over the DDS Domain
|
public void createParticipant(long domainID)
DDSLayer
createParticipant
in interface DDSLayer
public void createParticipant(java.lang.String domainID)
DDSLayer
createParticipant
in interface DDSLayer
public void createParticipant(long domainID, java.lang.String license)
DDSLayer
createParticipant
in interface DDSLayer
license
- DDS Vendor String licensepublic void createParticipant(java.lang.String domainID, java.lang.String license)
DDSLayer
createParticipant
in interface DDSLayer
license
- DDS Vendor String licensepublic void createSubscriber()
DDSLayer
createSubscriber
in interface DDSLayer
public void createPublisher()
DDSLayer
createPublisher
in interface DDSLayer
public java.lang.Object createTopic(java.lang.String typeName, java.lang.String topicName)
DDSLayer
createTopic
in interface DDSLayer
typeName
- The Class Name. E.g. "String
"topicName
- A name for the topic. E.g. "HelloWorldTopic"public java.lang.Object createTopic(java.lang.Class<? extends ApplicationObject> applicationObjectClass, java.lang.String topicName)
SddlLayer
createTopic
in interface SddlLayer
applicationObjectClass
- The Class Name. E.g. "String
"topicName
- A name for the topic. E.g. "HelloWorldTopic"public java.lang.Object createContentFilteredTopic(java.lang.String topicName, java.lang.Object topic, java.lang.String logicExpression, java.util.List<java.lang.String> parameters)
DDSLayer
createContentFilteredTopic
in interface DDSLayer
topicName
- The Class Name. E.g. "Integer
"topic
- A name for the topic. E.g. "HelloWorldFilteredTopic"logicExpression
- SQL Expressionparameters
- Parameters in the SQL Expressionpublic boolean createDataReader(java.lang.Object topicDescription, UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
DDSLayer
createDataReader
in interface DDSLayer
topicDescription
- The Topic to associate to DataReaderapplicationDataReaderListener
- DataReaderīs Listenerpublic boolean createDataReader(java.lang.Object topicDescription, java.lang.Object dataReaderQoS, UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
DDSLayer
createDataReader
in interface DDSLayer
topicDescription
- The Topic to associate to DataReaderapplicationDataReaderListener
- DataReaderīs Listenerpublic boolean createDataReader(UDIDataReaderListener<ApplicationObject> applicationDataReaderListener, java.lang.Object topicDescription)
SddlLayer
createDataReader
in interface SddlLayer
applicationDataReaderListener
- DataReaderīs ListenertopicDescription
- The Topic to associate to DataReaderpublic boolean createDataReader(UDIDataReaderListener<ApplicationObject> applicationDataReaderListener, java.lang.Object topicDescription, java.lang.Object dataReaderQoS)
SddlLayer
createDataReader
in interface SddlLayer
applicationDataReaderListener
- DataReaderīs ListenertopicDescription
- The Topic to associate to DataReaderpublic boolean createDataWriter(java.lang.Object topic)
DDSLayer
createDataWriter
in interface DDSLayer
topic
- The Topic to associate to DataReaderpublic boolean createDataWriter(java.lang.Object topic, java.lang.Object dataWriterQoS)
DDSLayer
createDataWriter
in interface DDSLayer
topic
- The Topic to associate to DataReaderpublic boolean writeTopic(java.lang.String topicName, java.lang.Object topic)
DDSLayer
writeTopic
in interface DDSLayer
topicName
- The name for the topic. E.g. "HelloWorldTopic"topic
- The object that represents the topic samplepublic boolean writeTopic(java.lang.String topicName, ApplicationObject applicationObject)
SddlLayer
writeTopic
in interface SddlLayer
topicName
- The name for the topic. E.g. "HelloWorldTopic"applicationObject
- The object that represents the application object that will be converted on a DDS Topicpublic boolean deleteParticipant()
DDSLayer
deleteParticipant
in interface DDSLayer
public boolean deletePublisher()
DDSLayer
deletePublisher
in interface DDSLayer
public boolean deleteSubscriber()
DDSLayer
deleteSubscriber
in interface DDSLayer
public boolean deleteTopic(java.lang.Object topic)
DDSLayer
deleteTopic
in interface DDSLayer
public boolean close()
DDSLayer
public java.lang.String getBooleanRepresentation(boolean value)
getBooleanRepresentation
in interface SddlLayer