public abstract class CloudConnector extends Observable implements ThermostatListener
HeadlessThermostat
.Constructor and Description |
---|
CloudConnector() |
Modifier and Type | Method and Description |
---|---|
abstract 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 String getName()
null
.null
.public abstract boolean isConnected()
true
if the connector is connected.public boolean isError()
true
if the connector is in error.public abstract void start()
public abstract void stop()