public class ContextEventRecorder extends ContextSubscriber
Modifier and Type | Field and Description |
---|---|
static String |
configHome |
busResourceURI, owner, theBus
Modifier and Type | Method and Description |
---|---|
void |
communicationChannelBroken()
Method to be called when the communication of the Subsccriber with the
Context Bus is lost.
|
ArrayList<String> |
getAllTypeAndInstanceURIs() |
ArrayList<String> |
getAllURIs() |
ArrayList<ContextEvent> |
getRecordedEvents() |
ArrayList<String> |
getRecordedPredicates() |
ArrayList<String> |
getRecordedTypeURIs() |
ArrayList<String> |
getRecordedURIs() |
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 |
loadData() |
boolean |
saveData() |
addNewRegParams, busDyingOut, getAllProvisions, getMyID, handleEvent, removeMatchingRegParams
close, getComment, getLabel, getType, getURI, setComment, setLabel
public static final String configHome
public void communicationChannelBroken()
ContextSubscriber
communicationChannelBroken
in class ContextSubscriber
public void handleContextEvent(ContextEvent event)
ContextSubscriber
handleContextEvent
in class ContextSubscriber
event
- The Context Event that matched the registered Patternspublic ArrayList<ContextEvent> getRecordedEvents()
public boolean saveData()
public void loadData()
Copyright © 2015 universAAL Consortium. All Rights Reserved.