Skip to content

Reference

OpcClientKeepAlive Class

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

Reference

OpcClientKeepAlive Class ​

since v2.8

Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcClientKeepAlive Members
Also in
Opc.UaFx.Client

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

Syntax ​

csharp
public class OpcClientKeepAlive
vbnet
Public Class OpcClientKeepAlive

Inheritance ​

Object → OpcClientKeepAlive

Fields ​

NameDescription
DefaultIntervalstaticRepresents the default interval value that is used by the OpcClientKeepAlive as initial value of the Interval property.

Properties ​

NameDescription
ExceptionGets the exception information associated with the Status represented by the current OpcClientKeepAlive.
IntervalGets 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.
IsActiveGets a value indicating whether the keep alive mechanism is active and works on a healthy and established connection.
MessageGets a value which describes the most recent outcome of the keep alive mechanism.
ServerStateGets a value indicating the most recent known state of the server.
StatusGets the status information associated with the most recent outcome of the keep alive operation.
TimeGets the time at which the server did respond on the most recent sent keep alive message.

Methods ​

NameDescription
OnUpdatedprotected · virtualRaises the Updated event of the OpcClientKeepAlive.
ToString2 overloadsReturns a string representing the most recent Time and Message offered by the most recent keep alive operation.

Events ​

NameDescription
UpdatedOccurs when a keep alive cycle completed and therefore the ServerState, Time, Exception and Status properties were updated accordingly.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.8–v2.59