|
CoreDX DDS for Java from Twin Oaks Computing, Inc. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.toc.coredx.DDS.Entity
com.toc.coredx.DDS.DomainEntity
com.toc.coredx.DDS.Publisher
public class Publisher
The Publisher configures, creates, manages and destroys DataWriters.
| Method Summary | |
|---|---|
ReturnCode_t |
begin_coherent_changes()
This method is not yet implemented. |
ReturnCode_t |
copy_from_topic_qos(DataWriterQos qos,
TopicQos topic_qos)
This operation copies the QoS settings in a_topic_qos to the corresponding settings in a_datawriter_qos. The a_datawriter_qos parameter is populated with a copy of the QoS policies from the a_topic_qos structure. |
DataWriter |
create_datawriter(Topic topic,
DataWriterQos qos,
DataWriterListener listener,
long mask)
This operation creates a DataWriter. |
ReturnCode_t |
delete_contained_entities()
This operation deletes all the DataWriters created by means of the Publisher.create_datawriter() operation on the Publisher p. This routine will recursively call the corresponding delete_contained_entities() operation on each of the contained DataWriter objects. |
ReturnCode_t |
delete_datawriter(DataWriter datawriter)
This operation deletes a DataWriter. |
ReturnCode_t |
enable()
Enables the Publisher. |
ReturnCode_t |
end_coherent_changes()
This method is not yet implemented. |
ReturnCode_t |
get_default_datawriter_qos(DataWriterQos qos)
Provides access to the default DataWriterQos settings held in the Publisher p. The provided qos argument is populated with the current default qos settings. |
PublisherListener |
get_listener()
This operation returns the currently installed PublisherListener. |
DomainParticipant |
get_participant()
This operation returns the DomainParticipant this Publisher belongs to. |
ReturnCode_t |
get_qos(PublisherQos qos)
Returns the current PublisherQos settings held in the Publisher p. The qos parameter is populated with a copy of the current Publisher QoS properties. |
DataWriter |
lookup_datawriter(java.lang.String topic_name)
This operation retrieves a previously-created DataWriter contained in the Publisher, attached to a Topic named topic_name. If multiple DataWriters are found, one of them will be returned. |
ReturnCode_t |
resume_publications()
This method is not yet implemented. |
ReturnCode_t |
set_default_datawriter_qos(DataWriterQos qos)
Sets the default DataWriterQos held in the Publisher. |
ReturnCode_t |
set_listener(PublisherListener new_listener,
long mask)
Installs a PublisherListener on Publisher p. Only one listener may be attached to a Publisher at a time. |
ReturnCode_t |
set_qos(PublisherQos qos)
Sets the PublisherQos values. |
ReturnCode_t |
suspend_publications()
This method is not yet implemented. |
ReturnCode_t |
wait_for_acknowledgments(Duration_t max_wait)
This method is not yet implemented. |
| Methods inherited from class com.toc.coredx.DDS.Entity |
|---|
get_instance_handle, get_status_changes, get_statuscondition |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ReturnCode_t enable()
enable in class Entitypublic DomainParticipant get_participant()
public DataWriter create_datawriter(Topic topic,
DataWriterQos qos,
DataWriterListener listener,
long mask)
The created DataWriter (if not NULL) must be destroyed by a call to Publisher.delete_datawriter().
This routine will fail if the provided QoS settings are internally inconsistent. In this case, the routine will return NULL.
public ReturnCode_t delete_datawriter(DataWriter datawriter)
public ReturnCode_t delete_contained_entities()
If any of the objects cannot be deleted, this routine will return ReturnCode_t.RETCODE_PRECONDITION_NOT_MET.
public DataWriter lookup_datawriter(java.lang.String topic_name)
public ReturnCode_t set_qos(PublisherQos qos)
public ReturnCode_t get_qos(PublisherQos qos)
public ReturnCode_t set_listener(PublisherListener new_listener,
long mask)
a_listener can be NULL, which indicates a listener that does nothing.
public PublisherListener get_listener()
public ReturnCode_t suspend_publications()
public ReturnCode_t resume_publications()
public ReturnCode_t begin_coherent_changes()
public ReturnCode_t end_coherent_changes()
public ReturnCode_t wait_for_acknowledgments(Duration_t max_wait)
public ReturnCode_t set_default_datawriter_qos(DataWriterQos qos)
public ReturnCode_t get_default_datawriter_qos(DataWriterQos qos)
public ReturnCode_t copy_from_topic_qos(DataWriterQos qos,
TopicQos topic_qos)
|
Copyright © 2010 Twin Oaks Computing, Inc, All Rights Reserved |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||