TYPE
- The concrete type of the data that will be published and/
or subscribed by the readers and writers that use this
topic.public interface Topic<TYPE> extends TopicDescription<TYPE>, DomainEntity<TopicListener<TYPE>,TopicQos>
TopicDescription
that can be used for
publications and therefore associated to a DataWriter
. All
operations except for the inherited operations
Entity.setQos(org.omg.dds.core.EntityQos)
,
Entity.getQos()
, Entity.setListener(java.util.EventListener)
,
Entity.getListener()
, Entity.enable()
, getStatusCondition()
,
and TopicDescription.close()
may fail with the exception
NotEnabledException
.Modifier and Type | Method and Description |
---|---|
InconsistentTopicStatus |
getInconsistentTopicStatus()
This method allows the application to retrieve the
InconsistentTopicStatus of the Topic. |
DomainParticipant |
getParent() |
StatusCondition<Topic<TYPE>> |
getStatusCondition()
This operation allows access to the
StatusCondition associated
with the Entity. |
cast, close, getName, getTypeName, getTypeSupport
enable, getInstanceHandle, getListener, getQos, getStatusChanges, retain, setListener, setListener, setQos, setQos
getEnvironment
InconsistentTopicStatus getInconsistentTopicStatus()
InconsistentTopicStatus
of the Topic.
Each DomainEntity
has a set of relevant communication
statuses. A change of status causes the corresponding Listener to be
invoked and can also be monitored by means of the associated
StatusCondition
.TopicListener
,
StatusCondition
StatusCondition<Topic<TYPE>> getStatusCondition()
Entity
StatusCondition
associated
with the Entity. The returned condition can then be added to a
WaitSet
so that the application can wait for specific status
changes that affect the Entity.getStatusCondition
in interface Entity<TopicListener<TYPE>,TopicQos>
DomainParticipant getParent()
getParent
in interface DomainEntity<TopicListener<TYPE>,TopicQos>
getParent
in interface TopicDescription<TYPE>
DomainParticipant
to which the TopicDescription
belongs.Copyright © 2014. All rights reserved.