public class WrapperC extends ContextSubscriber
busResourceURI, owner, theBus| Modifier | Constructor and Description |
|---|---|
protected |
WrapperC(ModuleContext context,
ContextEventPattern[] initialSubscriptions,
ICListener l)
Constructor that takes the listener to associate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
communicationChannelBroken()
Method to be called when the communication of the Subsccriber with the
Context Bus is lost.
|
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.
|
addNewRegParams, busDyingOut, getAllProvisions, getMyID, handleEvent, removeMatchingRegParamsclose, getComment, getLabel, getType, getURI, setComment, setLabelprotected WrapperC(ModuleContext context, ContextEventPattern[] initialSubscriptions, ICListener l)
context - The universAAL Module Context.initialSubscriptions - Event Patterns to subscriber to.l - The associated ICListener.public void communicationChannelBroken()
ContextSubscribercommunicationChannelBroken in class ContextSubscriberpublic void handleContextEvent(ContextEvent event)
ContextSubscriberhandleContextEvent in class ContextSubscriberevent - The Context Event that matched the registered PatternsCopyright © 2018 universAAL Consortium. All rights reserved.