| Package | Description |
|---|---|
| com.prosysopc.ua.server |
Main server side classes of the SDK.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
UaServer.logRegisterServerError(String discoveryServerUrl,
boolean isOnline,
UaServerException e) |
default boolean |
UaServerListener.onRegisterServerError(String discoveryServerUrl,
boolean isOnline,
UaServerException error)
Notification of a registration error to the (Local) Discovery Server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UaServer.addEndpoint(String uri,
SecurityMode securityMode,
UserTokenPolicy... userTokenPolicies)
Add an endpoint definition for a specific URI, SecurityMode & UserTokenPolicies combination
You should call addEndpoint after
UaServer.init() has been called. |
String[] |
UaServer.addEndpointHost(String hostName)
Add a specific hostName to the list of server URIs, in addition to what the default properties
define.
|
void |
UaServer.addLocale(Locale locale) |
void |
UaServer.addUserTokenPolicy(UserTokenPolicy policy) |
String[] |
UaServer.getServerUris()
The endpoint URIs to which the server listens to.
|
void |
UaServer.init()
Initializes the server.
|
protected void |
UaServer.initServerArray() |
protected void |
UaServer.initServiceHandlers() |
void |
UaServer.registerServer(String discoveryUrl,
boolean isOnline)
Register the server on a discovery server with RegisterServer2 and then with RegisterServer if
RegisterServer2 fails.
|
void |
UaServer.removeLocale(Locale locale) |
void |
UaServer.removeUserTokenPolicy(UserTokenPolicy policy) |
protected void |
UaServer.setHttpsPort(int httpsPort)
Defines the IP port number to use for the HTTPS connection.
|
void |
UaServer.setHttpsSecurityPolicies(HttpsSecurityPolicy... httpsSecurityPolicies)
Define the security policies used for the HTTPS protocol.
|
void |
UaServer.setPort(int port)
The port in which the server is listening to the OPC Binary protocol.
|
void |
UaServer.setPort(UaApplication.Protocol protocol,
int port)
Define the TCP/IP port number for a specific protocol.
|
void |
UaServer.setSecurityModes(SecurityMode[] securityModes)
Deprecated.
use
UaServer.getSecurityModes() and add to the set directly. This method replaces
all existing ones. |
void |
UaServer.setServerName(String serverName)
Define the default server name.
|
void |
UaServer.setServerName(UaApplication.Protocol protocol,
String serverName)
Define the server name for a specific protocol.
|
void |
UaServer.setUseLocalhost(boolean useLocalhost)
Deprecated.
|
void |
UaServer.setUserTokenPolicies(UserTokenPolicy... userTokenPolicies)
Define the supported UserTokenPolicies.
|
void |
UaServer.start()
Starts the server using the current configuration.
|
Copyright © 2026. All rights reserved.