Skip to main content

Module wlp

Module wlp 

Source
Expand description

The Writer Liveliness Protocol (DDSI-RTPS 2.5, 8.4.13 and 9.6.3.1).

A participant asserts the liveliness of its AUTOMATIC and MANUAL_BY_PARTICIPANT writers by writing a ParticipantMessage with its built-in participant message writer; the other participants read it with their built-in participant message reader. Both endpoints are RELIABLE, TRANSIENT_LOCAL and KEEP_LAST 1 (8.4.13.3): the history keeps the last message of each kind.

Wlp holds the two endpoints, without doing any I/O, like crate::sedp::Sedp. The caller says when to assert (Wlp::assert_liveliness) and learns from Wlp::handle_message which participants asserted what. MANUAL_BY_TOPIC liveliness does not use it: it goes with the writer’s own DATA and HEARTBEAT (8.7.2.2.3).

Modules§

kind
ParticipantMessageData::kind values (9.6.3.1).

Structs§

LivelinessAsserted
A remote participant asserted liveliness.
ParticipantMessage
ParticipantMessageData (9.6.3.1).
Wlp
The built-in participant message writer and reader of one participant.

Constants§

BEST_EFFORT_PARTICIPANT_MESSAGE_DATA_READER
The BEST_EFFORT_PARTICIPANT_MESSAGE_DATA_READER bit of builtinEndpointQos (9.3.2.12, 8.4.13.3).