RTI Connext Java API  Version 6.1.2
AcknowledgmentInfo Class Reference

Information about an application-level acknowledged sample. More...

Inherits Status.

Public Attributes

final InstanceHandle_t subscription_handle
 Subscription handle of the acknowledging com.rti.dds.subscription.DataReader. More...
 
final SampleIdentity_t sample_identity
 Identity of the sample being acknowledged. More...
 
boolean valid_response_data
 Flag indicating validity of the user response data in the acknowledgment. More...
 
final AckResponseData_t response_data
 User data payload of application-level acknowledgment message. More...
 

Detailed Description

Information about an application-level acknowledged sample.

When acknowledging a sample, the reader provides the writer with information about the sample being acknowledged. The AcknowledgmentInfo structure provides the identity and cookie of the sample being acknowledged, as well as user data payload provided by the reader.

Member Data Documentation

◆ subscription_handle

final InstanceHandle_t subscription_handle

Subscription handle of the acknowledging com.rti.dds.subscription.DataReader.

◆ sample_identity

final SampleIdentity_t sample_identity

Identity of the sample being acknowledged.

See also
com.rti.dds.infrastructure.SampleIdentity_t

◆ valid_response_data

boolean valid_response_data

Flag indicating validity of the user response data in the acknowledgment.

This flag is true when the com.rti.dds.infrastructure.RtpsReliableReaderProtocol_t.min_app_ack_response_keep_duration has not yet elapsed for the acknowledgment's response data.

The flag is false when that duration has elapsed for the response data.

◆ response_data

final AckResponseData_t response_data

User data payload of application-level acknowledgment message.

Response data set by com.rti.dds.subscription.DataReader when sample was acknowledged.