public class OperationContext<T,U> extends Object implements AccessContext
| Constructor and Description |
|---|
OperationContext(OpcUaServer server,
Session session,
CompletableFuture<List<U>> future,
DiagnosticsContext<T> diagnosticsContext) |
OperationContext(OpcUaServer server,
Session session,
DiagnosticsContext<T> diagnostics) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(List<U> value) |
DiagnosticsContext<T> |
getDiagnostics() |
OpcUaServer |
getServer() |
Optional<Session> |
getSession()
Get the
Session associated with this access request, if present. |
public OperationContext(OpcUaServer server, @Nullable Session session, DiagnosticsContext<T> diagnostics)
public OperationContext(OpcUaServer server, @Nullable Session session, CompletableFuture<List<U>> future, DiagnosticsContext<T> diagnosticsContext)
public DiagnosticsContext<T> getDiagnostics()
public OpcUaServer getServer()
public Optional<Session> getSession()
AccessContextSession associated with this access request, if present.
If empty, the access request is internal and no user- or session-related restrictions should be applied.
getSession in interface AccessContextSession associated with this access request, if present.Copyright © 2018. All rights reserved.