Prosys OPC UA Java SDK 1.4.2
This is a new minor release. The version includes Interoperability (IOP) Workshop fixes and also improves support for OPC UA Specification version 1.02. This release includes an updated version of the stack that fixes the Android support (which was broken in the previous release) and also includes the latest definitions for the base OPC UA type model.
The IOP results for the Prosys products are now available from http://www.opcfoundation.org/Products/Products.aspx?STX=prosys%23
OPC Foundation Java Stack changes
- Build 330.0
- Changed: Variant.toString() to not include the composite class in the string (see below)
- Fixed: Android support
- Fixed: ExpandedNodeId.equals() - use isLocal() internally to verify serverIndex==null||0
- Fixed: PrivKey to load PEMs also without password (as generated by the OPC Foundation Global Discovery Server beta, for example)
- New: DeadbandType.valueOf(UnsignedInteger)
- New: Variant.toString(bool includeCompositeClass)
- New: Variant.toStringWithType()
Changes to both SDK Client and Server
- Fixed: SubscriptionBase.equals() and hashCode() implementation moved to server.Subscription - the client subscription does not have a unique, immutable SubscriptionId
- Fixed: PkiFileBasedCertificateValidator was not using the RevocationDir (it can now also handle possible crl-files in there, in addition to just plain certificate files)
- New: PKIFIleBasedCertificateValidator.get/setCrl()
- New: PKIFIleBasedCertificateValidator.is/setStoreAcceptOnceCertificates
Changes to SDK Client
- Changed: UaVariableImpl.getDataType to retrieve the node automatically if not assigned
- New: GlobalServerList for retrieving application info from the OPC Foundation Global Discovery Server (which is still in beta); shares now a common base with ServerLIst via ServerListBase
- Fixed: UaClient silently ignored dataChanges that came "too fast" after addSubscription. Changed addSubscription to add the subscription in the subscriptions list before calling createSubscription in the server
- Fixed (mem leak): NodeCache did not remove old nodes from the cache reliably
Changes to SDK Server
- New: PKIFIleBasedCertificateValidator.is/setStoreAcceptOnceCertificates
- Update: Opc.Ua.Nodeset2.xml updated
- Fixed: Use PKIFIleBasedCertificateValidator.revocationDir (to simply read certificates in the dir - no support for .crl files, yet)
- Fixed: MonitoredItem.timestampsToReturn may be set to null by a client, which was unexpected
- Fixed: Subscription sent the first DataChangeNotification too fast: it should wait for the first PublishingInterval
- Fixed: DataChangeFilter.Status did not return changes in infoBits (such as SemanticChange)
- Fixed: Deadband.Percent did not make EuRange set for MonitoredDataItem connected to an AnalogItemType
- Fixed: ServerNode.removeComponent() failed because of the ExpandedNodeId issue in stack
- Fixed: Changing PublishingInterval in onAddSubcription() event handler caused NPE
Changes to the Sample applications
- SampleConsoleServer&SampleConsoleClient: Main class broken to parts so that the various anonymous member implementations are now in their own class definitions. classes also moved to new packages: ...samples.client/server
- SampleConsoleServer: Implementation for History continuationPoints
- SampleConsoleServer: Sample implementation of EventHistory & readEvents
- SampleConsoleServer: Implementation of deleteRaw
- SampleConsoleServer: Improved implementation of readRaw
- SampleConsoleClient: Sample of initializing custom event fields (with namespaceIndex defined at run time)
- Tutorials updated accordingly
26.11.12