public interface SensorUpdate extends Sensor
Modifier and Type | Method and Description |
---|---|
void |
addReceiver(Sensor receiver)
Add a sensor to the list of sensors that receive sensor reads from this
sensor.
|
void |
removeReceiver(Sensor receiver)
Remove a sensor from the list of sensors that receive sensor reads from
this sensor.
|
void |
setName(java.lang.String name) |
void |
subscribe(java.lang.Object object)
Subscribe an object to the sensor.
|
void |
unsubscribe(java.lang.Object object)
Unsubscribe an object from the sensor.
|
void setName(java.lang.String name) throws ImmutableException, InUseException
name
- ImmutableException
InUseException
void subscribe(java.lang.Object object) throws DuplicateSubscriptionException
object
- DuplicateSubscriptionException
void unsubscribe(java.lang.Object object) throws NotSubscribedException
object
- NotSubscribedException
void addReceiver(Sensor receiver)
receiver
- void removeReceiver(Sensor receiver)
receiver
-