
public class SubscriberWrapper extends ContextSubscriber
busResourceURI, owner, theBus| Constructor and Description |
|---|
SubscriberWrapper(ModuleContext connectingModule,
ContextEventPattern[] initialSubscriptions,
Subscriber r,
String t) |
| Modifier and Type | Method and Description |
|---|---|
void |
communicationChannelBroken()
Method to be called when the communication of the Subsccriber with the
Context Bus is lost.
|
Subscriber |
getResource() |
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 |
setResource(Subscriber resource) |
addNewRegParams, busDyingOut, getAllProvisions, getMyID, handleEvent, removeMatchingRegParamsclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic SubscriberWrapper(ModuleContext connectingModule, ContextEventPattern[] initialSubscriptions, Subscriber r, String t)
public Subscriber getResource()
public void setResource(Subscriber resource)
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.