public abstract class CloudConnector extends java.util.Observable implements ThermostatListener
HeadlessThermostat
.Constructor and Description |
---|
CloudConnector() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getName()
Gets the listener name, can be
null . |
abstract boolean |
isConnected()
Checks whether the listener is connected.
|
boolean |
isError()
Checks whether the connector is in error state.
|
abstract void |
start()
Starts the connector behaviour.
|
abstract void |
stop()
Stops the connector behaviour.
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onTargetChange, onTemperatureChange
public abstract java.lang.String getName()
null
.null
.public abstract boolean isConnected()
true
if the connector is connected.public abstract void start()
public abstract void stop()
public boolean isError()
true
if the connector is in error.