Java Mine
ContentsIndexHome
PreviousUpNext
MineServer.RegisterSensor Method

/ Adds the sensor to the servers list of valid objects /

Syntax
Java
public void RegisterSensor(int gatewayID, Sensor sensor) throws Exception;
Parameters 
Description 
Sensor sensor 
Sensor object 

/  

/  

/  

/

Exceptions 
Description 
ArgumentNullException 
Parameter "sensor" is null 
Exception 
There is already a sensor registered with the same sensorID, or sensorID property of sensor is not valid (Zero is not a valid sensorID)  
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!