Impact Vision SDK  11.8.1
VisionSDK.VisionDeviceConnectionRestorer Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

VisionSDK.VisionDeviceConnectionRestorer.VisionDeviceConnectionRestorer ( VisionDeviceConnection  deviceConnection)

Constructor

Parameters
deviceConnectionThe Vision Device Connection

Member Function Documentation

void VisionSDK.VisionDeviceConnectionRestorer.StartTryingToReconnect ( )

This method will start the reconnection tries

void VisionSDK.VisionDeviceConnectionRestorer.StopTryingToReconnect ( )

This method will stop the reconnection tries

Property Documentation

VisionDeviceConnection VisionSDK.VisionDeviceConnectionRestorer.DeviceConnection
getset

The Device Connection on which to perform the reconnection tries

Double VisionSDK.VisionDeviceConnectionRestorer.Interval
getset

The Reconnect time interval ( in seconds )

System.Timers.Timer VisionSDK.VisionDeviceConnectionRestorer.Timer
getsetprotected

The timer used internally to schedule the reconnection tries

HTML Footer Datalogic Automation, Inc.    ©2016 Datalogic Automation Inc. All Rights Reserved