public class SessionManagerImpl extends Object implements SessionManager
Constructor and Description |
---|
SessionManagerImpl(ModuleContext mc,
SituationMonitor sc,
SessionPublisher publisher)
constructor
|
Modifier and Type | Method and Description |
---|---|
Session |
getCopyOfUserSession(User usr) |
void |
userAuthenticatedTo(User usr,
Device dvc) |
void |
userDeauthenticatedFrom(User usr,
Device dvc) |
void |
userLocationChange(User usr,
Location loc) |
Set<User> |
validUsersForDevice(Device dvc) |
Set<User> |
validUsersForLocation(Location loc) |
public SessionManagerImpl(ModuleContext mc, SituationMonitor sc, SessionPublisher publisher)
public void userAuthenticatedTo(User usr, Device dvc)
userAuthenticatedTo
in interface SessionManager
public void userDeauthenticatedFrom(User usr, Device dvc)
userDeauthenticatedFrom
in interface SessionManager
public void userLocationChange(User usr, Location loc)
userLocationChange
in interface SessionManager
public Set<User> validUsersForDevice(Device dvc)
validUsersForDevice
in interface SessionManager
public Set<User> validUsersForLocation(Location loc)
validUsersForLocation
in interface SessionManager
public Session getCopyOfUserSession(User usr)
getCopyOfUserSession
in interface SessionManager
Copyright © 2018 universAAL Consortium. All rights reserved.