From OpenHome

Revision as of 17:01, 13 February 2015 by Eamonnb (Talk | contribs)
Jump to: navigation, search

ohTopology


Contents

Overview

ohTopologyC is a software stack which provides a means of controlling devices, on a local network, via their UPnP service actions. It consists of a number of distinct layers. Each layer focuses on exposing specific properties and actions that are intended to be utilised by the layers above. Clients of ohTopologyC need only interface directly with the highest layer of the stack to gain access to the properties and actions exposed by the lower layers.

Topology Layer 1 Classes

Topology1

Collects a list of devices (with Product Service) from Network and adds itself as a watcher of this list. When a device is added to the list a ProxyProduct (proxy to device's Product service) is created and added to the Topology1 Products list. This list is exposed, for consumption by Topology2, as an IWatchableUnordered.


ProxyProduct


Encapsulates: Exposes: actions and properties of a device's Product Service



Topology Layer 2 Classes

Topology2