public class GalileoArduinoSensorHandler
extends BaseThingHandler
GalileoArduinoSensorHandler
is responsible for handling commands,
which are sent to one of the channels.Constructor and Description |
---|
GalileoArduinoSensorHandler(Thing thing)
Constructor called by QIVICON
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
The dispose method is called when the Handler is stopped.
|
void |
handleCommand(ChannelUID channelUID,
Command command)
This method is called if a command is sent from the UI e.g.
|
void |
initialize()
This method is called when the handler starts.
|
public GalileoArduinoSensorHandler(Thing thing)
thing
- The Thing the Handler is handling.public void initialize()
public void handleCommand(ChannelUID channelUID, Command command)
channelUID
- The Id of the channel the command originates fromcommand
- the command (e.g changed Value/Toggle)public void dispose()