001package jmri.server.json.sensor;
002
003import jmri.Sensor;
004import jmri.server.json.JsonConnection;
005import jmri.server.json.JsonNamedBeanSocketService;
006
007/**
008 * JSON Socket service for {@link jmri.Sensor}s.
009 *
010 * @author Randall Wood
011 */
012public class JsonSensorSocketService extends JsonNamedBeanSocketService<Sensor, JsonSensorHttpService> {
013
014    public JsonSensorSocketService(JsonConnection connection) {
015        super(connection, new JsonSensorHttpService(connection.getObjectMapper()));
016    }
017}