Skip to content

Commit

Permalink
Update Milo to version 0.5.0-M2
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinherron committed Sep 9, 2020
1 parent e92e36d commit a08314a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version "0.2-SNAPSHOT"
sourceCompatibility = 1.8

project.ext {
miloVersion = "0.5.0-M1"
miloVersion = "0.5.0-M2"
packageName = "milo-demo-server"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import java.util.concurrent.ConcurrentMap
*/
abstract class SampledAddressSpaceFragment(
server: OpcUaServer,
private val composite: AddressSpaceComposite
) : ManagedAddressSpaceFragmentWithLifecycle(server) {
composite: AddressSpaceComposite
) : ManagedAddressSpaceFragmentWithLifecycle(server, composite) {

private val supervisor = SupervisorJob()
private val coroutineScope = CoroutineScope(supervisor + Dispatchers.Default)
Expand All @@ -38,14 +38,6 @@ abstract class SampledAddressSpaceFragment(
return filter
}

override fun registerAddressSpace(addressSpace: AddressSpaceFragment) {
composite.register(addressSpace)
}

override fun unregisterAddressSpace(addressSpace: AddressSpaceFragment) {
composite.unregister(addressSpace)
}

override fun onDataItemsCreated(items: List<DataItem>) {
items.forEach { item ->
val nodeId: NodeId = item.readValueId.nodeId
Expand Down

0 comments on commit a08314a

Please sign in to comment.