SessionsDirectClientV1 class
Properties
-
controller
↔ dynamic
-
The controller reference.
getter/setter pairinherited
-
counters
↔ CompositeCounters
-
The performance counters
getter/setter pairinherited
-
dependencyResolver
↔ DependencyResolver
-
The dependency resolver to get controller reference.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
logger
↔ CompositeLogger
-
The logger.
getter/setter pairinherited
-
opened
↔ bool
-
The open flag.
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tracer
↔ CompositeTracer
-
The tracer.
getter/setter pairinherited
Methods
-
close(String? correlationId)
→ Future
-
Closes component and frees used resources.
inherited
-
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.
inherited
-
deleteSessionById(String? correlationId, String sessionId)
→ Future<SessionV1>
-
Deleted a session by it's unique id.
override
-
getSessionById(String? correlationId, String sessionId)
→ Future<SessionV1>
-
Gets a 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
-
instrument(String? correlationId, String name)
→ InstrumentTiming
-
Adds instrumentation to log calls and measure call time.
It returns a Timing object that is used to end the time measurement.
inherited
-
instrumentError(String? correlationId, String name, dynamic err, [bool? reerror = false])
→ void
-
Adds instrumentation to error handling.
inherited
-
isOpen()
→ bool
-
Checks if the component is opened.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
open(String? correlationId)
→ Future
-
Opens the component.
inherited
-
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
-
Sets references to dependent components.
inherited
-
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