C# Class SensorHost.WebModule

Inheritance: Nancy.NancyModule
Afficher le fichier Open project: rossdargan/PRTG-Sensors

Méthodes publiques

Méthode Description
WebModule ( Serializer serializer, ISensorFactory sensorFactory ) : System

Creates a webmodule listening to the get requests for all the sensors.

Private Methods

Méthode Description
QuerySensor ( ISensor sensor ) : Response

Queries the sensor to get the results, and then uses the serializer to convert it to a string.

Method Details

WebModule() public méthode

Creates a webmodule listening to the get requests for all the sensors.
public WebModule ( Serializer serializer, ISensorFactory sensorFactory ) : System
serializer Serializer
sensorFactory ISensorFactory
Résultat System