Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 2, image, image - Coggle Diagram
Chapter 2
-
Software Connector
-
Classified According
-
Connector type
Based on Synchronization
Blocking
A blocking connector allows one of its incident elements to send a request to another and wait for a response.
-
Non-blocking
A non-blocking connector allows one of its incident elements to send a request to another and continues its execution without waiting for a response.
initiator
One Initiator
It only allows one of the two connected elements initiates the request, but not another way around
E.g., web-browser and web server
Two Initiator
-
E.g., call-back between two subsystems, the two subsystems must be connected by a two-initiator connector
Information Carrier
-
Message (Most Reliable)
A message format must be defined so both the message sender and the message receiver can understand the messages
a protocol must be adopted to decide the proper handshaking and synchronization between the two parties
An example message system, consisting of a message sender module and a message receiver module connected by a network, is used to implement a one-initiator connector for sub-system 1 to send messages/requests to sub-system 2
-
-
-
Local vs Networked
-
Typical Examples
-
-
Local method invoacation, function call (local)
-
-
-
Software Elements
-
Software architects job
-
Rules
Rule 1: Reentrent
describes a computer program or routine that is written so that the same copy in memory can be shared by multiple users
A computer program or subroutine is called reentrant if it can be interrupted in the middle of its execution and then safely called again ("re-entered") before its previous invocations complete executing
A programmer writes a reentrant program by making sure that no instruction modify the contents of variable values in other instructions within the program
Commonly required in operating systems and in applications intended to be shared in multi-use systems
-
-
Software Structures
Software architecture in multiple:
+PerspectivesStatic
+StructureRun-time
+StructureManagement structure (or Deployment structure)
-
-
-
-
-