Skip to content

Commit

Permalink
docs: Adapt Architecture Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wba2hi authored and lukasmittag committed Oct 10, 2023
1 parent 47e378b commit 0fbb6ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/kuksa-sdk_class-diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ package kuksa {
DataBrokerConnection -down-> PropertyObserver
DataBrokerConnection -down-> Property
DataBrokerConnection -left-> DataBrokerException
DataBrokerConnection -up-> MultiListener
MultiListener -right-> DisconnectListener
TimeoutConfig -left-* DataBrokerConnector

class DataBrokerConnector {
Expand All @@ -38,6 +40,7 @@ package kuksa {
}

class DataBrokerConnection {
+ disconnectListeners: MultiListener<DisconnectListener>
+ subscribe(List<Property>, PropertyObserver)
+ fetchProperty(Property): GetResponse
+ updateProperty(Property, Datapoint): SetResponse
Expand All @@ -54,6 +57,15 @@ package kuksa {
}

class DataBrokerException

abstract class MultiListener<T> {
+ register(T)
+ unregister(T)
}

interface DisconnectListener {
+ onDisconnect()
}
}

DataBrokerConnector -up-> ManagedChannel
Expand Down

0 comments on commit 0fbb6ab

Please sign in to comment.