bool ParticipantImpl::newRemoteEndpointDiscovered(
        const GUID_t& partguid,
        uint16_t endpointId,
        EndpointKind_t kind)
{
    if (kind == WRITER)
    {
        return this->mp_rtpsParticipant->newRemoteWriterDiscovered(partguid, endpointId);
    }
    else
    {
        return this->mp_rtpsParticipant->newRemoteReaderDiscovered(partguid, endpointId);
    }
}
bool ParticipantImpl::newRemoteEndpointDiscovered(
        const GUID_t& partguid,
        uint16_t endpointId,
        EndpointKind_t kind)
{
    if (kind == WRITER)
    {
        return this->mp_rtpsParticipant->newRemoteWriterDiscovered(partguid, endpointId);
    }
    else
    {
        return this->mp_rtpsParticipant->newRemoteReaderDiscovered(partguid, endpointId);
    }
}