Ejemplo n.º 1
0
void ctt_stop (Domain_t *dp)
{
	CTT_ASSERT (dp);

	/* Delete builtin endpoints. */
	delete_builtin_endpoint (dp, EPB_PARTICIPANT_VOL_SEC_W);
	delete_builtin_endpoint (dp, EPB_PARTICIPANT_VOL_SEC_R);

	CTT_ASSERT (dp);
}
Ejemplo n.º 2
0
void msg_stop (Domain_t *dp)
{
	delete_builtin_endpoint (dp, EPB_PARTICIPANT_MSG_R);
	delete_builtin_endpoint (dp, EPB_PARTICIPANT_MSG_W);
#if defined (DDS_SECURITY) && defined (DDS_NATIVE_SECURITY)
	if (NATIVE_SECURITY (dp)) {
		delete_builtin_endpoint (dp, EPB_PARTICIPANT_MSG_SEC_R);
		delete_builtin_endpoint (dp, EPB_PARTICIPANT_MSG_SEC_W);
	}
#endif
	DDS_DomainParticipant_unregister_type ((DDS_DomainParticipant) dp,
						     dds_participant_msg_ts,
						     "ParticipantMessageData");
}