CmdMessenger 4.0.0 CmdMessenger is a serial port messaging library for the .Net / Mono Platform.

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Properties
CommandMessenger.AsyncWorker Class Reference

List of all members.

## Public Types
enum | State { Stopped, Running, Suspended }
## Public Member Functions
delegate bool | AsyncWorkerJob ()
| Main worker method to do some work.
| AsyncWorker (AsyncWorkerJob workerJob)
void | Start ()
void | Stop ()
void | Suspend ()
void | Resume ()
void | Signal ()
| Signal worker to continue processing.
## Properties
string | Name`[get, set]`
State | WorkerState`[get]`
bool | IsRunning`[get]`
bool | IsSuspended`[get]`

## Member Function Documentation

delegate bool CommandMessenger.AsyncWorker.AsyncWorkerJob | ( |  | ) |

Main worker method to do some work.

Returns:
  true is there is more work to do, otherwise false and worker will wait until signalled with SignalWorker().

void CommandMessenger.AsyncWorker.Signal | ( |  | ) |

Signal worker to continue processing.

The documentation for this class was generated from the following file:

- D:/My Documents/Github/Arduino/Own Arduino libraries/CmdMessenger/Arduino-CmdMessenger/extras/CSharp/CommandMessenger/AsyncWorker.cs