C# 클래스 SensorHost.WebModule

상속: Nancy.NancyModule
파일 보기 프로젝트 열기: rossdargan/PRTG-Sensors

공개 메소드들

메소드 설명
WebModule ( Serializer serializer, ISensorFactory sensorFactory ) : System

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

비공개 메소드들

메소드 설명
QuerySensor ( ISensor sensor ) : Response

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

메소드 상세

WebModule() 공개 메소드

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