whether one more Session fits (OPC 10000-4 5.6.2): when the server is full, the oldest Session not activated yet is closed to make room, and a Session is refused only if none is
{Boolean} : true if session's subscription shall be deleted
Optionalreason: ClosingReason
the reason for closing the session ( shall be "Timeout", "Terminated" or "CloseSession")
OptionalauditEntryId: string
the RequestHeader.auditEntryId of the CloseSession request that caused this close, when there is one. See ServerSession#close.
If a Client invokes the CloseSession Service then all Subscriptions associated with the Session are also deleted if the deleteSubscriptions flag is set to TRUE. If a Server terminates a Session for any other reason, Subscriptions associated with the Session, are not deleted. Each Subscription has its own lifetime to protect against data loss in the case of a Session termination. In these cases, the Subscription can be reassigned to another Client before its lifetime expires.
create a new server session object.
Optionaloptions: CreateSessionOptionRead the current value of
ServerConfiguration.InApplicationSetup.
Returns false if the property does not exist in
the address space.
OptionalactiveOnly: booleanincrement rejected session count (also increment rejected requests count)
increment rejected session count (also increment rejected requests count)
once the items of a CreateMonitoredItems (or a SetMonitoringMode, a ModifyMonitoredItems) are made: what they must wait for before the client hears of them. Nothing here, where items sample this engine's nodes directly (a session worker waits for its engine to watch them).
before the items of a CreateMonitoredItems are created: what must be fetched to find their nodes synchronously. Nothing here, where every node is (a session worker fetches them).
what a Read needs before its values are read: the asynchronous Variables refreshed (a front thread's engine fetches there what it cannot read in place, see RemoteEngine)
read, without a promise: see AddressSpaceAccessor#readSync
OptionaldataValues: DataValue[]
an array containing value read The array length matches the number of nodeIds that are candidate for an async refresh (i.e: nodes that are of type Variable with asyncRefresh func }
Optionalcontext: ISessionContext
the session context of the read: given to the refresh function of each Variable
a namespace of the application served by the compact address space: registered on the node objects as well, so that the NamespaceArray and the indexes are one; nodes are then added through the compact space's own API (addVariable, addObject, bindings)
Set the ServerConfiguration.InApplicationSetup property
in the address space.
This flag indicates whether the server is currently in its initial application setup phase (e.g. waiting for GDS provisioning).
{ServerSession} - the new session that will own the subscription
{IntegerId} - the subscription Id to transfer
{Boolean} - true if initial values will be resent.
Optionalcontext: ISessionContext
What the services of an OPC UA server (OPCUAServerCore) ask of their engine: ServerEngine in the thread of the server, or an engine that forwards to one elsewhere.