AbstractCreateAddress
Syntax
addressHandle Abstract_CreateAddress(CommunicationObject co, char[] name)
Function
Creates a pseudo address for a communication object endpoint if abstract binding is used. The address can be attached to an endpoint withSD_SetAddress. For abstract binding, the address of an endpoint actually does not contain more information than a name which can be retrieved again throughAbstract_GetDisplayName. The address is necessary for implementation of service discovery; e.g. in the handlerson SD_consumer_discoveredandon SD_provider_discovered, the address is passed as a selector.
Parameters
co Communication object (usually a service) for which the address shall be created.
name
Name for the address (e.g. the name of the endpoint).
Return Values
—
SD_SetAddress(newProvider, Abstract_CreateAddress(MirrorAdjustment, "RearMirror"), MirrorAdjustment[CANoe]);
Abstract_ReleaseAddress | SD_SetAddress | Abstract_GetDisplayName