Modifier and Type | Method and Description |
---|---|
void |
UserTimeoutListener.onTimeout(UserInfo aUserInfo)
The method onTimeout is called when a timeout is recognized for the user.
|
Modifier and Type | Method and Description |
---|---|
List<DomainEvent> |
ConnectionStrategyServerConnector.listen(UserInfo aUserInfo)
Listens for occurring events (can be retrieved from the
UserInfo with
de.novanic.eventservice.service.registry.user.UserInfo#retrieveEvents() ) and should prepare or transfer the retrieved events
directly. |
protected boolean |
ConnectionStrategyServerConnectorAdapter.waitMaxWaitingTime(UserInfo aUserInfo)
Waits for the configured max. waiting time and returns whether the max. waiting time
was exceed or was interrupted by an occurred event (notification).
|
Modifier and Type | Method and Description |
---|---|
List<DomainEvent> |
LongPollingServerConnector.listen(UserInfo aUserInfo)
Listens for occurring events with the long-polling strategy.
|
Modifier and Type | Method and Description |
---|---|
List<DomainEvent> |
StreamingServerConnector.listen(UserInfo aUserInfo)
Listens for occurring events (can be retrieved from the
UserInfo with
retrieveEvents(int) ) and should prepare or transfer the retrieved events
directly. |
Modifier and Type | Method and Description |
---|---|
UserInfo |
UserManager.addUser(String aUserId)
Creates and adds the
UserInfo for the user id. |
UserInfo |
DefaultUserManager.addUser(String aUserId)
Creates and adds the
UserInfo for the user id. |
UserInfo |
UserManager.getUser(String aUserId)
Returns the
UserInfo for the user id. |
UserInfo |
DefaultUserManager.getUser(String aUserId)
Returns the
UserInfo for the user id. |
UserInfo |
UserManager.removeUser(String aUserId)
Removes the
UserInfo for the user id. |
UserInfo |
DefaultUserManager.removeUser(String aUserId)
Removes the
UserInfo for the user id. |
Modifier and Type | Method and Description |
---|---|
Collection<UserInfo> |
UserManager.getUsers()
Returns all added
UserInfo objects. |
Collection<UserInfo> |
DefaultUserManager.getUsers()
Returns all added
UserInfo objects. |
Set<UserInfo> |
DomainUserMapping.getUsers(Domain aDomain)
Returns all users of a domain.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainUserMapping.addUser(Domain aDomain,
UserInfo aUserInfo)
Adds a new user to a domain and creates a new domain entry when the domain is new to the DomainUserMapping.
|
void |
UserManager.addUser(UserInfo aUserInfo)
Adds the
UserInfo to the UserManager. |
void |
DefaultUserManager.addUser(UserInfo aUserInfo)
Adds the
UserInfo to the UserManager. |
int |
UserInfo.compareTo(UserInfo aUserInfo) |
Set<Domain> |
DomainUserMapping.getDomains(UserInfo aUserInfo)
Returns all domains to a user.
|
boolean |
DomainUserMapping.isUserContained(Domain aDomain,
UserInfo aUserInfo)
Checks if a user is added to the domain.
|
boolean |
UserManager.isUserContained(UserInfo aUserInfo)
Checks if a user is added to a domain.
|
boolean |
DomainUserMapping.isUserContained(UserInfo aUserInfo)
Checks if a user is added to a domain.
|
boolean |
DefaultUserManager.isUserContained(UserInfo aUserInfo)
Checks if a user is added to a domain.
|
boolean |
DomainUserMapping.removeUser(Domain aDomain,
UserInfo aUserInfo)
Removes a user from a specified domain and removes the domain when no other users are added to the domain.
|
boolean |
UserManager.removeUser(UserInfo aUserInfo)
Removes the
UserInfo . |
void |
DomainUserMapping.removeUser(UserInfo aUserInfo)
Removes a user from all domains and removes the domains when no other users are added to the domain.
|
boolean |
DefaultUserManager.removeUser(UserInfo aUserInfo)
Removes the
UserInfo . |
void |
UserActivityScheduler.reportUserActivity(UserInfo aUserInfo)
That method must be called to report a user activity and protects the user from a timeout for the time of the
timeout interval (
EventServiceConfiguration.getTimeoutTime() ). |
Constructor and Description |
---|
UserActivityScheduler(Collection<UserInfo> aUserInfoCollection,
long aTimeoutInterval)
Creates a new UserActivityScheduler with a reference to a Collection of
UserInfo . |
Copyright © 2012. All Rights Reserved.