Function dds_lset_sample_rejected

Function Documentation

void dds_lset_sample_rejected(dds_listener_t *listener, dds_on_sample_rejected_fn callback)

Set the sample_rejected callback in the listener structure.

Equivalent to calling dds_lset_sample_rejected_arg with arg set to the argument passed in dds_create_listener and reset_on_invoke to true, and throwing away the result.