October 2018
Intermediate to advanced
420 pages
10h 26m
English
Now, all the drivers and base blocks are available. These elements must be combined together, via a component that is the entry point of the application. Let's define the APIs of this component:
Drivers = namedtuple('Drivers', ['encoder', 'httpd', 'file', 'argv'])Source = namedtuple('Source', ['encoder', 'httpd', 'file', 'argv'])Sink = namedtuple('Sink', ['encoder', 'httpd', 'file'])
Four drivers are used in total:
Each of these drivers emits source items that are used by the application. So, the Source object also contains the same four fields. However, ...