org.security.session.manager.impl
Class SituationMonitorImpl
java.lang.Object
org.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Subscriber
org.universAAL.middleware.context.ContextSubscriber
org.security.session.manager.impl.SituationMonitorImpl
- All Implemented Interfaces:
- SituationMonitor
public class SituationMonitorImpl
- extends ContextSubscriber
- implements SituationMonitor
- Author:
- amedrano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SituationMonitorImpl
public SituationMonitorImpl(ModuleContext mc)
locationOf
public Location locationOf(Device d)
-
- Specified by:
locationOf
in interface SituationMonitor
getInternalStateOf
public Location getInternalStateOf(Location l)
-
- Specified by:
getInternalStateOf
in interface SituationMonitor
getInternalStateOf
public Device getInternalStateOf(Device d)
-
- Specified by:
getInternalStateOf
in interface SituationMonitor
getAllAvailableLocations
public List<Location> getAllAvailableLocations()
-
- Specified by:
getAllAvailableLocations
in interface SituationMonitor
devicesInLocation
public List<Device> devicesInLocation(Location loc)
-
- Specified by:
devicesInLocation
in interface SituationMonitor
addListener
public void addListener(LocationChangeListener lcl)
-
- Specified by:
addListener
in interface SituationMonitor
removeListener
public void removeListener(LocationChangeListener lcl)
-
- Specified by:
removeListener
in interface SituationMonitor
close
public void close()
-
- Specified by:
close
in interface SituationMonitor
- Overrides:
close
in class BusMember
communicationChannelBroken
public void communicationChannelBroken()
-
- Specified by:
communicationChannelBroken
in class ContextSubscriber
handleContextEvent
public void handleContextEvent(ContextEvent event)
-
- Specified by:
handleContextEvent
in class ContextSubscriber
- Parameters:
event
- The Context Event that matched the registered Patterns
Copyright © 2014 universAAL Consortium. All Rights Reserved.