RTI Connext Java API Version 7.1.0
|
<<interface>> Instantiates DataWriter
< com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes >.
More...
Public Member Functions | |
void | write (Bytes instance_data, InstanceHandle_t handle) |
Modifies the value of a com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes data instance. More... | |
void | write (byte[] octets, int offset, int length, InstanceHandle_t handle) |
<<extension>> Modifies the value of a com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes data instance. More... | |
void | write (ByteSeq octets, InstanceHandle_t handle) |
<<extension>> Modifies the value of a com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes data instance. More... | |
void | write_w_timestamp (Bytes instance_data, InstanceHandle_t handle, Time_t source_timestamp) |
Performs the same function as com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter.write except that it also provides the value for the source_timestamp . More... | |
void | write_w_timestamp (byte[] octets, int offset, int length, InstanceHandle_t handle, Time_t source_timestamp) |
<<extension>> Performs the same function as com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter.BytesDataWriter.write except that it also provides the value for the source_timestamp . More... | |
void | write_w_timestamp (ByteSeq octets, InstanceHandle_t handle, Time_t source_timestamp) |
<<extension>> Performs the same function as com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter.BytesDataWriter.write except that it also provides the value for the source_timestamp . More... | |
![]() | |
void | set_qos (DataWriterQos qos) |
Sets the writer QoS. More... | |
void | set_qos_with_profile (String library_name, String profile_name) |
<<extension>> Change the QoS of this writer using the input XML QoS profile. More... | |
void | get_qos (DataWriterQos qos) |
Gets the writer QoS. More... | |
void | set_listener (DataWriterListener l, int mask) |
Sets the writer listener. More... | |
DataWriterListener | get_listener () |
Get the writer listener. More... | |
void | get_liveliness_lost_status (LivelinessLostStatus status) |
Accesses the com.rti.dds.infrastructure.StatusKind.StatusKind.LIVELINESS_LOST_STATUS communication status. More... | |
void | get_offered_deadline_missed_status (OfferedDeadlineMissedStatus status) |
Accesses the com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED_DEADLINE_MISSED_STATUS communication status. More... | |
void | get_offered_incompatible_qos_status (OfferedIncompatibleQosStatus status) |
Accesses the com.rti.dds.infrastructure.StatusKind.StatusKind.OFFERED_INCOMPATIBLE_QOS_STATUS communication status. More... | |
void | get_publication_matched_status (PublicationMatchedStatus status) |
Accesses the com.rti.dds.infrastructure.StatusKind.StatusKind.PUBLICATION_MATCHED_STATUS communication status. More... | |
void | get_reliable_writer_cache_changed_status (ReliableWriterCacheChangedStatus status) |
<<extension>> Get the reliable cache status for this writer. More... | |
void | get_reliable_reader_activity_changed_status (ReliableReaderActivityChangedStatus status) |
<<extension>> Get the reliable reader activity changed status for this writer. More... | |
void | get_datawriter_cache_status (DataWriterCacheStatus status) |
<<extension>> Get the datawriter cache status for this writer. More... | |
void | get_datawriter_protocol_status (DataWriterProtocolStatus status) |
<<extension>> Get the datawriter protocol status for this writer. More... | |
void | get_matched_subscription_datawriter_protocol_status (DataWriterProtocolStatus status, InstanceHandle_t subscription_handle) |
<<extension>> Get the datawriter protocol status for this writer, per matched subscription identified by the subscription_handle. More... | |
void | get_matched_subscription_datawriter_protocol_status_by_locator (DataWriterProtocolStatus status, Locator_t locator) |
<<extension>> Get the datawriter protocol status for this writer, per matched subscription identified by the locator. More... | |
void | get_service_request_accepted_status (ServiceRequestAcceptedStatus status) |
Accesses the com.rti.dds.infrastructure.StatusKind.SERVICE_REQUEST_ACCEPTED_STATUS communication status. More... | |
void | get_matched_subscription_locators (LocatorSeq locators) |
<<extension>> Retrieve the list of locators for subscriptions currently "associated" with this com.rti.dds.publication.DataWriter. More... | |
void | get_matched_subscriptions (InstanceHandleSeq subscription_handles) |
Retrieve the list of subscriptions currently "associated" with this com.rti.dds.publication.DataWriter. More... | |
boolean | is_matched_subscription_active (InstanceHandle_t subscription_handle) |
Check if a subscription currently matched with a DataWriter is active. More... | |
void | get_matched_subscription_data (SubscriptionBuiltinTopicData subscription_data, InstanceHandle_t subscription_handle) |
This operation retrieves the information on a subscription that is currently "associated" with the com.rti.dds.publication.DataWriter. More... | |
void | get_matched_subscription_participant_data (ParticipantBuiltinTopicData participant_data, InstanceHandle_t subscription_handle) |
This operation retrieves the information on the discovered com.rti.dds.domain.DomainParticipant associated with the subscription that is currently matching with the com.rti.dds.publication.DataWriter. More... | |
Topic | get_topic () |
This operation returns the com.rti.dds.topic.Topic associated with the com.rti.dds.publication.DataWriter. More... | |
Publisher | get_publisher () |
This operation returns the com.rti.dds.publication.Publisher to which the com.rti.dds.publication.DataWriter belongs. More... | |
void | wait_for_acknowledgments (Duration_t max_wait) |
Blocks the calling thread until all data written by reliable com.rti.dds.publication.DataWriter entity is acknowledged, or until timeout expires. More... | |
boolean | is_sample_app_acknowledged (SampleIdentity_t identity) |
This method can be used to see if a sample has been application acknowledged. More... | |
void | wait_for_asynchronous_publishing (Duration_t max_wait) |
<<extension>> Blocks the calling thread until asynchronous sending is complete. More... | |
void | assert_liveliness () |
This operation manually asserts the liveliness of this com.rti.dds.publication.DataWriter. More... | |
void | flush () |
<<extension>> Flushes the batch in progress in the context of the calling thread. More... | |
InstanceHandle_t | register_instance_untyped (Object instance_data) |
Register a new instance with this writer. More... | |
InstanceHandle_t | register_instance_w_timestamp_untyped (Object instance_data, Time_t source_timestamp) |
Register a new instance with this writer using the given time instead of the current time. More... | |
void | unregister_instance_untyped (Object instance_data, InstanceHandle_t handle) |
Unregister a new instance from this writer. More... | |
void | unregister_instance_w_timestamp_untyped (Object instance_data, InstanceHandle_t handle, Time_t source_timestamp) |
Unregister a new instance from this writer using the given time instead of the current time. More... | |
void | write_untyped (Object instance_data, InstanceHandle_t handle) |
Publish a data sample. More... | |
void | write_w_timestamp_untyped (Object instance_data, InstanceHandle_t handle, Time_t source_timestamp) |
Publish a data sample using the given time instead of the current time. More... | |
void | dispose_untyped (Object instance_data, InstanceHandle_t handle) |
Dispose a data sample. More... | |
void | dispose_w_timestamp_untyped (Object instance_data, InstanceHandle_t handle, Time_t source_timestamp) |
Dispose a data sample using the given time instead of the current time. More... | |
void | get_key_value_untyped (Object key_holder, InstanceHandle_t handle) |
Fill in the key fields of the given data sample. More... | |
InstanceHandle_t | lookup_instance_untyped (Object key_value) |
Given a sample with the given key field values, return the handle corresponding to its instance. More... | |
void | take_discovery_snapshot () |
Take a snapshot of the compatible and incompatible remote readers matched by a local writer. More... | |
void | take_discovery_snapshot (String file_name) |
Take a snapshot of the compatible and incompatible remote readers matched by a local writer. More... | |
![]() | |
void | enable () |
Enables the com.rti.dds.infrastructure.Entity. More... | |
StatusCondition | get_statuscondition () |
Allows access to the com.rti.dds.infrastructure.StatusCondition associated with the com.rti.dds.infrastructure.Entity. More... | |
int | get_status_changes () |
Retrieves the list of communication statuses in the com.rti.dds.infrastructure.Entity that are triggered. More... | |
InstanceHandle_t | get_instance_handle () |
Allows access to the com.rti.dds.infrastructure.InstanceHandle_t associated with the com.rti.dds.infrastructure.Entity. More... | |
<<interface>> Instantiates DataWriter
< com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes >.
void write | ( | Bytes | instance_data, |
InstanceHandle_t | handle | ||
) |
Modifies the value of a com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes data instance.
References DataWriter.write_untyped().
void write | ( | byte[] | octets, |
int | offset, | ||
int | length, | ||
InstanceHandle_t | handle | ||
) |
<<extension>> Modifies the value of a com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes data instance.
octets | <<in>> Array of bytes to be published. |
offset | <<in>> Offset from which to start publishing. |
length | <<in>> Number of bytes to be published. |
handle | <<in>> The special value com.rti.dds.infrastructure.InstanceHandle_t.HANDLE_NIL should be used always. |
References Bytes.length, Bytes.offset, Bytes.value, and DataWriter.write_untyped().
void write | ( | ByteSeq | octets, |
InstanceHandle_t | handle | ||
) |
<<extension>> Modifies the value of a com.rti.dds.type.builtin.com.rti.dds.type.builtin.Bytes data instance.
octets | <<in>> Sequence of bytes to be published. |
handle | <<in>> The special value com.rti.dds.infrastructure.InstanceHandle_t.HANDLE_NIL should be used always. |
References Bytes.length, Bytes.offset, AbstractPrimitiveSequence.size(), Bytes.value, and DataWriter.write_untyped().
void write_w_timestamp | ( | Bytes | instance_data, |
InstanceHandle_t | handle, | ||
Time_t | source_timestamp | ||
) |
Performs the same function as com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter.write except that it also provides the value for the source_timestamp
.
References DataWriter.write_w_timestamp_untyped().
void write_w_timestamp | ( | byte[] | octets, |
int | offset, | ||
int | length, | ||
InstanceHandle_t | handle, | ||
Time_t | source_timestamp | ||
) |
<<extension>> Performs the same function as com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter.BytesDataWriter.write except that it also provides the value for the source_timestamp
.
octets | <<in>> Array of bytes to be published. |
offset | <<in>> Offset from which to start publishing. |
length | <<in>> Number of bytes to be published. |
handle | <<in>> The special value com.rti.dds.infrastructure.InstanceHandle_t.HANDLE_NIL should be used always. |
source_timestamp | <<in>> The timestamp value must be greater than or equal to the timestamp value used in the last writer operation. See com.rti.ndds.example.FooDataWriter.write_w_timestamp. Cannot be NULL. |
References Bytes.length, Bytes.offset, Bytes.value, and DataWriter.write_w_timestamp_untyped().
void write_w_timestamp | ( | ByteSeq | octets, |
InstanceHandle_t | handle, | ||
Time_t | source_timestamp | ||
) |
<<extension>> Performs the same function as com.rti.dds.type.builtin.com.rti.dds.type.builtin.BytesDataWriter.BytesDataWriter.write except that it also provides the value for the source_timestamp
.
octets | <<in>> Sequence of bytes to be published. |
handle | <<in>> The special value com.rti.dds.infrastructure.InstanceHandle_t.HANDLE_NIL should be used always. |
source_timestamp | <<in>> The timestamp value must be greater than or equal to the timestamp value used in the last writer operation. See com.rti.ndds.example.FooDataWriter.write_w_timestamp. Cannot be NULL. |
References Bytes.length, Bytes.offset, AbstractPrimitiveSequence.size(), Bytes.value, and DataWriter.write_w_timestamp_untyped().