AbstractUnsubscribePdu
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
long Abstract_UnsubscribePDU(consumedPDURef * pdu)
Function
Unsubscribes for a service PDU if abstract binding is used. Note that this is morelow-level; usually its more convenient to callconsumedPduRef::AbstractReleasePduon the PDU.
Parameters
pdu PDU which shall be unsubscribed.
Return Values
0: Success
1: Endpoint is not simulated
2: Communication object does not use abstract binding
< 0: Other error, e.g. PDU variable is not initialized
Abstract_UnsubscribePDU(MirrorAdjustment.consumerSide[0,0].PositionPDU);
Related APIs
Abstract_SubscribePdu | SOMEIP_UnsubscribeEventGroup