| Modifier and Type | Class and Description |
|---|---|
static class |
UaApplication.DiagnosticMask
Bits values used to mask the types of vendor-specific diagnostics.
|
static class |
UaApplication.Protocol
OPC UA transport protocol alternatives.
|
| Constructor and Description |
|---|
UaApplication() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatUri(UaApplication.Protocol protocol,
String host,
int port,
String serverName)
Deprecated.
Use
UaAddress#formatUri(Protocol, String, int, String) instead |
abstract UaAddressSpace |
getAddressSpace() |
AggregateCalculator |
getAggregateCalculator() |
abstract ApplicationIdentity |
getApplicationIdentity()
Returns the
ApplicationIdentity of this UaApplication. |
CertificateValidator |
getCertificateValidator() |
abstract EncoderContext |
getEncoderContext() |
DataTypeDictionary |
getKnownDataTypeDictionary() |
NamespaceTable |
getNamespaceTable() |
OperationLimits |
getOperationLimits() |
RegisteredClasses |
getRegisteredClasses()
Returns the
RegisteredClasses object of the application. |
static String |
getSdkVersion() |
abstract ServerTable |
getServerTable()
Returns the server's ServerTable (from node
VariableIdentifiers.Server_ServerArray). |
static String |
getVersion()
Deprecated.
use
getSdkVersion(), but note that it does not contain the "v" prefix |
boolean |
isAutoDiscoverCodegenModels()
Returns true if
CodegenModels should be discovered and registered automatically from
classpath. |
protected <T extends CodegenModelProvider> |
registerAutoDiscoveredModels(Class<T> clazz)
Searches classpath for CodegenModels and registers them.
|
protected void |
registerModelInternal(CodegenModel codegenModel)
Register an information model to use in the application.
|
void |
setAutoDiscoverCodegenModels(boolean autoDiscoverCodegenModels)
If this is true, then the classpath is searched for
CodegenModels and found models are
registered automatically. |
void |
setCertificateValidator(CertificateValidator certificateValidator)
Define a certificate validator that checks the server certificate after connect.
|
void |
setOperationLimits(OperationLimits operationLimits)
Define the operation limits for the application
|
protected StatusCode |
validateApplicationCertificate(ApplicationIdentity applicationIdentity) |
@Deprecated public static String formatUri(UaApplication.Protocol protocol, String host, int port, String serverName)
UaAddress#formatUri(Protocol, String, int, String) instead<protocol>://<host>:<port>/<serverName>, where the last slash ('/') is removed, if
serverName is empty.protocol - The OPC UA transport protocol.host - Host name or IP address of the computer to connect to.port - The TCP port number to connect to.serverName - An optional server name identifier.<protocol>://<host>:<port>/<serverName>public static String getSdkVersion()
@Deprecated public static String getVersion()
getSdkVersion(), but note that it does not contain the "v" prefixpublic abstract UaAddressSpace getAddressSpace()
public AggregateCalculator getAggregateCalculator()
public abstract ApplicationIdentity getApplicationIdentity()
ApplicationIdentity of this UaApplication.public CertificateValidator getCertificateValidator()
public abstract EncoderContext getEncoderContext()
public DataTypeDictionary getKnownDataTypeDictionary()
public NamespaceTable getNamespaceTable()
public OperationLimits getOperationLimits()
public RegisteredClasses getRegisteredClasses()
RegisteredClasses object of the application.public abstract ServerTable getServerTable()
VariableIdentifiers.Server_ServerArray).
The indexes of the table are used if References of a node in the server points to another
server via ExpandedNodeId.getServerIndex(). The index 0 always means the local server
and has the local server's ApplicationUripublic boolean isAutoDiscoverCodegenModels()
CodegenModels should be discovered and registered automatically from
classpath.setAutoDiscoverCodegenModels(boolean)public void setAutoDiscoverCodegenModels(boolean autoDiscoverCodegenModels)
CodegenModels and found models are
registered automatically. Default is true.public void setCertificateValidator(CertificateValidator certificateValidator)
certificateValidator - public void setOperationLimits(OperationLimits operationLimits)
operationLimits - protected <T extends CodegenModelProvider> void registerAutoDiscoveredModels(Class<T> clazz)
ServiceLoader. NOTE! this performs
the action, it is upto the caller to check if it is configured to do this operation.T - interface class extending CodegenModelProvider, either the client or server
variant.protected void registerModelInternal(CodegenModel codegenModel)
codegenModel - the InformationModel created by the codegen.protected StatusCode validateApplicationCertificate(ApplicationIdentity applicationIdentity)
applicationIdentity - the certificate to validateCopyright © 2026. All rights reserved.