本文介绍了序列图中消息类型之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么区别?
自我留言递归消息重入消息
Self messageRecursive messageRe-entrant message
谢谢
推荐答案
Self Message 是一种消息类型,表示同一对象生命线中的执行或操作调用.
A Self Message is a type of message which represents the execution or operation call in the same object lifeline.
递归消息是一种递归执行的自我消息.
A recursive message is a type of self message that is executed recursively.
可重入消息是您拥有对象 A 和对象 B 的地方.
A re-entrant message is where you have an object A and and oject B.
- A 呼叫 C 给 B
- B 需要 A 的一些数据来完成调用 C
- B 发送消息给 A 获取完成调用 C 所需的数据
B 对 A 的调用称为重入消息.
The call that B makes to A is called a re-entrant message.
希望这是有道理的!!!
Hope that makes sense!!!
这篇关于序列图中消息类型之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!