O'Reilly logo

Getting Started with the Internet of Things by Cuno Pfister

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Resources

Delegate GetHandler

The delegate type GetHandler determines the parameter (none) and the result (object) that a method must have so that it can be used for getting samples from a sensor:

public delegate object GetHandler();

Delegate PutHandler

The delegate type PutHandler determines the parameter (object) and result (void) that a method must have so that it can be used for setting setpoints for an actuator:

public delegate void PutHandler(object o);

Class MeasuredVariable

An instance of class MeasuredVariable represents a physical variable (temperature, door state, car speed, etc.) that can be measured by a sensor:

public class MeasuredVariable { public GetHandler FromSensor { get; set; } public Serializer ToHttpResponse { get; set; } public ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required