However, a finer degree of granularity is used. For example, the call return approach is primarily used with a procedural architecture. This approach is sequential and does not use multi-threading. However, events can be multi-threaded and are used with Object Oriented Programming. Streams are often used for sequential calls to routines.
Topology is the overall structure of the program.
This structure is comprised of components and connectors. Policy deals with the allocation of resources, the growth of the application and the method of handling and logging errors. By no means are these examples comprehensive and complete. Secondly is the Controller and the third major partition is the Model partition which contains the classes and functions of the application. The same is true of the State diagrams.