Prosys OPC UA Java SDK 1.4.6
This is a new service release of the SDK. It fixes several implementation details and provides some additional methods to improve existing functionality.
OPC Foundation Java Stack changes
Build 1.01.330.12
- Fixed: Timeout used for async service calls
- Fixed: UserNameIdentityToken.encryptionAlgorithm was not filled with the algorithm URI
- Changed: SecureChannelTcp non-severe Warning messages changed to Info level
- Fixed: Possible (rare) NPE in AsyncSelector.interestOps
Changes to both SDK Client and Server
- Improved: DataTypeConverter to handle user-derived datatypes
- Removed: Obsolete enum type UaNode.NodeType
Changes to SDK Client
- Fixed: Subscription.removeItems() could fail, if subscription not connected
- Fixed: UaClient.addSubscription() can be used to move a subscription from another UaClient object (session)
- Changed: Non-severe Warning/Error messages changed to Info level
- Changed: Internal listener lists of MonitoredItems created on-demand
Changes to SDK Server
- New: References to method nodes from ShelvedStateMachineType
- New: UaServer.failOnBindError
- New (interface change!): UaServerListener.onRegisterServerError()
- New: UaServer.create*ServiceHandler() methods enabling overriding the default ones with your own versions
- Improved: Handle user-derived datatypes in ServiceManagerBase.variantDataTypeEquals()
- Fixed: SessionManager was not using the algorithm URI defined in UserNameIdentityToken.encryptionAlgorithm, but the one defined by the selected SecurityPolicy (in practice these are normally the same, though)
- Fixed: NPE in Subscription.close
- Fixed: initialize Session.lastServiceRequestTime when the session is created
- Fixed: SubscriptionManager.setMonitoringMode with EventItems
- Fixed: Added missing UnshelveTime node of ShelvedStateMachineType
- Fixed: PublishRequestQueue threads were not closing
- Fixed: Check Subcription timeouts after handleNotificationData instead of before it (in queuePublishRequests)
- Fixed: SessionManagerListener list was not thread safe
- Fixed: When adding references to ServerNode do not require them to refer to ServerNodes - to allow implementations of custom UaNodes
- Fixed: DataType check of IoManager.writeAttribute() did not validate the types properly
- Fixed: TwoStateDiscreteType, DataType changed to Boolean (was UInteger)
- Fixed: TwoStateDiscreteType.getTrue/FalseState() NPE
- Updated NodeSet2 files
Changes to the Sample applications
- SampleConsoleClient: Improved example for translateBrowsePathToNodeId
- SampleConsoleClient files were missing from the Client SDK distribution
Plus some additional improvements to details as usual
12.09.13