|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SubscriptionHandle | |
|---|---|
| brooklyn.entity.basic | |
| brooklyn.management | |
| Uses of SubscriptionHandle in brooklyn.entity.basic |
|---|
| Methods in brooklyn.entity.basic that return SubscriptionHandle | ||
|---|---|---|
|
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)
|
|
| Methods in brooklyn.entity.basic with parameters of type SubscriptionHandle | |
|---|---|
boolean |
EntityLocal.unsubscribe(Entity producer,
SubscriptionHandle handle)
Unsubscribes the given handle. |
| Uses of SubscriptionHandle in brooklyn.management |
|---|
| Methods in brooklyn.management that return SubscriptionHandle | ||
|---|---|---|
|
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)
|
|
| Methods in brooklyn.management that return types with arguments of type SubscriptionHandle | |
|---|---|
Set<SubscriptionHandle> |
SubscriptionContext.getSubscriptions()
Return the subscriptions associated with this context |
Set<SubscriptionHandle> |
SubscriptionManager.getSubscriptionsForEntitySensor(Entity source,
Sensor<?> sensor)
Return the subscriptions on a given source-sensor pair |
Set<SubscriptionHandle> |
SubscriptionManager.getSubscriptionsForSubscriber(Object subscriber)
Return the subscriptions requested by a given subscriber |
| Methods in brooklyn.management with parameters of type SubscriptionHandle | |
|---|---|
boolean |
SubscriptionManager.unsubscribe(SubscriptionHandle subscriptionId)
Unsubscribe the given subscription id. |
boolean |
SubscriptionContext.unsubscribe(SubscriptionHandle subscriptionId)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||