OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.topic.TopicProtobuf< PROTOBUF_TYPE > Class Template Reference
Inheritance diagram for org.opensplice.dds.topic.TopicProtobuf< PROTOBUF_TYPE >:
Inheritance graph
Collaboration diagram for org.opensplice.dds.topic.TopicProtobuf< PROTOBUF_TYPE >:
Collaboration graph

Public Member Functions

 TopicProtobuf (OsplServiceEnvironment environment, DomainParticipantImpl participant, String topicName, TypeSupportProtobuf< PROTOBUF_TYPE, ?> typeSupport, TopicQos qos, TopicListener< PROTOBUF_TYPE > listener, Collection< Class<? extends Status >> statuses)
 
void disposeAllData ()
 
AllDataDisposedStatus getAllDataDisposedTopicStatus ()
 
InconsistentTopicStatus getInconsistentTopicStatus ()
 This method allows the application to retrieve the org.omg.dds.core.status.InconsistentTopicStatus of the Topic. More...
 
String getName ()
 Returns the name used to create the TopicDescription. More...
 
DomainParticipant getParent ()
 
TopicQos getQos ()
 
StatusCondition< Topic< TYPE > > getStatusCondition ()
 
String getTypeName ()
 Returns the type name used to create the TopicDescription. More...
 
TypeSupport< TYPE > getTypeSupport ()
 Returns the org.omg.dds.type.TypeSupport used to create this TopicDescription. More...
 
void setListener (TopicListener< TYPE > listener)
 
void setListener (TopicListener< TYPE > listener, Collection< Class<? extends Status >> statuses)
 
void setListener (TopicListener< TYPE > listener, Class<? extends Status >... statuses)
 
void setQos (TopicQos qos)
 

Protected Member Functions

void destroy ()
 

Detailed Description

Definition at line 32 of file TopicProtobuf.java.

Constructor & Destructor Documentation

◆ TopicProtobuf()

org.opensplice.dds.topic.TopicProtobuf< PROTOBUF_TYPE >.TopicProtobuf ( OsplServiceEnvironment  environment,
DomainParticipantImpl  participant,
String  topicName,
TypeSupportProtobuf< PROTOBUF_TYPE, ?>  typeSupport,
TopicQos  qos,
TopicListener< PROTOBUF_TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)

Definition at line 34 of file TopicProtobuf.java.

Member Function Documentation

◆ destroy()

void org.opensplice.dds.topic.TopicImpl< TYPE >.destroy ( )
protectedinherited

Definition at line 261 of file TopicImpl.java.

◆ disposeAllData()

void org.opensplice.dds.topic.TopicImpl< TYPE >.disposeAllData ( )
inherited

Definition at line 314 of file TopicImpl.java.

◆ getAllDataDisposedTopicStatus()

AllDataDisposedStatus org.opensplice.dds.topic.TopicImpl< TYPE >.getAllDataDisposedTopicStatus ( )
inherited

Definition at line 321 of file TopicImpl.java.

◆ getInconsistentTopicStatus()

InconsistentTopicStatus org.opensplice.dds.topic.TopicImpl< TYPE >.getInconsistentTopicStatus ( )
inherited

This method allows the application to retrieve the org.omg.dds.core.status.InconsistentTopicStatus of the Topic.

Each org.omg.dds.core.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 org.omg.dds.core.StatusCondition.

Returns
the InconsistentTopicStatus object
Exceptions
org.omg.dds.core.DDSExceptionAn internal error has occurred.
org.omg.dds.core.AlreadyClosedExceptionThe corresponding DataReader has been closed.
org.omg.dds.core.OutOfResourcesExceptionThe Data Distribution Service ran out of resources to complete this operation.
See also
TopicListener
StatusCondition

Definition at line 240 of file TopicImpl.java.

◆ getName()

String org.opensplice.dds.topic.TopicImpl< TYPE >.getName ( )
inherited

Returns the name used to create the TopicDescription.

Returns
the name.

Definition at line 304 of file TopicImpl.java.

◆ getParent()

DomainParticipant org.opensplice.dds.topic.TopicImpl< TYPE >.getParent ( )
inherited
Returns
the factory object that created this entity.

Definition at line 309 of file TopicImpl.java.

◆ getQos()

TopicQos org.opensplice.dds.topic.TopicImpl< TYPE >.getQos ( )
inherited

Definition at line 210 of file TopicImpl.java.

◆ getStatusCondition()

StatusCondition<Topic<TYPE> > org.opensplice.dds.topic.TopicImpl< TYPE >.getStatusCondition ( )
inherited

Definition at line 250 of file TopicImpl.java.

◆ getTypeName()

String org.opensplice.dds.topic.TopicImpl< TYPE >.getTypeName ( )
inherited

Returns the type name used to create the TopicDescription.

Returns
the type name

Definition at line 292 of file TopicImpl.java.

◆ getTypeSupport()

TypeSupport<TYPE> org.opensplice.dds.topic.TopicImpl< TYPE >.getTypeSupport ( )
inherited

Returns the org.omg.dds.type.TypeSupport used to create this TopicDescription.

Returns
the org.omg.dds.type.TypeSupport.

Definition at line 267 of file TopicImpl.java.

◆ setListener() [1/3]

void org.opensplice.dds.topic.TopicImpl< TYPE >.setListener ( TopicListener< TYPE >  listener)
inherited

Definition at line 191 of file TopicImpl.java.

◆ setListener() [2/3]

void org.opensplice.dds.topic.TopicImpl< TYPE >.setListener ( TopicListener< TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)
inherited

Definition at line 196 of file TopicImpl.java.

◆ setListener() [3/3]

void org.opensplice.dds.topic.TopicImpl< TYPE >.setListener ( TopicListener< TYPE >  listener,
Class<? extends Status >...  statuses 
)
inherited

Definition at line 203 of file TopicImpl.java.

◆ setQos()

void org.opensplice.dds.topic.TopicImpl< TYPE >.setQos ( TopicQos  qos)
inherited

Definition at line 220 of file TopicImpl.java.


The documentation for this class was generated from the following file: