 | ILinkStateEventListenerOnKASNodeBlockedState Method |
Note: This API is now obsolete.
Triggers when a peer locks itself due to its attach node is blocked by an incompatible part.
Namespace:
KASAPIv2
Assembly:
KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntax[ObsoleteAttribute("It's not fired anymore. React on the state change instead.")]
void OnKASNodeBlockedState(
ILinkPeer ownerPeer,
bool isBlocked
)
Request Example
View SourceParameters
- ownerPeer
- Type: KASAPIv2ILinkPeer
The peer which goes into the (un)blocked state. - isBlocked
- Type: SystemBoolean
Tells if the peer got blocked or unblocked.
Remarks
The event is sent to all the modules on the part except the module which triggred the event.
It allows coordinating the work of a group of link modules on the same part. The event
handlers must not synchronously affect the state of module which triggered the event.
See Also