Interface Template
-
Upload
ngoc-son-bui -
Category
Documents
-
view
216 -
download
0
Transcript of Interface Template
-
8/3/2019 Interface Template
1/2
Interface Template
Architecture Action Guides from Bredemeyer Consultinghttp://www.bredemeyer.com
I/F Element Description
Interface name A unique identifier for the interface
The name and data content for each operations exceptions
The name and type of each property
The name of each operation, together with the input and output parameters andexceptions
Exceptions
Properties
Operations
Description of each operation using informal description or pre/post condition template example showing typical calling usage (optional)
Operationdescriptions
Interface
signature
Constraints on the order in which operations may be called (Statechart)Protocol (optional)
Notes and
IssuesList of components using I/FList of issues to be resolved
Non-functional requirements to be met by the services provided by the
interface (operations)
Service Level(optional)
-
8/3/2019 Interface Template
2/2
Interface Template
Interfacesw
Interfaces are the means by which components interactAn interface is a list of operations providing a coherentservice.
Guidelines for creating InterfaceSpecificationsThe interface signature (exceptions, properties, andoperation signatures)provides the syntax of the interface.To add semantics, the following fields need to becompleted:
Operation semantics: Description of each operationusing informal text, or pre/postcondition template example showing typical calling usage (optional)
Interface Protocol (Optional): Constraints on the order inwhich operations may be called (Statechart). If there are
no constraints on operation sequence, dont include thissection.
Service Level: The service level covers guaranteesregarding the qualities or non-functional requirements(such as timing constraints, CPU budget restrictions,memory restrictions, availability, mean time betweenfailures, mean time to repair, throughput, latency, data
safety for persistent state, capacity, and so on) to be metby the interface and its constituent operations.
1 9 9 9 , 2 0 0 0 B r e d e m e y e r C o n s u l t i n g S y s t e m S t r u c t u r i n g A c t i o n G u i d e # 7 : I n t e r f a c e T e m p l a t e
Notes: This section collects together notes about the
interface that you dont want to lose track of, such as: what components use this interface (this may beimportant enough to make into a section in its own right)
ideas for the component design and/or implementation
Issues: List issue and issue owner/due date. (Projectmanagement guideline: Dont get bogged down in issues.Record issue, assign an owner and issue resolution orreview due date, and move on.)
Uses of Interface SpecificationsTo the architecture team:w makes the architecture precise and actionable
To component developers:w provides the contract that states what the provider has
to implement to meet the services promised by theinterface.
To component users:w provides the contract that states what the client needs
to do to use the interface.