IConnectionStateObserver Interface
Interface for a Connection state watcher (observer)
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
5.0.294+Branch.releases-5.0.Sha.90bb9a1b43b6095934fddca3e72bc0ea15da1c14
Syntax
C#
public interface IConnectionStateObserver : IConnectionStateProvider
The IConnectionStateObserver type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.) | |
|
Gets the number of errors since the last successful access | |
|
Gets the DateTimeOffset of the last tried access | |
|
Gets the DateTimeOffset of the last successful data communication | |
|
Gets the quality of the current cached value (the age of the data) | |
|
Gets the number of successful reads / writes | |
|
Gets the error count of accesses |
Events
|
Name |
Description |
---|---|---|
|
Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from IConnectionStateProvider.) |