17.2.7.1.3. ParticipantProxyData

class eprosima::fastrtps::rtps::ParticipantProxyData

ParticipantProxyData class is used to store and convert the information Participants send to each other during the PDP phase.

Public Functions

bool updateData(ParticipantProxyData &pdata)

Update the data.

Parameters

pdata – Object to copy the data from

Returns

True on success

uint32_t get_serialized_size(bool include_encapsulation) const

Get the size in bytes of the CDR serialization of this object.

Parameters

include_encapsulation – Whether to include the size of the encapsulation info.

Returns

size in bytes of the CDR serialization.

bool writeToCDRMessage(CDRMessage_t *msg, bool write_encapsulation)

Write as a parameter list on a CDRMessage_t

Returns

True on success

bool readFromCDRMessage(CDRMessage_t *msg, bool use_encapsulation, const NetworkFactory &network, bool is_shm_transport_available)

Read the parameter list from a received CDRMessage_t

Returns

True on success

void clear()

Clear the data (restore to default state).

void copy(const ParticipantProxyData &pdata)

Copy the data from another object.

Parameters

pdata – Object to copy the data from

void set_persistence_guid(const GUID_t &guid)

Set participant persistent GUID_t

Parameters

guid – valid GUID_t

GUID_t get_persistence_guid() const

Retrieve participant persistent GUID_t

Returns

guid persistent GUID_t or c_Guid_Unknown

void set_sample_identity(const SampleIdentity &sid)

Set participant client server sample identity

Parameters

sid – valid SampleIdentity

SampleIdentity get_sample_identity() const

Retrieve participant SampleIdentity

Returns

SampleIdentity

void set_backup_stamp(const GUID_t &guid)

Identifies the participant as client of the given server

Parameters

guid – valid backup server GUID

GUID_t get_backup_stamp() const

Retrieves BACKUP server stamp. On deserialization hints if lease duration must be enforced

Returns

GUID

Public Members

ProtocolVersion_t m_protocolVersion

Protocol version.

GUID_t m_guid

GUID.

VendorId_t m_VendorId

Vendor ID.

bool m_expectsInlineQos

Expects Inline QOS.

BuiltinEndpointSet_t m_availableBuiltinEndpoints

Available builtin endpoints.

RemoteLocatorList metatraffic_locators

Metatraffic locators.

RemoteLocatorList default_locators

Default locators.

Count_t m_manualLivelinessCount

Manual liveliness count.

string_255 m_participantName

Participant name.

BUILTIN_PARTICIPANT_DATA_MAX_SIZE
TYPELOOKUP_DATA_MAX_SIZE
DISC_BUILTIN_ENDPOINT_PARTICIPANT_ANNOUNCER
DISC_BUILTIN_ENDPOINT_PARTICIPANT_DETECTOR
DISC_BUILTIN_ENDPOINT_PUBLICATION_ANNOUNCER
DISC_BUILTIN_ENDPOINT_PUBLICATION_DETECTOR
DISC_BUILTIN_ENDPOINT_SUBSCRIPTION_ANNOUNCER
DISC_BUILTIN_ENDPOINT_SUBSCRIPTION_DETECTOR
DISC_BUILTIN_ENDPOINT_PARTICIPANT_PROXY_ANNOUNCER
DISC_BUILTIN_ENDPOINT_PARTICIPANT_PROXY_DETECTOR
DISC_BUILTIN_ENDPOINT_PARTICIPANT_STATE_ANNOUNCER
DISC_BUILTIN_ENDPOINT_PARTICIPANT_STATE_DETECTOR
BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_DATA_WRITER
BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_DATA_READER
BUILTIN_ENDPOINT_TYPELOOKUP_SERVICE_REQUEST_DATA_WRITER
BUILTIN_ENDPOINT_TYPELOOKUP_SERVICE_REQUEST_DATA_READER
BUILTIN_ENDPOINT_TYPELOOKUP_SERVICE_REPLY_DATA_WRITER
BUILTIN_ENDPOINT_TYPELOOKUP_SERVICE_REPLY_DATA_READER
DISC_BUILTIN_ENDPOINT_PUBLICATION_SECURE_ANNOUNCER
DISC_BUILTIN_ENDPOINT_PUBLICATION_SECURE_DETECTOR
DISC_BUILTIN_ENDPOINT_SUBSCRIPTION_SECURE_ANNOUNCER
DISC_BUILTIN_ENDPOINT_SUBSCRIPTION_SECURE_DETECTOR
BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_SECURE_DATA_WRITER
BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_SECURE_DATA_READER
DISC_BUILTIN_ENDPOINT_PARTICIPANT_SECURE_ANNOUNCER
DISC_BUILTIN_ENDPOINT_PARTICIPANT_SECURE_DETECTOR