SessionsController class

Implemented types

Constructors

SessionsController()

Properties

commandSet SessionsCommandSet
read / write
dependencyResolver ↔ DependencyResolver
read / write
persistence ISessionsPersistence
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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 [...]
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
updateSessionUser(String correlationId, String sessionId, dynamic user) → Future<SessionV1>
Updates a session's user. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited