OpcClientKeepAlive Class

Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll

Provides keep-alive options used by a client to monitor an established connection and recover from unexpected disconnection.

C#

public class OpcClientKeepAlive


Inheritance Object › OpcClientKeepAlive

Name Description
DefaultInterval Represents the default interval value that is used by the OpcClientKeepAlive as initial value of the Interval property.
Name Description
Updated Occurs when a keep alive cycle completed and therefore the ServerState, Time, Exception and Status properties were updated accordingly.
Name Description
Exception Gets the exception information associated with the Status represented by the current OpcClientKeepAlive.
Interval Gets or sets the interval to control the period within the client shall “ping” the server to test (= keep alive) whether the connection is still established and working.
IsActive Gets a value indicating whether the keep alive mechanism is active and works on a healthy and established connection.
Message Gets a value which describes the most recent outcome of the keep alive mechanism.
ServerState Gets a value indicating the most recent known state of the server.
Status Gets the status information associated with the most recent outcome of the keep alive operation.
Time Gets the time at which the server did respond on the most recent sent keep alive message.
Name Description
OnUpdated(EventArgs) Raises the Updated event of the OpcClientKeepAlive.
ToString Returns a string representing the most recent Time and Message offered by the most recent keep alive operation.
ToString(IFormatProvider) Returns a string representing the most recent Time and Message offered by the most recent keep alive operation formatted using the provider specified.