Research work · 2017
Visitor Pattern
Wessel Badenhorst
Apress eBooks
Abstract
Since Python can be found in many places, you might one day want to do a little bit of home automation. Get a couple of single-board and micro computers and connect them to some hardware sensors and actuators, and soon you have a network of devices, all controlled by you. Each of these items in the network has its own functionality, and each needs different interactions. You could encapsulate the functionality of each device as an object in a virtual network that matches the physical wired network, then treat the whole system like you would any other network of objects. This chapter will focus on that side of the implementation, assuming all the elements have already been wired up and are modeled as objects in the system. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.