SetSubscriptionStateIsolated
Syntax
void SetSubscriptionStateIsolated(providedEventRef * event, dword subscribed)
void SetSubscriptionStateIsolated(consumedEventRef * event, dword subscribed)
void SetSubscriptionStateIsolated(providedFieldRef * field, dword subscribed)
void SetSubscriptionStateIsolated(consumedFieldRef * field, dword subscribed)
void SetSubscriptionStateIsolated(providedPDURef * pdu, dword subscribed)
void SetSubscriptionStateIsolated(consumedPDURef * pdu, dword subscribed)
Function
Sets the subscription state for an object, for a specific consumer – provider combination, independent of network communication. Normally, the subscription state will be set by theCANoesimulation depending on the observed communication. You can override the behavior if you for example want to test reaction to specific faulty behavior.
Parameters
event Event and endpoints for which the state shall be set.
field
Field and endpoints for which the state shall be set.
pdu
PDU and endpoints for which the state shall be set.
subscribed
1 to set the state to subscribed, 0 to set it to unsubscribed.
Return Values
—
SetSubscriptionStateIsolated(field1, 0);