written 5.8 years ago by | • modified 5.8 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 4 Marks
written 5.8 years ago by | • modified 5.8 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 4 Marks
written 5.8 years ago by | • modified 5.8 years ago |
Interfaces: A component can be connected with other components through interfaces. An interface is a collection of operations that are used to specify services of components. A component can provide an interface or can use services of a component. A full circle represents an interface created or provided by the component. A semi-circle represents a required interface.
Ports: A port specifies an interaction point through which a component can communicate with its environment, other components or with its internal parts. Ports are represented using a square along the edge of a component. A port is often used to help expose required and provided interfaces of a component.