SessionsController class

Implemented types

Constructors

SessionsController()

Properties

commandSet SessionsCommandSet?
getter/setter pair
dependencyResolver ↔ DependencyResolver
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
persistence ISessionsPersistence
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close(String? correlationId) Future
Closes session and frees used resources.
closeExpiredSessions(String? correlationId) Future
Close an expired sessions.
override
closeSession(String? correlationId, String sessionId) Future<SessionV1?>
Close a session by it's id.
override
configure(ConfigParams config) → void
Configures component by passing configuration parameters.
deleteSessionById(String? correlationId, String sessionId) Future<SessionV1?>
Deleted an session by it's unique id.
override
getCommandSet() → CommandSet
Gets a command set.
getSessionById(String? correlationId, String id) Future<SessionV1?>
Gets an session by its unique id.
override
getSessions(String? correlationId, FilterParams filter, PagingParams paging) Future<DataPage<SessionV1>>
Gets a page of sessions retrieved by a given filter.
override
isOpen() bool
Сhecks if the session is open
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String? correlationId) Future
Opens the session.
openSession(String? correlationId, String? user_id, String? user_name, String? address, String? client, dynamic user, dynamic data) Future<SessionV1?>
Creates a new session.
override
setReferences(IReferences references) → void
Set references to component.
storeSessionData(String? correlationId, String sessionId, dynamic data) Future<SessionV1?>
Updates a session's data.
override
toString() String
A string representation of this object.
inherited
updateSessionUser(String? correlationId, String sessionId, dynamic user) Future<SessionV1?>
Updates a session's user.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited