ITcAdsServiceCallbacks

The ITcAdsServiceCallbacks interface provides access to the callback methods of the duplex endpoints.

Methods and Properties

ITcAdsServiceCallbacks Methods

Description

AdsNotification

Passes through AdsNotificationEventHandler callback of the associated TcAdsClient.
To subscribe to the AdsNotificationEventHandler the ITcAdsServiceDuplex.SubscribeAdsNotificationEvent method has to be called.

AdsNotificationError

Passes through AdsNotificationErrorEventHandler callback of the associated TcAdsClient.
To subscribe to the AdsNotificationErrorEventHandler the ITcAdsServiceDuplex.SubscribeAdsNotificationErrorEvent method has to be called.

AdsStateChanged

Passes through AdsStateChangedEventHandler callback of the associated TcAdsClient.
To subscribe to the AdsStateChangedEventHandler the ITcAdsServiceDuplex.SubscribeAdsStateChangedEvent method has to be called.

AdsSymbolVersionChanged

Passes through AdsSymbolVersionChangedEventHandler callback of the associated TcAdsClient.
To subscribe to the AdsSymbolVersionChangedEventHandler the ITcAdsServiceDuplex.SubscribeAdsSymbolVersionChangedEvent method has to be called.

AmsRouterNotification

Passes through AmsRouterNotificationEventHandler callback of the associated TcAdsClient.
To subscribe to the AmsRouterNotificationEventHandler the ITcAdsServiceDuplex.SubscribeAmsRouterNotificationEvent method has to be called.

HeartBeat

Used by the TwinCAT ADS WCF Service to test if the client application is still reachable. If the HeartBeat callback fails, the client will be set to a Faulted State.