C# Class NetMQ.Devices.ThreadedDeviceRunner

This subclass of DeviceRunner is the threaded version. Depending upon the threading model, either this or a DeviceRunner is used with a IDevice. The distinction is simply that it invokes the IDevice.Run method in a new Task.
Inheritance: NetMQ.Devices.DeviceRunner
Afficher le fichier Open project: rLoopTeam/eng-software-ground-station

Méthodes publiques

Méthode Description
Start ( ) : void

Start the device by calling it's Run method within a new Task.

ThreadedDeviceRunner ( IDevice device ) : System.Threading.Tasks

Create a new ThreadedDeviceRunner object that contains the given IDevice.

Method Details

Start() public méthode

Start the device by calling it's Run method within a new Task.
public Start ( ) : void
Résultat void

ThreadedDeviceRunner() public méthode

Create a new ThreadedDeviceRunner object that contains the given IDevice.
public ThreadedDeviceRunner ( IDevice device ) : System.Threading.Tasks
device IDevice the IDevice that this ThreadedDeviceRunner will contain
Résultat System.Threading.Tasks