@Service public class AccessSensorService extends AbstractAccessSensorService
getDataFromSensor
. Because of some technical
reasons, we cannot provide a complete implementation for now.AbstractAccessSensorService
borderRouterRepository, context, sensorDataRepository, sensorRepository
Constructor | Description |
---|---|
AccessSensorService() |
Modifier and Type | Method | Description |
---|---|---|
SensorDataEntity |
getDataFromSensor(java.lang.String sensorIp) |
For the input sensorEntity, get current data from the sensor, map the data
to a
SensorDataEntity object. |
getAllCurrentSensorData, getDataFromSensorForBorderRouter, saveAllCurrentDataFromSensor, saveDataFromSensor
public SensorDataEntity getDataFromSensor(java.lang.String sensorIp)
SensorDataEntity
object.getDataFromSensor
in class AbstractAccessSensorService
sensorIp
- The IPv6 address of the sensor you want to fetch from.SensorDataEntity
object contains the data.