This class is used to make possible the autoreconnect feature in the VisionDeviceConnection.
This class will keep trying to reconnect to the Vision Device after a period of time until a successful connection is established.
More...
Public Member Functions | |
| VisionDeviceConnectionRestorer (VisionDeviceConnection deviceConnection) | |
| Constructor More... | |
| void | StartTryingToReconnect () |
| This method will start the reconnection tries More... | |
| void | StopTryingToReconnect () |
| This method will stop the reconnection tries More... | |
Properties | |
| Double | Interval [get, set] |
| The Reconnect time interval ( in seconds ) More... | |
| VisionDeviceConnection | DeviceConnection [get, set] |
| The Device Connection on which to perform the reconnection tries More... | |
| System.Timers.Timer | Timer [get, set] |
| The timer used internally to schedule the reconnection tries More... | |
This class is used to make possible the autoreconnect feature in the VisionDeviceConnection.
This class will keep trying to reconnect to the Vision Device after a period of time until a successful connection is established.
| VisionSDK.VisionDeviceConnectionRestorer.VisionDeviceConnectionRestorer | ( | VisionDeviceConnection | deviceConnection | ) |
Constructor
| deviceConnection | The Vision Device Connection |
| void VisionSDK.VisionDeviceConnectionRestorer.StartTryingToReconnect | ( | ) |
This method will start the reconnection tries
| void VisionSDK.VisionDeviceConnectionRestorer.StopTryingToReconnect | ( | ) |
This method will stop the reconnection tries
|
getset |
The Device Connection on which to perform the reconnection tries
|
getset |
The Reconnect time interval ( in seconds )
|
getsetprotected |
The timer used internally to schedule the reconnection tries