
public class SensorEventSubscriber extends ContextSubscriber
busResourceURI, owner, theBus| Modifier and Type | Method and Description |
|---|---|
void |
addListener(SensorActivityTimeChangedListener l) |
void |
communicationChannelBroken()
Method to be called when the communication of the Subsccriber with the
Context Bus is lost.
|
static SensorEventSubscriber |
getInstance(ModuleContext ctxt,
org.osgi.framework.BundleContext context) |
void |
handleContextEvent(ContextEvent event)
Method to be called when an Event forwarded in the Context Bus matches
one of the Patterns registered by this Subscriber.
|
void |
removeListener(SensorActivityTimeChangedListener l) |
addNewRegParams, busDyingOut, getAllProvisions, getMyID, handleEvent, removeMatchingRegParamsclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic static SensorEventSubscriber getInstance(ModuleContext ctxt, org.osgi.framework.BundleContext context)
public void communicationChannelBroken()
ContextSubscribercommunicationChannelBroken in class ContextSubscriberpublic void handleContextEvent(ContextEvent event)
ContextSubscriberhandleContextEvent in class ContextSubscriberevent - The Context Event that matched the registered Patternspublic void addListener(SensorActivityTimeChangedListener l)
public void removeListener(SensorActivityTimeChangedListener l)
Copyright © 2018 universAAL Consortium. All rights reserved.