C# Класс 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.
Наследование: NetMQ.Devices.DeviceRunner
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Start() публичный Метод

Start the device by calling it's Run method within a new Task.
public Start ( ) : void
Результат void

ThreadedDeviceRunner() публичный Метод

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
Результат System.Threading.Tasks