此卡片不在当前主题的阅读序列中,可返回主题继续阅读。
知识卡片
接口同时包含提供与需要
接口是元素与环境交互的边界,既描述它提供哪些操作,也包含它依赖的外部资源与环境假设。相同接口可有不同实现和质量保证,多个调用者也可同时使用接口。因此签名兼容不等于所有时序容量假设兼容,缺失被要求的资源同样会使元素不能工作。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 软件接口 · 查看原书依据
So an interface is more than what is provided by an element; an interface also includes what is required by an element. 3. An element can interact with more than one actor through the same interface.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第15章《软件接口》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch15.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:So an interface is more than what is provided by an element; an interface also includes what is required by an element. 3. An element can interact with more than one actor through the same interface.