Methods and Events - Stateful Interface
The SCI library provides the following methods, functions and events:
-
Initialize, static method of the SimpleCallInterface class, which is used to initialize connection settings before the first value call is issued. Hostname (or IP address) and port has to be provided. The parameters will be used to connect to the Core. Also, this method may be called to change the configuration of an existing connection.
-
Dispose, static method of the SimpleCallInterface class, which closes an existing connection.
-
ReadValueAsync, method of the SimpleCallInterface class, which is used to read multiple values in an asynchronous manner.
-
CancelAsyncRead, static method of the SimpleCallInterface class, which is used to cancel processing of the ReadValueAsync method.
-
Subscribe, method of the SimpleCallInterface class, which is used to create a subscription for data change notifications.
-
Unsubscribe, method of the SimpleCallInterface class, which is used to cancel a subscription to data change notifications.
-
OnDataChanged, static event of the SimpleCallInterface class, which is used to receive data change notifications.
-
OnError, static event of the Log class, which is used to receive error notifications.
-
OnDebug, static event of the Log class, which is used to receive debug notifications.