|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Sensor | |
|---|---|
| brooklyn.entity | |
| brooklyn.entity.basic | |
| brooklyn.event | |
| brooklyn.management | |
| Uses of Sensor in brooklyn.entity |
|---|
| Methods in brooklyn.entity that return Sensor | |
|---|---|
Sensor<?> |
EntityType.getSensor(String name)
The Sensor with the given name, or null if not found. |
| Methods in brooklyn.entity that return types with arguments of type Sensor | |
|---|---|
Set<Sensor<?>> |
EntityType.getSensors()
Sensors available on this entity. |
| Uses of Sensor in brooklyn.entity.basic |
|---|
| Methods in brooklyn.entity.basic with parameters of type Sensor | ||
|---|---|---|
|
EntityLocal.emit(Sensor<T> sensor,
T value)
Emits a SensorEvent event on behalf of this entity (as though produced by this entity). |
|
|
EntityLocal.subscribe(Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Allow us to subscribe to data from a Sensor on another entity. |
|
|
EntityLocal.subscribeToChildren(Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
EntityLocal.subscribeToMembers(Group group,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
| Uses of Sensor in brooklyn.event |
|---|
| Subinterfaces of Sensor in brooklyn.event | |
|---|---|
interface |
AttributeSensor<T>
The interface implemented by attribute sensors. |
| Methods in brooklyn.event that return Sensor | |
|---|---|
Sensor<T> |
SensorEvent.getSensor()
The Sensor describing the data. |
| Uses of Sensor in brooklyn.management |
|---|
| Methods in brooklyn.management with parameters of type Sensor | ||
|---|---|---|
Set<SubscriptionHandle> |
SubscriptionManager.getSubscriptionsForEntitySensor(Entity source,
Sensor<?> sensor)
Return the subscriptions on a given source-sensor pair |
|
|
SubscriptionManager.subscribe(Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionContext.subscribe(Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionManager.subscribe(Map<String,Object> flags,
Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Subscribe to Sensor data changes and events on a given Entity, supplying the SensorEventListener
to invoke when they occur. |
|
|
SubscriptionContext.subscribe(Map<String,Object> flags,
Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
As SubscriptionManager.subscribe(Map, Entity, Sensor, SensorEventListener) with default subscription parameters for this context |
|
|
SubscriptionManager.subscribeToChildren(Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionContext.subscribeToChildren(Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionManager.subscribeToChildren(Map<String,Object> flags,
Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Subscribe to Sensor data changes and events on all children of a given Entity, supplying the
SensorEventListener to invoke when they occur. |
|
|
SubscriptionContext.subscribeToChildren(Map<String,Object> flags,
Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionManager.subscribeToMembers(Group parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionContext.subscribeToMembers(Group parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionManager.subscribeToMembers(Map<String,Object> flags,
Group parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Subscribe to Sensor data changes and events on all members of a given Group, supplying the
SensorEventListener to invoke when they occur. |
|
|
SubscriptionContext.subscribeToMembers(Map<String,Object> flags,
Group parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||