public class ServiceOperationContext<T,R> extends AsyncOperationContext<List<R>> implements AccessContext
| Constructor and Description |
|---|
ServiceOperationContext(OpcUaServer server,
@Nullable Session session) |
ServiceOperationContext(OpcUaServer server,
@Nullable Session session,
DiagnosticsContext<T> diagnosticsContext) |
| Modifier and Type | Method and Description |
|---|---|
DiagnosticsContext<T> |
getDiagnosticsContext() |
Optional<Session> |
getSession()
Get the
Session associated with this operation, if present. |
public ServiceOperationContext(OpcUaServer server, @Nullable @Nullable Session session)
public ServiceOperationContext(OpcUaServer server, @Nullable @Nullable Session session, DiagnosticsContext<T> diagnosticsContext)
public Optional<Session> getSession()
Session associated with this operation, if present.
If empty, the operation is internal and no user- or session-related restrictions should be applied.
getSession in interface AccessContextSession associated with this operation, if present.public DiagnosticsContext<T> getDiagnosticsContext()
Copyright © 2021. All rights reserved.