| Package | Description |
|---|---|
| com.prosysopc.ua.server |
Main server side classes of the SDK.
|
| com.prosysopc.ua.types.opcua.server |
| Modifier and Type | Field and Description |
|---|---|
static Session |
Session.INTERNAL_SESSION |
| Modifier and Type | Field and Description |
|---|---|
protected Map<NodeId,Session> |
SessionManager.newSessions |
| Modifier and Type | Method and Description |
|---|---|
protected Session |
SessionManager.activateSession(ServerSecureChannel serverSecureChannel,
NodeId authenticationToken,
UserIdentityToken userToken,
SignatureData clientSignature,
SignedSoftwareCertificate[] signedSoftwareCertificates,
SignatureData userTokenSignature,
String[] localeIds) |
protected Session |
SessionManager.createSession(ServerSecureChannel serverSecureChannel,
byte[] clientCertificate,
ApplicationDescription clientDescription,
UnsignedInteger maxResponseMessageSize,
Double requestedSessionTimeout,
String sessionName,
SecurityMode securityMode) |
Session |
Subscription.getSession() |
Session |
ServiceContext.getSession() |
Session |
SessionManager.getSession(NodeId authenticationToken)
Get a client session.
|
protected Session |
SessionManager.provideSession(String sessionName,
ApplicationIdentity clientIdentity,
SecurityMode securityMode)
Creates a Session instance for given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Session> |
SessionManager.getSessions()
Get the current
Session(s) in the server (including the ones that are not yet
ActivateSession-ed). |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SessionManager.activateSessionError(Session session,
UserIdentityToken userToken,
Exception e) |
protected void |
DiagnosticsManager.addSession(Session session)
Adds a session to diagnostics.
|
protected void |
DiagnosticsManager.addSessionNoIncrement(Session session)
Adds a session to diagnostics without incrementing cumulative session count.
|
protected void |
DiagnosticsManager.addSubscription(Session session,
Subscription subscription)
Adds a subscription to diagnostics.
|
void |
SessionManager.closeSession(Session session)
Emulates a
CloseSessionRequest, i.e. |
void |
SessionManager.closeSession(Session session,
boolean deleteSubscriptions)
Emulates a
CloseSessionRequest, i.e. |
protected NotificationMessage |
Subscription.getNextNotificationMessage(Session session) |
protected BlockingQueue<SubscriptionBase> |
SubscriptionManager.getPublishQueue(Session session) |
default boolean |
SessionManagerListener.onActivateSession(Session session,
ServerUserIdentity userIdentity)
Notification of session activation.
|
default void |
SessionManagerListener.onActivateSessionError(Session session,
UserIdentityToken userToken,
Exception error)
Notification of an activation error.
|
default void |
SessionManagerListener.onAfterActivateSession(Session session)
Notification of a successful session activation.
|
default void |
SessionManagerListener.onCancelSession(Session session)
Notification of session cancel.
|
default void |
SessionManagerListener.onCloseSession(Session session,
boolean deleteSubscriptions)
Notification of session close.
|
default void |
SessionManagerListener.onCreateSession(Session session)
Notification of session creation.
|
default void |
SessionListener.onSessionActivated(Session session)
Called after the session is activated.
|
default void |
SessionListener.onSessionChanged(Session session)
Called after some change(other than activation/closing) has happened.
|
default void |
SessionListener.onSessionClosed(Session session)
Called after the session is closed.
|
boolean |
UserValidator.onValidate(Session session,
ServerUserIdentity userIdentity)
Validate the user specified by token.
|
void |
UserValidator.onValidationError(Session session,
UserIdentityToken userToken,
Exception exception)
Notification of a validation error.
|
protected void |
DiagnosticsManager.removeSession(Session session)
Remove session from diagnostics.
|
protected void |
DiagnosticsManager.removeSubscription(Session session,
Subscription subscription)
Remove a subscription from diagnostics.
|
protected void |
Subscription.setSession(Session session) |
protected void |
MonitoredDataItem.updateAccessible(Session session) |
protected void |
DiagnosticsManager.updateSession(Session session) |
protected void |
UaServer.validateUserError(Session session,
UserIdentityToken userToken,
Exception e) |
protected boolean |
UaServer.validateUserIdentity(Session session,
ServerUserIdentity userIdentity) |
| Constructor and Description |
|---|
ServiceContext(Session session,
RequestHeader requestHeader) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileTypeNode.close(Session session,
Long fileHandle)
Close the file handle
|
void |
FileTypeNode.closeHandles(Session session)
Closes all file handles opened by a Session.
|
long |
FileTypeNode.getCurrentPosition(Session session,
Long fileHandle)
Get the current position of the fileHandle
|
protected RandomAccessFile |
FileTypeNode.getRandomAccessFile(Session session,
Long fileHandle) |
Long |
FileTypeNode.open(Session session,
Set<FileTypeOpenMode> mode)
Opens the file for reading or writing.
|
byte[] |
FileTypeNode.read(Session session,
Long fileHandle,
int length)
Read data from the physical file.
|
void |
FileTypeNode.setCurrentPosition(Session session,
Long fileHandle,
long position)
Set the current position of the fileHandle.
|
void |
FileTypeNode.write(Session session,
Long fileHandle,
byte[] data) |
Copyright © 2026. All rights reserved.