0
4.9kviews
What is C2 style architecture?

Mumbai University > Computer engineering > Sem 7 > Software Architecture.

Marks: 6 M

Year: May 13

1 Answer
0
159views

Heterogeneous styles are the complex styles created through composition of simpler styles. C2 architectural style is a heterogeneous type of style. It is an indirect invocation style in which independent components communicate exclusively through message routing connectors. Strict rules on connections between components and connectors induce layering. Thus C2 is a composition of implicit invocation and layered styles along with some additional constraints.

Components: Independent, potentially concurrent message generators and/or consumers

Connectors: Message routers that may filter, translate, and broadcast messages of two kinds: notifications and requests.

Data Elements: Messages – data sent as first-class entities over the connectors. Notification messages announce changes of state. Request messages request performance of an action.

Topology: Layers of components and connectors, with a defined top and bottom, wherein notifications flow downwards and requests upwards.

enter image description here

The C2 architecture for Lunar Lander application shown above operates largely like the event-based style with respect to the use of events. However, both the spacecraft and the clock components are guaranteed to be completely unaware of the presence of the game logic and GUI components.

Qualities yielded on using C2 style are:

  • Substrate independence: Ease in moving the applications to other new platforms and Support for product lines
  • Ability to program in model-view-controller style but with very strong separation between the model and user interface elements
  • Support for concurrent components
  • Support for network distributed applications

Typical uses: Reactive, heterogeneous applications. Applications demanding low-cost adaptability Cautions: Event routing across multiple layers can be inefficient. Overhead is high for some simple kinds of component interaction.

Please log in to add an answer.