Prosys OPC UA Java SDK 1.2.2
This is a new bug fix release, which also improves the performance of both the Client SDK and Server SDK with bigger amounts of data.
The Server SDK Tutorial includes a new chapter describing the custom NodeManager approach for providing data from a background system without using UaNode objects (see Chapter 11. MyBigNodeManager).
Changes to UA Java Stack
- Build 311.2
- Fixed: User/Password authentication without security (do not encrypt the password)
- Fixed: AsyncResult.Listener must be reset when the result is ready
- Fixed: SecureChannelTcp details to improve occasional errors under heavy load
- New: NamespaceTable.nodeIdEquals to compare ExpandedNodeIds of different styles (namespaceIndex vs namespaceUri)
Changes to SDK Client
- Changed: UaClient.disconnect() to use timeout of 60 s
- New: UaClient.disconnect(timeout)
- Changed: MonitoredEventItem to use UnsignedInteger.MAXVALUE and MonitoredDataItem to use 1 for default QueueSize, instead of 0. Fixes Interoperability with .NET SDK up to build 329.
- Fixed: MonitoredItemNotifications were never released (due to the stack issue with AsyncListener)
- Fixed: Add items to Subscription before calling createMonitoredItems (in case the first PublishResponse arrives before the call finishes)
- Fixed: UaClient to read BuildInfo elements from servers that do not support the status structure
- Fixed: Correctly define timeout with updateServerStatus to not interfere with other calls
- Improved handling of monitoredItems: do not echo a modifyItems call when the server returns, for example a revised SamplingInterval
- Fixed: UaClient.getSubscriptionById & hasSubscription when called with null
- Fixed: UaClient.getSubscriptionId made thread safe
Changes to SDK Server
- New: Overridable NodeManager.getBrowseName() & getDisplayName() & getTypeDefinition()
- New: SampleConsoleServer includes MyBigNodeManager, which provides a sample implementation of a node manager that does not use UaNode objects
- Fixed: Last sample was resent, if the subscription went to keepAlive mode.
- Fixed: translateBrowsePaths to NodeIds with target in a non-UaNode NodeManager
- Fixed: MonitoredEventItem robustness for handling the internal field data
- Fixed: Subscription publishQueue logic refined.
- Fixed: Last sample was resent, if the subscription went to keepAlive mode.
+ a number of smaller fixes
05.07.11