
public class SituationMonitorImpl extends ContextSubscriber implements SituationMonitor
busResourceURI, owner, theBus| Constructor and Description |
|---|
SituationMonitorImpl(ModuleContext mc) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(LocationChangeListener lcl) |
void |
close() |
void |
communicationChannelBroken() |
List<Device> |
devicesInLocation(Location loc) |
List<Location> |
getAllAvailableLocations() |
Device |
getInternalStateOf(Device d) |
Location |
getInternalStateOf(Location l) |
void |
handleContextEvent(ContextEvent event) |
Location |
locationOf(Device d) |
void |
removeListener(LocationChangeListener lcl) |
addNewRegParams, busDyingOut, getAllProvisions, getMyID, handleEvent, removeMatchingRegParamsgetComment, getLabel, getType, getURI, setComment, setLabelpublic SituationMonitorImpl(ModuleContext mc)
public Location locationOf(Device d)
locationOf in interface SituationMonitorpublic Location getInternalStateOf(Location l)
getInternalStateOf in interface SituationMonitorpublic Device getInternalStateOf(Device d)
getInternalStateOf in interface SituationMonitorpublic List<Location> getAllAvailableLocations()
getAllAvailableLocations in interface SituationMonitorpublic List<Device> devicesInLocation(Location loc)
devicesInLocation in interface SituationMonitorpublic void addListener(LocationChangeListener lcl)
addListener in interface SituationMonitorpublic void removeListener(LocationChangeListener lcl)
removeListener in interface SituationMonitorpublic void close()
close in interface SituationMonitorclose in class BusMemberpublic void communicationChannelBroken()
communicationChannelBroken in class ContextSubscriberpublic void handleContextEvent(ContextEvent event)
handleContextEvent in class ContextSubscriberevent - The Context Event that matched the registered PatternsCopyright © 2018 universAAL Consortium. All rights reserved.