[英]Sequence diagram for GWT RPC mechanism
I don't fully understand the GWT RPC mechanism adn therefore I am looking for a sequence diagram. 我不完全了解GWT RPC机制,因此我正在寻找序列图。 Does anyone have a link?
有人有链接吗?
THe plumbing diagram on the GWT homepage do not describe the mechanism in every little detail: http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls GWT主页上的管道图并未详细描述该机制: http : //www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls
A sequence diagram can be found here 序列图可以在这里找到
https://code.google.com/p/welikegwt-presentation/wiki/GwtRpc https://code.google.com/p/welikegwt-presentation/wiki/GwtRpc
There is no published sequence diagram that I know of. 我没有已知的已发布序列图。 But it wouldn't really be that much of help, because it would have to deal with many levels of abstractions at the same time:
但这实际上并没有那么多帮助,因为它必须同时处理许多抽象级别:
The points to understand are: 需要了解的要点是:
So there you have it. 所以你有它。 The whole asynchronicity stems from how the
XMLHttpRequest
object works. 整个异步性源于
XMLHttpRequest
对象的工作方式。
Note that the diagram on the official wiki is misleading - the Javascript calls the async interface, not the synchronous one (as the image would suggest). 请注意,官方Wiki上的图表具有误导性-Javascript调用了async接口,而不是同步接口(如图所示)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.