public class CoreDXLayer extends java.lang.Object implements SddlLayer
CoreDXLayer is the class| Constructor 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)
DDSLayercreateParticipant in interface DDSLayerpublic void createParticipant(java.lang.String domainID)
DDSLayercreateParticipant in interface DDSLayerpublic void createParticipant(long domainID,
java.lang.String license)
DDSLayercreateParticipant in interface DDSLayerlicense - DDS Vendor String licensepublic void createParticipant(java.lang.String domainID,
java.lang.String license)
DDSLayercreateParticipant in interface DDSLayerlicense - DDS Vendor String licensepublic void createSubscriber()
DDSLayercreateSubscriber in interface DDSLayerpublic void createPublisher()
DDSLayercreatePublisher in interface DDSLayerpublic java.lang.Object createTopic(java.lang.String typeName,
java.lang.String topicName)
DDSLayercreateTopic in interface DDSLayertypeName - 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)
SddlLayercreateTopic in interface SddlLayerapplicationObjectClass - 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)
DDSLayercreateContentFilteredTopic in interface DDSLayertopicName - 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)
DDSLayercreateDataReader in interface DDSLayertopicDescription - The Topic to associate to DataReaderapplicationDataReaderListener - DataReaderīs Listenerpublic boolean createDataReader(java.lang.Object topicDescription,
java.lang.Object dataReaderQoS,
UDIDataReaderListener<java.lang.Object> applicationDataReaderListener)
DDSLayercreateDataReader in interface DDSLayertopicDescription - The Topic to associate to DataReaderapplicationDataReaderListener - DataReaderīs Listenerpublic boolean createDataReader(UDIDataReaderListener<ApplicationObject> applicationDataReaderListener, java.lang.Object topicDescription)
SddlLayercreateDataReader in interface SddlLayerapplicationDataReaderListener - DataReaderīs ListenertopicDescription - The Topic to associate to DataReaderpublic boolean createDataReader(UDIDataReaderListener<ApplicationObject> applicationDataReaderListener, java.lang.Object topicDescription, java.lang.Object dataReaderQoS)
SddlLayercreateDataReader in interface SddlLayerapplicationDataReaderListener - DataReaderīs ListenertopicDescription - The Topic to associate to DataReaderpublic boolean createDataWriter(java.lang.Object topic)
DDSLayercreateDataWriter in interface DDSLayertopic - The Topic to associate to DataReaderpublic boolean createDataWriter(java.lang.Object topic,
java.lang.Object dataWriterQoS)
DDSLayercreateDataWriter in interface DDSLayertopic - The Topic to associate to DataReaderpublic boolean writeTopic(java.lang.String topicName,
java.lang.Object topic)
DDSLayerwriteTopic in interface DDSLayertopicName - The name for the topic. E.g. "HelloWorldTopic"topic - The object that represents the topic samplepublic boolean writeTopic(java.lang.String topicName,
ApplicationObject applicationObject)
SddlLayerwriteTopic in interface SddlLayertopicName - 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()
DDSLayerdeleteParticipant in interface DDSLayerpublic boolean deletePublisher()
DDSLayerdeletePublisher in interface DDSLayerpublic boolean deleteSubscriber()
DDSLayerdeleteSubscriber in interface DDSLayerpublic boolean deleteTopic(java.lang.Object topic)
DDSLayerdeleteTopic in interface DDSLayerpublic boolean close()
DDSLayerpublic java.lang.String getBooleanRepresentation(boolean value)
getBooleanRepresentation in interface SddlLayer